GeomTranslateVisitor Class Reference

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

Inheritance diagram for GeomTranslateVisitor:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 GeomTranslateVisitor (const osg::Vec3 &vec)
virtual void apply (Physics::Geom &geom)

Protected Attributes

const osg::Vec3 & vec


Detailed Description

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

Definition at line 706 of file 3DPhy.cpp.


Constructor & Destructor Documentation

GeomTranslateVisitor::GeomTranslateVisitor ( const osg::Vec3 &  vec  )  [inline]

Definition at line 708 of file 3DPhy.cpp.


Member Function Documentation

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

Reimplemented from Physics::Visitor.

Definition at line 709 of file 3DPhy.cpp.

References Physics::Geom::translate(), Physics::Visitor::traverse(), and vec.


Member Data Documentation

const osg::Vec3& GeomTranslateVisitor::vec [protected]

Definition at line 714 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