16 #ifndef SURGSIM_GRAPHICS_OSGAXESREPRESENTATION_H 17 #define SURGSIM_GRAPHICS_OSGAXESREPRESENTATION_H 26 #pragma warning(disable:4250) 34 SURGSIM_STATIC_REGISTRATION(OsgAxesRepresentation);
49 void setSize(
double val)
override;
Definition: CompoundShapeToGraphics.cpp:29
std::shared_ptr< OsgUnitAxes > m_sharedUnitAxes
Shared unit axes, so that the geometry can be instanced rather than having multiple copies...
Definition: OsgAxesRepresentation.h:58
double getSize() override
Gets the current size.
Definition: OsgAxesRepresentation.cpp:56
OsgAxesRepresentation(const std::string &name)
Constructor.
Definition: OsgAxesRepresentation.cpp:29
void setSize(double val) override
Sets the size of the shown axes.
Definition: OsgAxesRepresentation.cpp:50
SURGSIM_CLASSNAME(SurgSim::Graphics::OsgAxesRepresentation)
double m_size
Hold the size.
Definition: OsgAxesRepresentation.h:64
Displays the coordinate axes, as three lines from the origin default size is 1.0, the X/Y/Z axis are ...
Definition: AxesRepresentation.h:28
Osg axes representation implementation for the AxesRepresentation interface in graphics.
Definition: OsgAxesRepresentation.h:37
~OsgAxesRepresentation()
Definition: OsgAxesRepresentation.cpp:39
Base OSG implementation of a graphics representation.
Definition: OsgRepresentation.h:55
static std::shared_ptr< OsgUnitAxes > getShareUnitAxes()
Returns the shared unit axes.
Definition: OsgAxesRepresentation.cpp:44