OpenSceneGraph 2.8.3

osgUtil::TransformCallback Class Reference

TransformCallback is now deprecated, use osg::AnimationPathCallback instead. More...

Inheritance diagram for osgUtil::TransformCallback:

List of all members.

Public Member Functions

 TransformCallback (const osg::Vec3 &pivot, const osg::Vec3 &axis, float angularVelocity)
void setPause (bool pause)
virtual void operator() (osg::Node *node, osg::NodeVisitor *nv)
 implements the callback

Protected Attributes

float _angular_velocity
osg::Vec3 _pivot
osg::Vec3 _axis
int _previousTraversalNumber
double _previousTime
bool _pause

Detailed Description

TransformCallback is now deprecated, use osg::AnimationPathCallback instead.


Constructor & Destructor Documentation

osgUtil::TransformCallback::TransformCallback ( const osg::Vec3 pivot,
const osg::Vec3 axis,
float  angularVelocity 
)

Member Function Documentation

virtual void osgUtil::TransformCallback::operator() ( osg::Node node,
osg::NodeVisitor nv 
) [virtual]

implements the callback

Reimplemented from osg::NodeCallback.

void osgUtil::TransformCallback::setPause ( bool  pause) [inline]

Member Data Documentation


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

osg logo
Generated at Tue Mar 22 2011 13:20:31 for the OpenSceneGraph by doxygen 1.7.3.