|
Public Types |
| enum | MultOrder {
PRH,
PHR,
HPR,
HRP,
RPH,
RHP
} |
Public Member Functions |
| | DOFTransform () |
| | constructor
|
| | DOFTransform (const DOFTransform &dof, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
| | copy constructor
|
| | META_Node (osgSim, DOFTransform) |
| virtual void | traverse (osg::NodeVisitor &nv) |
| | Traverse downwards : calls children's accept method with NodeVisitor.
|
| void | setMinHPR (const osg::Vec3 &hpr) |
| const osg::Vec3 & | getMinHPR () const |
| void | setMaxHPR (const osg::Vec3 &hpr) |
| const osg::Vec3 & | getMaxHPR () const |
| void | setIncrementHPR (const osg::Vec3 &hpr) |
| const osg::Vec3 & | getIncrementHPR () const |
| void | setCurrentHPR (const osg::Vec3 &hpr) |
| const osg::Vec3 & | getCurrentHPR () const |
| void | updateCurrentHPR (const osg::Vec3 &hpr) |
| void | setMinTranslate (const osg::Vec3 &translate) |
| const osg::Vec3 & | getMinTranslate () const |
| void | setMaxTranslate (const osg::Vec3 &translate) |
| const osg::Vec3 & | getMaxTranslate () const |
| void | setIncrementTranslate (const osg::Vec3 &translate) |
| const osg::Vec3 & | getIncrementTranslate () const |
| void | setCurrentTranslate (const osg::Vec3 &translate) |
| const osg::Vec3 & | getCurrentTranslate () const |
| void | updateCurrentTranslate (const osg::Vec3 &translate) |
| void | setMinScale (const osg::Vec3 &scale) |
| const osg::Vec3 & | getMinScale () const |
| void | setMaxScale (const osg::Vec3 &scale) |
| const osg::Vec3 & | getMaxScale () const |
| void | setIncrementScale (const osg::Vec3 &scale) |
| const osg::Vec3 & | getIncrementScale () const |
| void | setCurrentScale (const osg::Vec3 &scale) |
| const osg::Vec3 & | getCurrentScale () const |
| void | updateCurrentScale (const osg::Vec3 &scale) |
| void | setPutMatrix (const osg::Matrix &put) |
| const osg::Matrix & | getPutMatrix () const |
| void | setInversePutMatrix (const osg::Matrix &inversePut) |
| const osg::Matrix & | getInversePutMatrix () const |
| void | setLimitationFlags (unsigned long flags) |
| unsigned long | getLimitationFlags () const |
| void | setHPRMultOrder (const MultOrder order) |
| const MultOrder | getHPRMultOrder () const |
| void | setAnimationOn (bool do_animate) |
| bool | getAnimationOn () const |
| void | animate (float deltaTime) |
| virtual bool | computeLocalToWorldMatrix (osg::Matrix &matrix, osg::NodeVisitor *nv) const |
| virtual bool | computeWorldToLocalMatrix (osg::Matrix &matrix, osg::NodeVisitor *nv) const |
Protected Member Functions |
| virtual | ~DOFTransform () |
Protected Attributes |
| int | _previousTraversalNumber |
| double | _previousTime |
| osg::Vec3 | _minHPR |
| osg::Vec3 | _maxHPR |
| osg::Vec3 | _currentHPR |
| osg::Vec3 | _incrementHPR |
| osg::Vec3 | _minTranslate |
| osg::Vec3 | _maxTranslate |
| osg::Vec3 | _currentTranslate |
| osg::Vec3 | _incrementTranslate |
| osg::Vec3 | _minScale |
| osg::Vec3 | _maxScale |
| osg::Vec3 | _currentScale |
| osg::Vec3 | _incrementScale |
| osg::Matrix | _Put |
| osg::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
|
| MultOrder | _multOrder |