CalcNormalFunctor Struct Reference

List of all members.

Public Types

typedef std::multiset< const
osg::Vec3
*, osgModeling::LessPtr > 
CoordinateSet

Public Member Functions

void setNormalParameters (osg::Vec3 *nb, bool flip, int method, double t)
void incNormal (const osg::Vec3 &vec, const osg::Vec3 &normal, double weight)
 CalcNormalFunctor ()
void setVerticsPtr (osg::Vec3 *cb, unsigned int cs)
void operator() (const osg::Vec3 &v1, const osg::Vec3 &v2, const osg::Vec3 &v3, bool treatVertexDataAsTemporary)

Public Attributes

unsigned int _coordSize
CoordinateSet _coordSet
osg::Vec3 * _coordBase
bool _flip
int _method
double _threshold
osg::Vec3 * _normalBase
VECTOR< osg::Vec3 > _lastNormalRecorder

Member Typedef Documentation

typedef std::multiset<const osg::Vec3*, osgModeling::LessPtr> CalcNormalFunctor::CoordinateSet

Constructor & Destructor Documentation

CalcNormalFunctor::CalcNormalFunctor (  )  [inline]

Member Function Documentation

void CalcNormalFunctor::incNormal ( const osg::Vec3 &  vec,
const osg::Vec3 &  normal,
double  weight 
) [inline]
void CalcNormalFunctor::operator() ( const osg::Vec3 &  v1,
const osg::Vec3 &  v2,
const osg::Vec3 &  v3,
bool  treatVertexDataAsTemporary 
) [inline]
void CalcNormalFunctor::setNormalParameters ( osg::Vec3 *  nb,
bool  flip,
int  method,
double  t 
) [inline]
void CalcNormalFunctor::setVerticsPtr ( osg::Vec3 *  cb,
unsigned int  cs 
) [inline]

Member Data Documentation


The documentation for this struct was generated from the following file:

Generated on Thu Jan 14 20:50:12 2010 for TerrainEditor by  doxygen 1.6.1