Inheritance diagram for osgUtil::InsertImpostorsVisitor:

Public Methods | |
| InsertImpostorsVisitor () | |
| default to traversing all children. | |
| void | setImpostorThresholdRatio (const float ratio) |
| const float | getImpostorThresholdRatio () const |
| void | setMaximumNumberOfNestedImpostors (const unsigned int num) |
| const unsigned int | getMaximumNumberOfNestedImpostors () const |
| void | reset () |
| empty visitor, make it ready for next traversal. | |
| virtual void | apply (osg::Node &node) |
| virtual void | apply (osg::Group &node) |
| virtual void | apply (osg::LOD &node) |
| virtual void | apply (osg::Impostor &node) |
| void | insertImpostors () |
Protected Types | |
| typedef std::vector< osg::Group * > | GroupList |
| typedef std::vector< osg::LOD * > | LODList |
Protected Attributes | |
| GroupList | _groupList |
| LODList | _lodList |
| float | _impostorThresholdRatio |
| unsigned int | _maximumNumNestedImpostors |
| unsigned int | _numNestedImpostors |
For example of usage see src/Demos/osgimpostor.
|
|
|
|
|
|
|
|
default to traversing all children.
|
|
|
Reimplemented from osg::NodeVisitor. |
|
|
Reimplemented from osg::NodeVisitor. |
|
|
Reimplemented from osg::NodeVisitor. |
|
|
Reimplemented from osg::NodeVisitor. |
|
|
|
|
|
|
|
|
|
|
|
empty visitor, make it ready for next traversal.
Reimplemented from osg::NodeVisitor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|