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
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

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

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

implements the callback

Reimplemented from osg::NodeCallback.


Member Data Documentation

float osgUtil::TransformCallback::_angular_velocity [protected]

osg::Vec3 osgUtil::TransformCallback::_pivot [protected]

osg::Vec3 osgUtil::TransformCallback::_axis [protected]

int osgUtil::TransformCallback::_previousTraversalNumber [protected]

double osgUtil::TransformCallback::_previousTime [protected]

bool osgUtil::TransformCallback::_pause [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:52 2007 for the OpenSceneGraph by doxygen 1.5.3.