OSG unit box geode to be used as a primitive shape The box is located at (0, 0, 0) and has a size of 1 on all three axes.
More...
#include <SurgSim/Graphics/OsgUnitBox.h>
|
| OsgUnitBox () |
| Constructor. More...
|
|
osg::ref_ptr< osg::Node > | getNode () const |
| Returns the root OSG node for the plane to be inserted into the scene-graph. More...
|
|
OSG unit box geode to be used as a primitive shape The box is located at (0, 0, 0) and has a size of 1 on all three axes.
Add the box geode to a transform node to position and scale it.
◆ OsgUnitBox()
SurgSim::Graphics::OsgUnitBox::OsgUnitBox |
( |
| ) |
|
|
inline |
◆ getNode()
osg::ref_ptr<osg::Node> SurgSim::Graphics::OsgUnitBox::getNode |
( |
| ) |
const |
|
inline |
Returns the root OSG node for the plane to be inserted into the scene-graph.
◆ m_geode
osg::ref_ptr<osg::Geode> SurgSim::Graphics::OsgUnitBox::m_geode |
|
private |
Root OSG node of the box.
The documentation for this class was generated from the following file: