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

#include <osgQ_QSection.h>

Inheritance diagram for osgQ::QSection:

Public Member Functions

 QSection ()
 
 QSection (const osg::Vec3 &center, float innerRadius, float outerRadius, float angleFrom, float angleTo, float outerAngleAddition, float height)
 
 QSection (const QSection &qsection, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 
virtual osg::Object * cloneType () const
 
virtual osg::Object * clone (const osg::CopyOp &copyop) const
 
virtual bool isSameKindAs (const osg::Object *obj) const
 
virtual const char * libraryName () const
 
virtual const char * className () const
 
virtual void accept (osg::ShapeVisitor &sv)
 
virtual void accept (osg::ConstShapeVisitor &csv) const
 
bool valid () const
 
void set (const osg::Vec3 &center, float outerRadius, float innerRadius, float angleFrom, float angleTo, float outerAngleAddition, float height)
 
void setCenter (const osg::Vec3 &center)
 
const osg::Vec3 & getCenter () const
 
void setOuterRadius (float outerRadius)
 
float getOuterRadius () const
 
void setInnerRadius (float innerRadius)
 
float getInnerRadius () const
 
void setAngleFrom (float angleFrom)
 
float getAngleFrom () const
 
void setAngleTo (float angleTo)
 
float getAngleTo () const
 
void setOuterAngleAddition (float outerAngleAddition)
 
float getOuterAngleAddition () const
 
void setHeight (float height)
 
float getHeight () const
 
void setRotation (const osg::Quat &quat)
 
const osg::Quat & getRotation () const
 
osg::Matrix computeRotationMatrix () const
 
bool zeroRotation () const
 
int computeNumberOfSegments () const
 

Protected Member Functions

virtual ~QSection ()
 

Protected Attributes

osg::Vec3 _center
 
float _outerRadius
 
float _innerRadius
 
float _angleFrom
 
float _angleTo
 
float _outerAngleAddition
 
float _height
 
osg::Quat _rotation
 

Constructor & Destructor Documentation

osgQ::QSection::QSection ( )
inline
osgQ::QSection::QSection ( const osg::Vec3 &  center,
float  innerRadius,
float  outerRadius,
float  angleFrom,
float  angleTo,
float  outerAngleAddition,
float  height 
)
inline
osgQ::QSection::QSection ( const QSection qsection,
const osg::CopyOp &  copyop = osg::CopyOp::SHALLOW_COPY 
)
inline
virtual osgQ::QSection::~QSection ( )
inlineprotectedvirtual

Member Function Documentation

virtual void osgQ::QSection::accept ( osg::ShapeVisitor &  sv)
inlinevirtual
virtual void osgQ::QSection::accept ( osg::ConstShapeVisitor &  csv) const
inlinevirtual
virtual const char* osgQ::QSection::className ( ) const
inlinevirtual
virtual osg::Object* osgQ::QSection::clone ( const osg::CopyOp &  copyop) const
inlinevirtual
virtual osg::Object* osgQ::QSection::cloneType ( ) const
inlinevirtual
int osgQ::QSection::computeNumberOfSegments ( ) const
inline
osg::Matrix osgQ::QSection::computeRotationMatrix ( ) const
inline
float osgQ::QSection::getAngleFrom ( ) const
inline
float osgQ::QSection::getAngleTo ( ) const
inline
const osg::Vec3& osgQ::QSection::getCenter ( ) const
inline
float osgQ::QSection::getHeight ( ) const
inline
float osgQ::QSection::getInnerRadius ( ) const
inline
float osgQ::QSection::getOuterAngleAddition ( ) const
inline
float osgQ::QSection::getOuterRadius ( ) const
inline
const osg::Quat& osgQ::QSection::getRotation ( ) const
inline
virtual bool osgQ::QSection::isSameKindAs ( const osg::Object *  obj) const
inlinevirtual
virtual const char* osgQ::QSection::libraryName ( ) const
inlinevirtual
void osgQ::QSection::set ( const osg::Vec3 &  center,
float  outerRadius,
float  innerRadius,
float  angleFrom,
float  angleTo,
float  outerAngleAddition,
float  height 
)
inline
void osgQ::QSection::setAngleFrom ( float  angleFrom)
inline
void osgQ::QSection::setAngleTo ( float  angleTo)
inline
void osgQ::QSection::setCenter ( const osg::Vec3 &  center)
inline
void osgQ::QSection::setHeight ( float  height)
inline
void osgQ::QSection::setInnerRadius ( float  innerRadius)
inline
void osgQ::QSection::setOuterAngleAddition ( float  outerAngleAddition)
inline
void osgQ::QSection::setOuterRadius ( float  outerRadius)
inline
void osgQ::QSection::setRotation ( const osg::Quat &  quat)
inline
bool osgQ::QSection::valid ( ) const
inline
bool osgQ::QSection::zeroRotation ( ) const
inline

Member Data Documentation

float osgQ::QSection::_angleFrom
protected
float osgQ::QSection::_angleTo
protected
osg::Vec3 osgQ::QSection::_center
protected
float osgQ::QSection::_height
protected
float osgQ::QSection::_innerRadius
protected
float osgQ::QSection::_outerAngleAddition
protected
float osgQ::QSection::_outerRadius
protected
osg::Quat osgQ::QSection::_rotation
protected

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