SurgSim::Graphics::OsgUnitCylinder Class Reference

OSG unit cylinder geode to be used as a primitive shape The cylinder is located at (0, 0, 0) and has a radius of 1 and height of 1. More...

`#include <SurgSim/Graphics/OsgUnitCylinder.h>`

## Public Member Functions

| OsgUnitCylinder ()
| 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...

## Private Attributes

osg::ref_ptr< osg::Geode > | m_geode
| Root OSG node of the cylinder. More...

## Detailed Description

OSG unit cylinder geode to be used as a primitive shape The cylinder is located at (0, 0, 0) and has a radius of 1 and height of 1.

Add the cylinder geode to a transform node to position and scale it.

## Constructor & Destructor Documentation

## OsgUnitCylinder()

SurgSim::Graphics::OsgUnitCylinder::OsgUnitCylinder | ( |  | ) |

inline

Constructor.

## Member Function Documentation

## getNode()

osg::ref_ptr<osg::Node> SurgSim::Graphics::OsgUnitCylinder::getNode | ( |  | ) | const

inline

Returns the root OSG node for the plane to be inserted into the scene-graph.

## Member Data Documentation

## m_geode

osg::ref_ptr<osg::Geode> SurgSim::Graphics::OsgUnitCylinder::m_geode

private

Root OSG node of the cylinder.

The documentation for this class was generated from the following file:

- SurgSim/Graphics/OsgUnitCylinder.h