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