OpenSceneGraph  3.0.1
Public Member Functions | Protected Attributes
osgUtil::TransformCallback Class Reference

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

Inheritance diagram for osgUtil::TransformCallback:
Inheritance graph
[legend]

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
unsigned 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 Mon Oct 3 2011 12:39:50 for the OpenSceneGraph by doxygen 1.7.5.