Inheritance diagram for osgUtil::TriStripVisitor:

Public Member Functions | |
| TriStripVisitor (Optimizer *optimizer=0) | |
| default to traversing all children. | |
| void | stripify (osg::Geometry &drawable) |
| Convert mesh primitives in Geometry into Tri Strips. | |
| void | stripify () |
| Stripify (make into strips of tria or quads) the accumulated list of Geometry drawables. | |
| virtual void | apply (osg::Geode &geode) |
| Accumulate the Geometry drawables to make into strips. | |
| void | setCacheSize (unsigned int size) |
| unsigned int | getCacheSize () |
| const unsigned int | getCacheSize () const |
| void | setMinStripSize (unsigned int size) |
| unsigned int | getMinStripSize () |
| const unsigned int | getMinStripSize () const |
| void | setGenerateFourPointPrimitivesQuads (bool flag) |
| bool | getGenerateFourPointPrimitivesQuads () const |
The current implemention is based upon Tanguy Fautre's triangulation code.
|
|
default to traversing all children.
|
|
|
Accumulate the Geometry drawables to make into strips.
Reimplemented from osg::NodeVisitor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stripify (make into strips of tria or quads) the accumulated list of Geometry drawables.
|
|
|
Convert mesh primitives in Geometry into Tri Strips. Converts all primitive types except points and lines, linestrips which it leaves unchanged. |