OpenSceneGraph  3.0.1
Public Member Functions | Public Attributes | Protected Attributes
osgUtil::VertexCacheMissVisitor Class Reference
Inheritance diagram for osgUtil::VertexCacheMissVisitor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 VertexCacheMissVisitor (unsigned cacheSize=16)
void reset ()
 Method to call to reset visitor.
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:

osg logo
Generated at Mon Oct 3 2011 12:39:50 for the OpenSceneGraph by doxygen 1.7.5.