A tri stripping visitor for converting Geometry surface primitives into tri strips.
Inheritance:
Public Methods
-
TriStripVisitor()
- default to traversing all children
-
void stripify(osg::Geometry& drawable)
- convert mesh primitives in Geometry into Tri Strips using NvTriStrip.
-
virtual void apply(osg::Geode& geode)
- apply stripify method to all geode geometry
-
inline void setCacheSize( unsigned int size )
-
inline unsigned int getCacheSize()
-
inline const unsigned int getCacheSize() const
-
inline void setMinStripSize( unsigned int size )
-
inline unsigned int getMinStripSize()
-
inline const unsigned int getMinStripSize() const
Documentation
A tri stripping visitor for converting Geometry surface primitives into tri strips.
The current implemention is based up NVidia's NvTriStrip.
TriStripVisitor()
- default to traversing all children
void stripify(osg::Geometry& drawable)
- convert mesh primitives in Geometry into Tri Strips using
NvTriStrip. Converts all primitive types except points
and lines, linestrips which it leaves unchanged.
virtual void apply(osg::Geode& geode)
- apply stripify method to all geode geometry
inline void setCacheSize( unsigned int size )
inline unsigned int getCacheSize()
inline const unsigned int getCacheSize() const
inline void setMinStripSize( unsigned int size )
inline unsigned int getMinStripSize()
inline const unsigned int getMinStripSize() const
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.