Google

class OSGUTIL_EXPORT osgUtil::InsertImpostorsVisitor

Insert impostor nodes into scene graph.

Inheritance:


Public Methods

[more] InsertImpostorsVisitor()
default to traversing all children
[more]void setImpostorThresholdRatio(float ratio)
[more]float getImpostorThresholdRatio() const
[more]void setMaximumNumberOfNestedImpostors(unsigned int num)
[more]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]GroupList _groupList
[more]LODList _lodList
[more]float _impostorThresholdRatio
[more]unsigned int _maximumNumNestedImpostors
[more]unsigned int _numNestedImpostors

Protected Members

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


Documentation

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

ovoid setImpostorThresholdRatio(float ratio)

ofloat getImpostorThresholdRatio() const

ovoid setMaximumNumberOfNestedImpostors(unsigned int num)

ounsigned 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::Group* > GroupList

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

oGroupList _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++.