Go to the documentation of this file.
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;
~OsgAxesRepresentation()
Definition: OsgAxesRepresentation.cpp:39
SURGSIM_CLASSNAME(SurgSim::Graphics::OsgAxesRepresentation)
Osg axes representation implementation for the AxesRepresentation interface in graphics.
Definition: OsgAxesRepresentation.h:38
Definition: CompoundShapeToGraphics.cpp:30
double getSize() override
Gets the current size.
Definition: OsgAxesRepresentation.cpp:56
void setSize(double val) override
Sets the size of the shown axes.
Definition: OsgAxesRepresentation.cpp:50
double m_size
Hold the size.
Definition: OsgAxesRepresentation.h:64
static std::shared_ptr< OsgUnitAxes > getShareUnitAxes()
Returns the shared unit axes.
Definition: OsgAxesRepresentation.cpp:44
Displays the coordinate axes, as three lines from the origin default size is 1.0, the X/Y/Z axis are ...
Definition: AxesRepresentation.h:29
string(TOUPPER ${DEVICE} DEVICE_UPPER_CASE) option(BUILD_DEVICE_$
Definition: CMakeLists.txt:38
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
Base OSG implementation of a graphics representation.
Definition: OsgRepresentation.h:56
OsgAxesRepresentation(const std::string &name)
Constructor.
Definition: OsgAxesRepresentation.cpp:29