14#ifndef OSGSIM_INSERTIMPOSTORSVISITOR
15#define OSGSIM_INSERTIMPOSTORSVISITOR
The osgSim library is a NodeKit that extends the core scene graph to support nodes and drawables that...
Definition BlinkSequence:27
General group node which maintains a list of children.
Definition Group:29
LOD - Level Of Detail group node which allows switching between children depending on distance from e...
Definition LOD:36
Base class for all internal nodes in the scene graph.
Definition Node:72
Visitor for type safe operations on osg::Nodes.
Definition NodeVisitor:82
META_NodeVisitor(osgSim, InsertImpostorsVisitor) void setImpostorThresholdRatio(float ratio)
Definition InsertImpostorsVisitor:32
virtual void apply(osg::Group &node)
GroupList _groupList
Definition InsertImpostorsVisitor:57
InsertImpostorsVisitor()
Default to traversing all children.
unsigned int _numNestedImpostors
Definition InsertImpostorsVisitor:62
virtual void apply(osg::LOD &node)
float _impostorThresholdRatio
Definition InsertImpostorsVisitor:60
LODList _lodList
Definition InsertImpostorsVisitor:58
std::vector< osg::LOD * > LODList
Definition InsertImpostorsVisitor:55
std::vector< osg::Group * > GroupList
Definition InsertImpostorsVisitor:54
unsigned int _maximumNumNestedImpostors
Definition InsertImpostorsVisitor:61
void setMaximumNumberOfNestedImpostors(unsigned int num)
Definition InsertImpostorsVisitor:37
void reset()
Empty visitor, make it ready for next traversal.
unsigned int getMaximumNumberOfNestedImpostors() const
Definition InsertImpostorsVisitor:38
float getImpostorThresholdRatio() const
Definition InsertImpostorsVisitor:35
virtual void apply(osg::Node &node)
#define OSGSIM_EXPORT
Definition Export:38