typedef std::map<const osg::Object*,unsigned int> osgUtil::Optimizer::PermissibleOptimizationsMap [protected] |
osgUtil::Optimizer::Optimizer | ( | ) | [inline] |
virtual osgUtil::Optimizer::~Optimizer | ( | ) | [inline, virtual] |
const IsOperationPermissibleForObjectCallback* osgUtil::Optimizer::getIsOperationPermissibleForObjectCallback | ( | ) | const [inline] |
Get the callback for customizing what operations are permitted on objects in the scene graph.
IsOperationPermissibleForObjectCallback* osgUtil::Optimizer::getIsOperationPermissibleForObjectCallback | ( | ) | [inline] |
Get the callback for customizing what operations are permitted on objects in the scene graph.
unsigned int osgUtil::Optimizer::getPermissibleOptimizationsForObject | ( | const osg::Object * | object | ) | const [inline] |
bool osgUtil::Optimizer::isOperationPermissibleForObject | ( | const osg::Node * | object, | |
unsigned int | option | |||
) | const [inline] |
bool osgUtil::Optimizer::isOperationPermissibleForObject | ( | const osg::Drawable * | object, | |
unsigned int | option | |||
) | const [inline] |
bool osgUtil::Optimizer::isOperationPermissibleForObject | ( | const osg::StateAttribute * | object, | |
unsigned int | option | |||
) | const [inline] |
bool osgUtil::Optimizer::isOperationPermissibleForObject | ( | const osg::StateSet * | object, | |
unsigned int | option | |||
) | const [inline] |
bool osgUtil::Optimizer::isOperationPermissibleForObjectImplementation | ( | const osg::Node * | node, | |
unsigned int | option | |||
) | const [inline] |
bool osgUtil::Optimizer::isOperationPermissibleForObjectImplementation | ( | const osg::Drawable * | drawable, | |
unsigned int | option | |||
) | const [inline] |
bool osgUtil::Optimizer::isOperationPermissibleForObjectImplementation | ( | const osg::StateAttribute * | attribute, | |
unsigned int | option | |||
) | const [inline] |
bool osgUtil::Optimizer::isOperationPermissibleForObjectImplementation | ( | const osg::StateSet * | stateset, | |
unsigned int | option | |||
) | const [inline] |
virtual void osgUtil::Optimizer::optimize | ( | osg::Node * | node, | |
unsigned int | options | |||
) | [virtual] |
Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions.
void osgUtil::Optimizer::optimize | ( | osg::Node * | node | ) |
Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions.
void osgUtil::Optimizer::reset | ( | ) |
Reset internal data to initial state - the getPermissibleOptionsMap is cleared.
void osgUtil::Optimizer::setIsOperationPermissibleForObjectCallback | ( | IsOperationPermissibleForObjectCallback * | callback | ) | [inline] |
Set the callback for customizing what operations are permitted on objects in the scene graph.
void osgUtil::Optimizer::setPermissibleOptimizationsForObject | ( | const osg::Object * | object, | |
unsigned int | options | |||
) | [inline] |
osg::ref_ptr<IsOperationPermissibleForObjectCallback> osgUtil::Optimizer::_isOperationPermissibleForObjectCallback [protected] |