16 #ifndef SURGSIM_DATASTRUCTURES_DATAGROUP_H 17 #define SURGSIM_DATASTRUCTURES_DATAGROUP_H 29 namespace DataStructures
76 typedef Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>
DynamicMatrixType;
244 #endif // SURGSIM_DATASTRUCTURES_DATAGROUP_H Definition: CompoundShapeToGraphics.cpp:29
NamedData< DynamicMatrixType > & matrices()
Return the matrix data structure.
Definition: DataGroup.cpp:90
A NamedData collection of variant data type.
Definition: NamedVariantData.h:39
A templated Image class.
Definition: Image.h:33
void resetAll()
Mark all data as not current.
Definition: DataGroup.cpp:161
NamedData< ScalarType > & scalars()
Return the scalar data structure.
Definition: DataGroup.cpp:101
SurgSim::Math::RigidTransform3d PoseType
The type used for poses.
Definition: DataGroup.h:72
double ScalarType
The type used for scalars.
Definition: DataGroup.h:78
SurgSim::Math::Vector3d VectorType
The type used for vectors.
Definition: DataGroup.h:74
NamedData< BooleanType > & booleans()
Return the boolean data structure.
Definition: DataGroup.cpp:121
NamedData< IntegerType > & integers()
Return the integer data structure.
Definition: DataGroup.cpp:111
DataGroup & operator=(const DataGroup &dataGroup)
Copy the data from another object.
Definition: DataGroup.cpp:40
NamedData< PoseType > m_poses
The pose values.
Definition: DataGroup.h:214
Image< float > ImageType
The type used for images.
Definition: DataGroup.h:86
NamedData< VectorType > & vectors()
Return the vector data structure.
Definition: DataGroup.cpp:80
NamedData< StringType > m_strings
The string values.
Definition: DataGroup.h:232
NamedData< DynamicMatrixType > m_matrices
The matrix values.
Definition: DataGroup.h:220
NamedData< StringType > & strings()
Return the string data structure.
Definition: DataGroup.cpp:131
NamedData< IntegerType > m_integers
The integer values.
Definition: DataGroup.h:226
NamedData< ScalarType > m_scalars
The scalar values.
Definition: DataGroup.h:223
NamedData< VectorType > m_vectors
The vector values.
Definition: DataGroup.h:217
A collection of NamedData objects.
Definition: DataGroup.h:68
NamedData< PoseType > & poses()
Return the pose data structure.
Definition: DataGroup.cpp:70
NamedData< BooleanType > m_booleans
The boolean values.
Definition: DataGroup.h:229
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:82
NamedData< ImageType > m_images
The string values.
Definition: DataGroup.h:235
NamedVariantData m_customData
The custom data values.
Definition: DataGroup.h:238
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:84
NamedData< ImageType > & images()
Return the image data structure.
Definition: DataGroup.cpp:141
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > DynamicMatrixType
The type used for matrices.
Definition: DataGroup.h:76
bool isEmpty() const
An empty DataGroup can be assigned to by any DataGroup with only valid NamedData. ...
Definition: DataGroup.cpp:174
int IntegerType
The type used for integers.
Definition: DataGroup.h:80
Eigen::Matrix< double, 3, 1 > Vector3d
A 3D vector of doubles.
Definition: Vector.h:57
NamedVariantData & customData()
Return the custom data structure.
Definition: DataGroup.cpp:151