VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
DtMaintainMatrixVisitor Class Reference

Visitor which maintains myMatrix as the current offset matrix though all transform nodes. More...

Inheritance diagram for DtMaintainMatrixVisitor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtMaintainMatrixVisitor ()
virtual ~DtMaintainMatrixVisitor ()
virtual void apply (osg::PositionAttitudeTransform &node)
virtual void apply (osg::MatrixTransform &node)

Protected Member Functions

virtual osg::BoundingSphere worldRefNodeBounds (osg::Node &node)

Protected Attributes

osg::Matrix myMatrix

Detailed Description

Visitor which maintains myMatrix as the current offset matrix though all transform nodes.


Constructor & Destructor Documentation


Member Function Documentation

virtual void DtMaintainMatrixVisitor::apply ( osg::PositionAttitudeTransform &  node) [virtual]
virtual void DtMaintainMatrixVisitor::apply ( osg::MatrixTransform &  node) [virtual]
virtual osg::BoundingSphere DtMaintainMatrixVisitor::worldRefNodeBounds ( osg::Node &  node) [protected, virtual]
Returns:
The world coordinate based bounding node for the passed in node based on the current matrix. The passed in node must be the one that is currently being visited by the visitor, and not a child or parent node for this to work correctly.

Member Data Documentation

osg::Matrix DtMaintainMatrixVisitor::myMatrix [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)