class OSGUTIL_EXPORT osgUtil::InsertImpostorsVisitor

Insert impostor nodes into scene graph.

Inheritance:


Public Methods

[more] InsertImpostorsVisitor()
default to traversing all children
[more]void setImpostorThresholdRatio(const float ratio)
[more]const float getImpostorThresholdRatio() const
[more]void setMaximumNumberOfNestedImpostors(const unsigned int num)
[more]const unsigned int getMaximumNumberOfNestedImpostors() const
[more]void reset()
empty visitor, make it ready for next traversal
[more]virtual void apply(osg::Node& node)
[more]virtual void apply(osg::Group& node)
[more]virtual void apply(osg::LOD& node)
[more]virtual void apply(osg::Impostor& node)
[more]void insertImpostors()

Protected Fields

[more]LODList _lodList
[more]float _impostorThresholdRatio
[more]unsigned int _maximumNumNestedImpostors
[more]unsigned int _numNestedImpostors

Protected Members

[more]typedef std::vector< osg::LOD* > LODList GroupList _groupList


Documentation

Insert impostor nodes into scene graph. For example of usage see src/Demos/osgimpostor.
o InsertImpostorsVisitor()
default to traversing all children

ovoid setImpostorThresholdRatio(const float ratio)

oconst float getImpostorThresholdRatio() const

ovoid setMaximumNumberOfNestedImpostors(const unsigned int num)

oconst unsigned int getMaximumNumberOfNestedImpostors() const

ovoid reset()
empty visitor, make it ready for next traversal

ovirtual void apply(osg::Node& node)

ovirtual void apply(osg::Group& node)

ovirtual void apply(osg::LOD& node)

ovirtual void apply(osg::Impostor& node)

ovoid insertImpostors()

otypedef std::vector< osg::LOD* > LODList GroupList _groupList

oLODList _lodList

ofloat _impostorThresholdRatio

ounsigned int _maximumNumNestedImpostors

ounsigned int _numNestedImpostors


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.