class OSGUTIL_EXPORT osgUtil::OptimizeVisitor

A smoothing visitor for calculating smoothed normals for osg::GeoSet's which contains surface primitives

Inheritance:


Public Methods

[more] OptimizeVisitor()
default to traversing all children
[more]void setImpostorThresholdRatio(const float ratio)
[more]const float getImpostorThresholdRatio()
[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

Protected Members

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


Documentation

A smoothing visitor for calculating smoothed normals for osg::GeoSet's which contains surface primitives
o OptimizeVisitor()
default to traversing all children

ovoid setImpostorThresholdRatio(const float ratio)

oconst float getImpostorThresholdRatio()

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


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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