Classes | Namespaces | Functions
TriangleNormalGenerator.h File Reference
#include <osg/NodeVisitor>
#include <osg/Geode>
#include <osg/Geometry>
#include <osg/TriangleIndexFunctor>

Go to the source code of this file.

Classes

class  SurgSim::Graphics::TriangleNormalGenerator
 Triangle index functor which calculates normals for the vertices of a geometry, use createNormalGenerator to instantiate this. More...
 

Namespaces

 SurgSim
 
 SurgSim::Graphics
 

Functions

osg::TriangleIndexFunctor< TriangleNormalGenerator > SurgSim::Graphics::createNormalGenerator (osg::Vec3Array *vertexArray, osg::Vec3Array *normalArray)