16 #ifndef SURGSIM_DATASTRUCTURES_DATAGROUP_H 17 #define SURGSIM_DATASTRUCTURES_DATAGROUP_H 28 namespace DataStructures
74 typedef Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>
DynamicMatrixType;
229 #endif // SURGSIM_DATASTRUCTURES_DATAGROUP_H Definition: DriveElementFromInputBehavior.cpp:27
NamedData< DynamicMatrixType > & matrices()
Return the matrix data structure.
Definition: DataGroup.cpp:87
A NamedData collection of variant data type.
Definition: NamedVariantData.h:39
void resetAll()
Mark all data as not current.
Definition: DataGroup.cpp:148
NamedData< ScalarType > & scalars()
Return the scalar data structure.
Definition: DataGroup.cpp:98
SurgSim::Math::RigidTransform3d PoseType
The type used for poses.
Definition: DataGroup.h:70
double ScalarType
The type used for scalars.
Definition: DataGroup.h:76
SurgSim::Math::Vector3d VectorType
The type used for vectors.
Definition: DataGroup.h:72
NamedData< BooleanType > & booleans()
Return the boolean data structure.
Definition: DataGroup.cpp:118
NamedData< IntegerType > & integers()
Return the integer data structure.
Definition: DataGroup.cpp:108
DataGroup & operator=(const DataGroup &dataGroup)
Copy the data from another object.
Definition: DataGroup.cpp:39
NamedData< PoseType > m_poses
The pose values.
Definition: DataGroup.h:202
NamedData< VectorType > & vectors()
Return the vector data structure.
Definition: DataGroup.cpp:77
NamedData< StringType > m_strings
The string values.
Definition: DataGroup.h:220
string(TOUPPER ${DEVICE}DEVICE_UPPER_CASE) option(BUILD_DEVICE_ $
Definition: CMakeLists.txt:35
NamedData< DynamicMatrixType > m_matrices
The matrix values.
Definition: DataGroup.h:208
NamedData< StringType > & strings()
Return the string data structure.
Definition: DataGroup.cpp:128
NamedData< IntegerType > m_integers
The integer values.
Definition: DataGroup.h:214
NamedData< ScalarType > m_scalars
The scalar values.
Definition: DataGroup.h:211
NamedData< VectorType > m_vectors
The vector values.
Definition: DataGroup.h:205
A collection of NamedData objects.
Definition: DataGroup.h:66
NamedData< PoseType > & poses()
Return the pose data structure.
Definition: DataGroup.cpp:67
NamedData< BooleanType > m_booleans
The boolean values.
Definition: DataGroup.h:217
Eigen::Transform< double, 3, Eigen::Isometry > RigidTransform3d
A 3D rigid (isometric) transform, represented as doubles.
Definition: RigidTransform.h:46
bool BooleanType
The type used for booleans.
Definition: DataGroup.h:80
NamedVariantData m_customData
The custom data values.
Definition: DataGroup.h:223
Definitions of small fixed-size vector types.
DataGroup()
Construct an empty object, with no associated names and indices yet.
Definition: DataGroup.cpp:23
std::string StringType
The type used for strings.
Definition: DataGroup.h:82
bool isEmpty() const
An empty DataGroup can be assigned to by any DataGroup with only valid NamedData. ...
Definition: DataGroup.cpp:160
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > DynamicMatrixType
The type used for matrices.
Definition: DataGroup.h:74
int IntegerType
The type used for integers.
Definition: DataGroup.h:78
Eigen::Matrix< double, 3, 1 > Vector3d
A 3D vector of doubles.
Definition: Vector.h:56
NamedVariantData & customData()
Return the custom data structure.
Definition: DataGroup.cpp:138