OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
SceneUtil::CollectLowestTransformsVisitor Class Reference
Inheritance diagram for SceneUtil::CollectLowestTransformsVisitor:
Collaboration diagram for SceneUtil::CollectLowestTransformsVisitor:

Classes

struct  ObjectStruct
 
struct  TransformStruct
 

Public Member Functions

 CollectLowestTransformsVisitor (Optimizer *optimizer=0)
 
virtual void apply (osg::Node &node)
 
virtual void apply (osg::LOD &lod)
 
virtual void apply (osg::Transform &transform)
 
virtual void apply (osg::Geode &geode)
 
virtual void apply (osg::Billboard &geode)
 
void collectDataFor (osg::Node *node)
 
void collectDataFor (osg::Billboard *billboard)
 
void collectDataFor (osg::Drawable *drawable)
 
void setUpMaps ()
 
void disableTransform (osg::Transform *transform)
 
bool removeTransforms (osg::Node *nodeWeCannotRemove)
 
bool isOperationPermissibleForObject (const osg::Object *object) const
 
bool isOperationPermissibleForObject (const osg::Drawable *drawable) const
 
bool isOperationPermissibleForObject (const osg::Node *node) const
 
- Public Member Functions inherited from SceneUtil::BaseOptimizerVisitor
 BaseOptimizerVisitor (Optimizer *optimizer, unsigned int operation)
 
bool isOperationPermissibleForObject (const osg::StateSet *object) const
 
bool isOperationPermissibleForObject (const osg::StateAttribute *object) const
 
bool isOperationPermissibleForObject (const osg::Drawable *object) const
 
bool isOperationPermissibleForObject (const osg::Node *object) const
 

Protected Types

typedef std::map
< osg::Transform
*, TransformStruct
TransformMap
 
typedef std::map< osg::Object
*, ObjectStruct
ObjectMap
 
typedef std::vector
< osg::Object * > 
ObjectList
 

Protected Member Functions

void registerWithCurrentObjects (osg::Transform *transform)
 
void disableObject (osg::Object *object)
 
void disableObject (ObjectMap::iterator itr)
 
void doTransform (osg::Object *obj, osg::Matrix &matrix)
 

Protected Attributes

osgUtil::TransformAttributeFunctor _transformFunctor
 
TransformMap _transformMap
 
ObjectMap _objectMap
 
ObjectList _currentObjectList
 
- Protected Attributes inherited from SceneUtil::BaseOptimizerVisitor
Optimizer_optimizer
 
unsigned int _operationType
 

Member Typedef Documentation

typedef std::vector<osg::Object*> SceneUtil::CollectLowestTransformsVisitor::ObjectList
protected
typedef std::map<osg::Object*,ObjectStruct> SceneUtil::CollectLowestTransformsVisitor::ObjectMap
protected
typedef std::map<osg::Transform*,TransformStruct> SceneUtil::CollectLowestTransformsVisitor::TransformMap
protected

Constructor & Destructor Documentation

SceneUtil::CollectLowestTransformsVisitor::CollectLowestTransformsVisitor ( Optimizer optimizer = 0)
inline

Member Function Documentation

virtual void SceneUtil::CollectLowestTransformsVisitor::apply ( osg::Node &  node)
inlinevirtual

Here is the call graph for this function:

virtual void SceneUtil::CollectLowestTransformsVisitor::apply ( osg::LOD &  lod)
inlinevirtual

Here is the call graph for this function:

virtual void SceneUtil::CollectLowestTransformsVisitor::apply ( osg::Transform &  transform)
inlinevirtual
virtual void SceneUtil::CollectLowestTransformsVisitor::apply ( osg::Geode &  geode)
inlinevirtual

Here is the call graph for this function:

virtual void SceneUtil::CollectLowestTransformsVisitor::apply ( osg::Billboard &  geode)
inlinevirtual

Here is the call graph for this function:

void SceneUtil::CollectLowestTransformsVisitor::collectDataFor ( osg::Node *  node)
inline

Here is the caller graph for this function:

void SceneUtil::CollectLowestTransformsVisitor::collectDataFor ( osg::Billboard *  billboard)
inline
void SceneUtil::CollectLowestTransformsVisitor::collectDataFor ( osg::Drawable *  drawable)
inline
void SceneUtil::CollectLowestTransformsVisitor::disableObject ( osg::Object *  object)
inlineprotected
void SceneUtil::CollectLowestTransformsVisitor::disableObject ( ObjectMap::iterator  itr)
protected
void SceneUtil::CollectLowestTransformsVisitor::disableTransform ( osg::Transform *  transform)

Here is the caller graph for this function:

void SceneUtil::CollectLowestTransformsVisitor::doTransform ( osg::Object *  obj,
osg::Matrix &  matrix 
)
protected
bool SceneUtil::CollectLowestTransformsVisitor::isOperationPermissibleForObject ( const osg::Object *  object) const
inline
bool SceneUtil::CollectLowestTransformsVisitor::isOperationPermissibleForObject ( const osg::Drawable *  drawable) const
inline
bool SceneUtil::CollectLowestTransformsVisitor::isOperationPermissibleForObject ( const osg::Node *  node) const
inline
void SceneUtil::CollectLowestTransformsVisitor::registerWithCurrentObjects ( osg::Transform *  transform)
inlineprotected
bool SceneUtil::CollectLowestTransformsVisitor::removeTransforms ( osg::Node *  nodeWeCannotRemove)

Here is the caller graph for this function:

void SceneUtil::CollectLowestTransformsVisitor::setUpMaps ( )

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

ObjectList SceneUtil::CollectLowestTransformsVisitor::_currentObjectList
protected
ObjectMap SceneUtil::CollectLowestTransformsVisitor::_objectMap
protected
osgUtil::TransformAttributeFunctor SceneUtil::CollectLowestTransformsVisitor::_transformFunctor
protected
TransformMap SceneUtil::CollectLowestTransformsVisitor::_transformMap
protected

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