16 #ifndef SURGSIM_GRAPHICS_OSGPOINTCLOUDREPRESENTATION_H 17 #define SURGSIM_GRAPHICS_OSGPOINTCLOUDREPRESENTATION_H 20 #include <osg/Geometry> 30 namespace DataStructures
43 #pragma warning(disable:4250) 62 virtual std::shared_ptr<PointCloud> getVertices()
const override;
66 virtual void setPointSize(
double val)
override;
70 virtual double getPointSize()
const override;
74 virtual void doUpdate(
double dt)
override;
104 #if defined(_MSC_VER) 111 #endif // SURGSIM_GRAPHICS_OSGPOINTCLOUDREPRESENTATION_H Definition: DriveElementFromInputBehavior.cpp:27
Osg point cloud representation, implementation of a PointCloudRepresenation using OSG...
Definition: OsgPointCloudRepresentation.h:48
SURGSIM_STATIC_REGISTRATION(SerializationMockComponent)
Graphic representation of a point cloud, hase a very basic interface and is intentionally kept generi...
Definition: PointCloudRepresentation.h:35
osg::ref_ptr< osg::Geometry > m_geometry
OSG Geometry node holding the data.
Definition: OsgPointCloudRepresentation.h:92
osg::ref_ptr< osg::Vec3Array > m_vertexData
OSG vertex data for updating.
Definition: OsgPointCloudRepresentation.h:89
osg::ref_ptr< osg::DrawArrays > m_drawArrays
OSG DrawArrays for local operations.
Definition: OsgPointCloudRepresentation.h:95
string(TOUPPER ${DEVICE}DEVICE_UPPER_CASE) option(BUILD_DEVICE_ $
Definition: CMakeLists.txt:35
#define SURGSIM_CLASSNAME(ClassName)
Declare the class name of a class with the appropriate function header, do not use quotes...
Definition: Macros.h:21
SurgSim::Math::Vector4d m_color
Color backing variable.
Definition: OsgPointCloudRepresentation.h:101
Eigen::Matrix< double, 4, 1 > Vector4d
A 4D vector of doubles.
Definition: Vector.h:60
Base OSG implementation of a graphics representation.
Definition: OsgRepresentation.h:42
osg::ref_ptr< osg::Point > m_point
OSG::Point for local operations.
Definition: OsgPointCloudRepresentation.h:98
std::shared_ptr< PointCloud > m_vertices
Local pointer to vertices with data.
Definition: OsgPointCloudRepresentation.h:86