OpenSceneGraph 2.8.3
|
A smoothing visitor for calculating smoothed normals for osg::GeoSet's which contains surface primitives. More...
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. |
A smoothing visitor for calculating smoothed normals for osg::GeoSet's which contains surface primitives.
osgUtil::SmoothingVisitor::SmoothingVisitor | ( | ) |
default to traversing all children.
virtual osgUtil::SmoothingVisitor::~SmoothingVisitor | ( | ) | [virtual] |
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.
![]() | Generated at Tue Mar 22 2011 13:20:30 for the OpenSceneGraph by doxygen 1.7.3. |