openscenegraph
Public Member Functions | Public Attributes | Protected Attributes
osgUtil::VertexCacheMissVisitor Class Reference
Inheritance diagram for osgUtil::VertexCacheMissVisitor:
osg::NodeVisitor osg::Referenced

List of all members.

Public Member Functions

 VertexCacheMissVisitor (unsigned cacheSize=16)
void reset ()
virtual void apply (osg::Geode &geode)
void doGeometry (osg::Geometry &geom)

Public Attributes

unsigned misses
unsigned triangles

Protected Attributes

const unsigned _cacheSize

Constructor & Destructor Documentation

osgUtil::VertexCacheMissVisitor::VertexCacheMissVisitor ( unsigned  cacheSize = 16)

Member Function Documentation

virtual void osgUtil::VertexCacheMissVisitor::apply ( osg::Geode geode) [virtual]

Reimplemented from osg::NodeVisitor.

void osgUtil::VertexCacheMissVisitor::doGeometry ( osg::Geometry geom)
void osgUtil::VertexCacheMissVisitor::reset ( ) [virtual]

Method to call to reset visitor. Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal.

Reimplemented from osg::NodeVisitor.


Member Data Documentation

const unsigned osgUtil::VertexCacheMissVisitor::_cacheSize [protected]

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