16 #ifndef SURGSIM_DATASTRUCTURES_DATAGROUP_H 17 #define SURGSIM_DATASTRUCTURES_DATAGROUP_H 21 #include "SurgSim/DataStructures/Image.h" 22 #include "SurgSim/DataStructures/NamedData.h" 23 #include "SurgSim/DataStructures/NamedVariantData.h" 29 namespace DataStructures
76 typedef Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>
DynamicMatrixType;
244 #endif // SURGSIM_DATASTRUCTURES_DATAGROUP_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
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
Eigen::Matrix< double, 3, 1 > Vector3d
A 3D vector of doubles.
Definition: Vector.h:57
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 > & strings()
Return the string data structure.
Definition: DataGroup.cpp:131
A collection of NamedData objects.
Definition: DataGroup.h:68
NamedData< PoseType > & poses()
Return the pose data structure.
Definition: DataGroup.cpp:70
bool BooleanType
The type used for booleans.
Definition: DataGroup.h:82
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
NamedVariantData & customData()
Return the custom data structure.
Definition: DataGroup.cpp:151