Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# osgUtil::Optimizer::SpatializeGroupsVisitor Class Reference

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

Inheritance diagram for osgUtil::Optimizer::SpatializeGroupsVisitor:

[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 | ( | osg::Group * | group,
|  | unsigned int | maxNumTreesPerCell
| ) |

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

## Member Data Documentation

GroupsToDivideList osgUtil::Optimizer::SpatializeGroupsVisitor::_groupsToDivideList

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

- Optimizer