Inheritance diagram for osgSim::InsertImpostorsVisitor:
Public Member Functions | |
InsertImpostorsVisitor () | |
Default to traversing all children. | |
void | setImpostorThresholdRatio (float ratio) |
float | getImpostorThresholdRatio () const |
void | setMaximumNumberOfNestedImpostors (unsigned int num) |
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) |
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 examples/osgimpostor.
|
|
|
|
|
Default to traversing all children.
|
|
Reimplemented from osg::NodeVisitor. |
|
Reimplemented from osg::NodeVisitor. |
|
Reimplemented from osg::NodeVisitor. |
|
|
|
|
|
|
|
Empty visitor, make it ready for next traversal.
Reimplemented from osg::NodeVisitor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|