OpenSceneGraph  3.4.0
Public Types | Public Member Functions | Public Attributes
osgUtil::StatsVisitor Class Reference

StatsVisitor for collecting statistics about scene graph. More...

Inheritance diagram for osgUtil::StatsVisitor:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::set< osg::Node * > NodeSet
typedef std::set< osg::Drawable * > DrawableSet
typedef std::set< osg::StateSet * > StateSetSet

Public Member Functions

 StatsVisitor ()
 META_NodeVisitor (osgUtil, StatsVisitor) virtual void reset()
virtual void apply (osg::Node &node)
virtual void apply (osg::Group &node)
virtual void apply (osg::Transform &node)
virtual void apply (osg::LOD &node)
virtual void apply (osg::Switch &node)
virtual void apply (osg::Geode &node)
virtual void apply (osg::Drawable &drawable)
virtual void apply (osg::StateSet &ss)
virtual void totalUpStats ()
virtual void print (std::ostream &out)

Public Attributes

unsigned int _numInstancedGroup
unsigned int _numInstancedSwitch
unsigned int _numInstancedLOD
unsigned int _numInstancedTransform
unsigned int _numInstancedGeode
unsigned int _numInstancedDrawable
unsigned int _numInstancedGeometry
unsigned int _numInstancedFastGeometry
unsigned int _numInstancedStateSet
NodeSet _groupSet
NodeSet _transformSet
NodeSet _lodSet
NodeSet _switchSet
NodeSet _geodeSet
DrawableSet _drawableSet
DrawableSet _geometrySet
DrawableSet _fastGeometrySet
StateSetSet _statesetSet
osgUtil::Statistics _uniqueStats
osgUtil::Statistics _instancedStats

Detailed Description

StatsVisitor for collecting statistics about scene graph.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

virtual void osgUtil::StatsVisitor::apply ( osg::Node node) [virtual]

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::StatsVisitor::apply ( osg::Group node) [virtual]

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::StatsVisitor::apply ( osg::Transform node) [virtual]

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::StatsVisitor::apply ( osg::LOD node) [virtual]

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::StatsVisitor::apply ( osg::Switch node) [virtual]

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::StatsVisitor::apply ( osg::Geode node) [virtual]

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::StatsVisitor::apply ( osg::Drawable drawable) [virtual]

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::StatsVisitor::apply ( osg::StateSet ss) [virtual]
virtual void osgUtil::StatsVisitor::print ( std::ostream &  out) [virtual]
virtual void osgUtil::StatsVisitor::totalUpStats ( ) [virtual]

Member Data Documentation


The documentation for this class was generated from the following file:

osg logo
Generated at Tue Dec 8 2015 00:16:51 for the OpenSceneGraph by doxygen 1.7.6.1.