OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Types | Protected Attributes | List of all members
anonymous_namespace{animation.cpp}::RemoveVisitor Class Reference

Base class for visitors that remove nodes from a scene graph. Subclasses need to fill the mToRemove vector. To use, node->accept(removeVisitor); removeVisitor.remove();. More...

Inheritance diagram for anonymous_namespace{animation.cpp}::RemoveVisitor:
Collaboration diagram for anonymous_namespace{animation.cpp}::RemoveVisitor:

Public Member Functions

 RemoveVisitor ()
 
void remove ()
 

Protected Types

typedef std::vector< std::pair
< osg::Node *, osg::Group * > > 
RemoveVec
 

Protected Attributes

std::vector< std::pair
< osg::Node *, osg::Group * > > 
mToRemove
 

Detailed Description

Base class for visitors that remove nodes from a scene graph. Subclasses need to fill the mToRemove vector. To use, node->accept(removeVisitor); removeVisitor.remove();.

Member Typedef Documentation

typedef std::vector<std::pair<osg::Node*, osg::Group*> > anonymous_namespace{animation.cpp}::RemoveVisitor::RemoveVec
protected

Constructor & Destructor Documentation

anonymous_namespace{animation.cpp}::RemoveVisitor::RemoveVisitor ( )
inline

Member Function Documentation

void anonymous_namespace{animation.cpp}::RemoveVisitor::remove ( )
inline

Member Data Documentation

std::vector<std::pair<osg::Node*, osg::Group*> > anonymous_namespace{animation.cpp}::RemoveVisitor::mToRemove
protected

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