Moby
Public Member Functions | List of all members
osg::OsgTorus Class Reference

Public Member Functions

 OsgTorus (float inner, float outer, float start_angle=0.0f, float end_angle=360.0f, unsigned int cross=50, unsigned int sweep=50)
 
 OsgTorus (const OsgTorus &torus)
 
bool valid () const
 
void set (float i, float o)
 
osg::Geode * operator() () const
 
void setColor (const osg::Vec4 &c)
 
const osg::Vec4 & getColor () const
 
void setMajorRadius (float inner)
 
float getMajorRadius () const
 
void setMinorRadius (float outer)
 
float getMinorRadius () const
 
void setStartSweep (float angle)
 
float getStartSweep () const
 
void setEndSweep (float angle)
 
float getEndSweep () const
 
void setCircleCuts (int cuts)
 
int getCircleCuts () const
 
void setSweepCuts (int cuts)
 
int getSweepCuts () const
 

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