osgUtil::SmoothingVisitor Class Reference

Inheritance diagram for osgUtil::SmoothingVisitor:

osg::NodeVisitor osg::Referenced List of all members.

Public Member Functions

 SmoothingVisitor ()
 default to traversing all children.
virtual ~SmoothingVisitor ()
virtual void apply (osg::Geode &geode)
 apply smoothing method to all geode geosets.

Static Public Member Functions

static 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 (  ) 

default to traversing all children.

virtual osgUtil::SmoothingVisitor::~SmoothingVisitor (  )  [virtual]


Member Function Documentation

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

apply smoothing method to all geode geosets.

Reimplemented from osg::NodeVisitor.

static 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 on Sun Oct 1 13:17:14 2006 for openscenegraph by  doxygen 1.4.7