class OSGUTIL_EXPORT osgUtil::TriStripVisitor

A tri stripping visitor for converting Geometry surface primitives into tri strips.

Inheritance:


Public Methods

[more] TriStripVisitor()
default to traversing all children
[more]void stripify(osg::Geometry& drawable)
convert mesh primitives in Geometry into Tri Strips using NvTriStrip.
[more]virtual void apply(osg::Geode& geode)
apply stripify method to all geode geometry
[more]inline void setCacheSize( unsigned int size )
[more]inline unsigned int getCacheSize()
[more]inline const unsigned int getCacheSize() const
[more]inline void setMinStripSize( unsigned int size )
[more]inline unsigned int getMinStripSize()
[more]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.
o TriStripVisitor()
default to traversing all children

ovoid 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.

ovirtual void apply(osg::Geode& geode)
apply stripify method to all geode geometry

oinline void setCacheSize( unsigned int size )

oinline unsigned int getCacheSize()

oinline const unsigned int getCacheSize() const

oinline void setMinStripSize( unsigned int size )

oinline unsigned int getMinStripSize()

oinline 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++.