osgUtil::TransformCallback Class Reference

Inheritance diagram for osgUtil::TransformCallback:

osg::NodeCallback osg::Object osg::Referenced 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)

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

float osgUtil::TransformCallback::_angular_velocity [protected]

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

bool osgUtil::TransformCallback::_pause [protected]

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

double osgUtil::TransformCallback::_previousTime [protected]

int osgUtil::TransformCallback::_previousTraversalNumber [protected]


The documentation for this class was generated from the following file:
Generated on Sun Oct 1 13:17:14 2006 for openscenegraph by  doxygen 1.4.7