Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osgUtil::TriStripVisitor Class Reference

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

Inheritance diagram for osgUtil::TriStripVisitor:

Inheritance graph
[legend]
List of all members.

Public Methods

 TriStripVisitor ()
 default to traversing all children.

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


Static Public Methods

void stripify (osg::Geometry &drawable)
 convert mesh primitives in Geometry into Tri Strips using NvTriStrip.


Detailed Description

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

The current implemention is based up NVidia's NvTriStrip.


Constructor & Destructor Documentation

osgUtil::TriStripVisitor::TriStripVisitor   [inline]
 

default to traversing all children.


Member Function Documentation

virtual void osgUtil::TriStripVisitor::apply osg::Geode   geode [virtual]
 

apply stripify method to all geode geometry.

Reimplemented from osg::NodeVisitor.

void osgUtil::TriStripVisitor::stripify osg::Geometry   drawable [static]
 

convert mesh primitives in Geometry into Tri Strips using NvTriStrip.

Converts all primitive types except points and lines, linestrips which it leaves unchanged.


The documentation for this class was generated from the following file:
Generated at Wed Sep 18 13:56:02 2002 for the Open Scene Graph by doxygen 1.2.16.