osgUtil::Optimizer::SpatializeGroupsVisitor Class Reference

Spatialize scene into a balanced quad/oct tree. More...

Inheritance diagram for osgUtil::Optimizer::SpatializeGroupsVisitor:

Inheritance graph
[legend]

List of all members.

Public Types

typedef std::set
< osg::Group * > 
GroupsToDivideList

Public Member Functions

 SpatializeGroupsVisitor (Optimizer *optimizer=0)
virtual void apply (osg::Group &group)
bool divide (unsigned int maxNumTreesPerCell=8)
bool divide (osg::Group *group, unsigned int maxNumTreesPerCell)

Public Attributes

GroupsToDivideList _groupsToDivideList


Detailed Description

Spatialize scene into a balanced quad/oct tree.


Member Typedef Documentation

typedef std::set<osg::Group*> osgUtil::Optimizer::SpatializeGroupsVisitor::GroupsToDivideList


Constructor & Destructor Documentation

osgUtil::Optimizer::SpatializeGroupsVisitor::SpatializeGroupsVisitor ( Optimizer optimizer = 0  )  [inline]


Member Function Documentation

virtual void osgUtil::Optimizer::SpatializeGroupsVisitor::apply ( osg::Group group  )  [virtual]

Reimplemented from osg::NodeVisitor.

bool osgUtil::Optimizer::SpatializeGroupsVisitor::divide ( unsigned int  maxNumTreesPerCell = 8  ) 

bool osgUtil::Optimizer::SpatializeGroupsVisitor::divide ( osg::Group group,
unsigned int  maxNumTreesPerCell 
)


Member Data Documentation

GroupsToDivideList osgUtil::Optimizer::SpatializeGroupsVisitor::_groupsToDivideList


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:51 2007 for the OpenSceneGraph by doxygen 1.5.3.