DOFTransform - encapsulates Multigen DOF behavior
Inheritance:
Public Methods
-
DOFTransform()
- constructor
-
DOFTransform(const DOFTransform& dof, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
- copy constructor
-
META_Node(osg, DOFTransform)
-
virtual void traverse(NodeVisitor& nv)
-
void setMinHPR(const Vec3& hpr)
-
const Vec3& getMinHPR() const
-
void setMaxHPR(const Vec3& hpr)
-
const Vec3& getMaxHPR() const
-
void setIncrementHPR(const Vec3& hpr)
-
const Vec3& getIncrementHPR() const
-
void setCurrentHPR(const Vec3& hpr)
-
const Vec3& getCurrentHPR() const
-
void updateCurrentHPR(const Vec3& hpr)
-
void setMinTranslate(const Vec3& translate)
-
const Vec3& getMinTranslate() const
-
void setMaxTranslate(const Vec3& translate)
-
const Vec3& getMaxTranslate() const
-
void setIncrementTranslate(const Vec3& translate)
-
const Vec3& getIncrementTranslate() const
-
void setCurrentTranslate(const Vec3& translate)
-
inline const Vec3& getCurrentTranslate() const
-
void updateCurrentTranslate(const Vec3& translate)
-
void setMinScale(const Vec3& scale)
-
const Vec3& getMinScale() const
-
void setMaxScale(const Vec3& scale)
-
const Vec3& getMaxScale() const
-
void setIncrementScale(const Vec3& scale)
-
const Vec3& getIncrementScale() const
-
void setCurrentScale(const Vec3& scale)
-
inline const Vec3& getCurrentScale() const
-
void updateCurrentScale(const Vec3& scale)
-
void setPutMatrix(const Matrix& put)
-
inline const Matrix& getPutMatrix() const
-
void setInversePutMatrix(const Matrix& inversePut)
-
inline const Matrix& getInversePutMatrix() const
-
void setLimitationFlags(unsigned long flags)
-
inline unsigned long getLimitationFlags() const
-
inline void setAnimationOn(bool do_animate)
-
inline bool getAnimationOn() const
-
void animate()
-
virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
-
virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
Protected Fields
-
Vec3 _minHPR
-
Vec3 _maxHPR
-
Vec3 _currentHPR
-
Vec3 _incrementHPR
-
Vec3 _minTranslate
-
Vec3 _maxTranslate
-
Vec3 _currentTranslate
-
Vec3 _incrementTranslate
-
Vec3 _minScale
-
Vec3 _maxScale
-
Vec3 _currentScale
-
Vec3 _incrementScale
-
Matrix _Put
-
Matrix _inversePut
-
unsigned long _limitationFlags
-
bool _animationOn
-
unsigned short _increasingFlags
- flags indicating whether value is incerasing or decreasing in animation bits form right to left, 1 means increasing while 0 is decreasing 0 = x translation 1 = y translation 2 = z translation 3 = pitch 4 = roll 5 = yaw 6 = x scale 7 = y scale 8 = z scale
Protected Methods
-
virtual ~DOFTransform()
Public Methods
-
void setReferenceFrame(ReferenceFrame rf)
-
const ReferenceFrame getReferenceFrame() const
-
void setComputeTransformCallback(ComputeTransformCallback* ctc)
-
ComputeTransformCallback* getComputeTransformCallback()
-
const ComputeTransformCallback* getComputeTransformCallback() const
-
inline const bool getLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
-
inline const bool getWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
Public Members
-
enum ReferenceFrame
-
struct ComputeTransformCallback: public osg::Referenced
Protected Fields
-
ref_ptr<ComputeTransformCallback> _computeTransformCallback
-
ReferenceFrame _referenceFrame
Protected Methods
-
virtual const bool computeBound() const
Inherited from Group:
Public Methods
-
virtual bool addChild( Node* child )
-
virtual bool removeChild( Node* child )
-
virtual bool replaceChild( Node* origChild, Node* newChild )
-
inline const unsigned int getNumChildren() const
-
inline Node* getChild( const unsigned int i )
-
inline const Node* getChild( const unsigned int i ) const
-
inline bool containsNode( const Node* node ) const
-
inline ChildList::iterator findNode( const Node* node )
-
inline ChildList::const_iterator findNode( const Node* node ) const
Protected Fields
-
ChildList _children
Documentation
DOFTransform - encapsulates Multigen DOF behavior
- DOFTransform()
- constructor
- DOFTransform(const DOFTransform& dof, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
- copy constructor
- META_Node(osg, DOFTransform)
- virtual void traverse(NodeVisitor& nv)
- void setMinHPR(const Vec3& hpr)
- const Vec3& getMinHPR() const
- void setMaxHPR(const Vec3& hpr)
- const Vec3& getMaxHPR() const
- void setIncrementHPR(const Vec3& hpr)
- const Vec3& getIncrementHPR() const
- void setCurrentHPR(const Vec3& hpr)
- const Vec3& getCurrentHPR() const
- void updateCurrentHPR(const Vec3& hpr)
- void setMinTranslate(const Vec3& translate)
- const Vec3& getMinTranslate() const
- void setMaxTranslate(const Vec3& translate)
- const Vec3& getMaxTranslate() const
- void setIncrementTranslate(const Vec3& translate)
- const Vec3& getIncrementTranslate() const
- void setCurrentTranslate(const Vec3& translate)
- inline const Vec3& getCurrentTranslate() const
- void updateCurrentTranslate(const Vec3& translate)
- void setMinScale(const Vec3& scale)
- const Vec3& getMinScale() const
- void setMaxScale(const Vec3& scale)
- const Vec3& getMaxScale() const
- void setIncrementScale(const Vec3& scale)
- const Vec3& getIncrementScale() const
- void setCurrentScale(const Vec3& scale)
- inline const Vec3& getCurrentScale() const
- void updateCurrentScale(const Vec3& scale)
- void setPutMatrix(const Matrix& put)
- inline const Matrix& getPutMatrix() const
- void setInversePutMatrix(const Matrix& inversePut)
- inline const Matrix& getInversePutMatrix() const
- void setLimitationFlags(unsigned long flags)
- inline unsigned long getLimitationFlags() const
- inline void setAnimationOn(bool do_animate)
- inline bool getAnimationOn() const
- void animate()
- virtual const bool computeLocalToWorldMatrix(Matrix& matrix, NodeVisitor* nv) const
- virtual const bool computeWorldToLocalMatrix(Matrix& matrix, NodeVisitor* nv) const
- virtual ~DOFTransform()
- Vec3 _minHPR
- Vec3 _maxHPR
- Vec3 _currentHPR
- Vec3 _incrementHPR
- Vec3 _minTranslate
- Vec3 _maxTranslate
- Vec3 _currentTranslate
- Vec3 _incrementTranslate
- Vec3 _minScale
- Vec3 _maxScale
- Vec3 _currentScale
- Vec3 _incrementScale
- Matrix _Put
- Matrix _inversePut
- unsigned long _limitationFlags
- bool _animationOn
- unsigned short _increasingFlags
- flags indicating whether value is incerasing or decreasing in animation
bits form right to left, 1 means increasing while 0 is decreasing
0 = x translation
1 = y translation
2 = z translation
3 = pitch
4 = roll
5 = yaw
6 = x scale
7 = y scale
8 = z scale
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.