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

osgUtil::SmoothingVisitor Class Reference

A smoothing visitor for calculating smoothed normals for osg::GeoSet's which contains surface primitives. More...

Inheritance diagram for osgUtil::SmoothingVisitor:

Inheritance graph
[legend]
List of all members.

Public Methods

 SmoothingVisitor ()
 default to traversing all children.

virtual void apply (osg::Geode &geode)
 apply smoothing method to all geode geosets.


Static Public Methods

void smooth (osg::Geometry &geoset)
 smooth geoset by creating per vertex normals.


Detailed Description

A smoothing visitor for calculating smoothed normals for osg::GeoSet's which contains surface primitives.


Constructor & Destructor Documentation

osgUtil::SmoothingVisitor::SmoothingVisitor   [inline]
 

default to traversing all children.


Member Function Documentation

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

apply smoothing method to all geode geosets.

Reimplemented from osg::NodeVisitor.

void osgUtil::SmoothingVisitor::smooth osg::Geometry   geoset [static]
 

smooth geoset by creating per vertex normals.


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.