vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RegularPolygonSpline Class Reference

#include <RegularPolygonSpline.h>

Inheritance diagram for RegularPolygonSpline:

Public Types

enum  PlaneType { XY, XZ, YZ }
 

Public Member Functions

 RegularPolygonSpline ()
 
 RegularPolygonSpline (double radius, unsigned int segmentCount, double rotationShiftInDegress=0.0, PlaneType plane=XY)
 
 META_DAObject (RegularPolygonSpline,"Regular Polygon Spline") virtual Vec3ArrayPtr getPoints()
 
virtual bool isClosed ()
 
double getRadius () const
 
void setRadius (double val)
 
unsigned int getSegmentCount () const
 
void setSegmentCount (unsigned int val)
 
RegularPolygonSpline::PlaneType getPlane () const
 
void setPlane (RegularPolygonSpline::PlaneType val)
 
double getRotationShift () const
 
void setRotationShift (double val)
 

Protected Attributes

unsigned int _segmentCount
 
double _invSegmentCount
 
double _radius
 
PlaneType _plane
 
double _rotationInDegress
 
double _shift
 

Member Enumeration Documentation

Enumerator
XY 
XZ 
YZ 

Constructor & Destructor Documentation

RegularPolygonSpline::RegularPolygonSpline ( void  )
RegularPolygonSpline::RegularPolygonSpline ( double  radius,
unsigned int  segmentCount,
double  rotationShiftInDegress = 0.0,
PlaneType  plane = XY 
)

Member Function Documentation

RegularPolygonSpline::PlaneType RegularPolygonSpline::getPlane ( ) const
inline
double RegularPolygonSpline::getRadius ( ) const
inline

Getters and setters

double RegularPolygonSpline::getRotationShift ( ) const
inline
unsigned int RegularPolygonSpline::getSegmentCount ( ) const
inline
virtual bool RegularPolygonSpline::isClosed ( )
inlinevirtual
RegularPolygonSpline::META_DAObject ( RegularPolygonSpline  ,
"Regular Polygon Spline"   
)

Virtual methods

void RegularPolygonSpline::setPlane ( RegularPolygonSpline::PlaneType  val)
inline
void RegularPolygonSpline::setRadius ( double  val)
inline
void RegularPolygonSpline::setRotationShift ( double  val)
inline
void RegularPolygonSpline::setSegmentCount ( unsigned int  val)
inline

Member Data Documentation

double RegularPolygonSpline::_invSegmentCount
protected
PlaneType RegularPolygonSpline::_plane
protected
double RegularPolygonSpline::_radius
protected
double RegularPolygonSpline::_rotationInDegress
protected
unsigned int RegularPolygonSpline::_segmentCount
protected
double RegularPolygonSpline::_shift
protected

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