16 #ifndef SURGSIM_GRAPHICS_OSGAXESREPRESENTATION_H
17 #define SURGSIM_GRAPHICS_OSGAXESREPRESENTATION_H
26 #pragma warning(disable:4250)
45 virtual void setSize(
double val)
override;
49 virtual double getSize()
override;
Definition: DriveElementFromInputBehavior.cpp:27
std::shared_ptr< OsgUnitAxes > m_sharedUnitAxes
Shared unit axes, so that the geometry can be instanced rather than having multiple copies...
Definition: OsgAxesRepresentation.h:54
virtual double getSize() override
Gets the current size.
Definition: OsgAxesRepresentation.cpp:54
OsgAxesRepresentation(const std::string &name)
Constructor.
Definition: OsgAxesRepresentation.cpp:27
virtual void setSize(double val) override
Sets the size of the shown axes.
Definition: OsgAxesRepresentation.cpp:48
double m_size
Hold the size.
Definition: OsgAxesRepresentation.h:60
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:35
~OsgAxesRepresentation()
Definition: OsgAxesRepresentation.cpp:37
Base OSG implementation of a graphics representation.
Definition: OsgRepresentation.h:42
static std::shared_ptr< OsgUnitAxes > getShareUnitAxes()
Returns the shared unit axes.
Definition: OsgAxesRepresentation.cpp:42