GeomRotateVisitor Class Reference

Physics visitor that applies a rotation on all geoms it finds. More...

Inheritance diagram for GeomRotateVisitor:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 GeomRotateVisitor (const osg::Quat &quat, const osg::Vec3 &center)
virtual void apply (Physics::Geom &geom)

Protected Attributes

const osg::Quat & quat
const osg::Vec3 & center


Detailed Description

Physics visitor that applies a rotation on all geoms it finds.

Definition at line 734 of file 3DPhy.cpp.


Constructor & Destructor Documentation

GeomRotateVisitor::GeomRotateVisitor ( const osg::Quat &  quat,
const osg::Vec3 &  center 
) [inline]

Definition at line 736 of file 3DPhy.cpp.


Member Function Documentation

virtual void GeomRotateVisitor::apply ( Physics::Geom geom  )  [inline, virtual]

Reimplemented from Physics::Visitor.

Definition at line 737 of file 3DPhy.cpp.

References center, quat, Physics::Geom::rotate(), and Physics::Visitor::traverse().


Member Data Documentation

const osg::Vec3& GeomRotateVisitor::center [protected]

Definition at line 743 of file 3DPhy.cpp.

Referenced by apply().

const osg::Quat& GeomRotateVisitor::quat [protected]

Definition at line 742 of file 3DPhy.cpp.

Referenced by apply().


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

Generated on Sun Jan 17 11:39:28 2010 for PVLE (Pro-Vocation Light Engine) by  doxygen 1.5.9