osgAnimation::RigTransformSoftware Class Reference

This class manage format for hardware skinning. More...

Inheritance diagram for osgAnimation::RigTransformSoftware:

osgAnimation::RigTransform osg::Referenced

List of all members.

Public Types

typedef std::vector< BoneWeightBoneWeightList
typedef std::vector< int > VertexList

Public Member Functions

 RigTransformSoftware ()
virtual void operator() (RigGeometry &)
template<class V>
void compute (const osg::Matrix &transform, const osg::Matrix &invTransform, const V *src, V *dst)
template<class V>
void computeNormal (const osg::Matrix &transform, const osg::Matrix &invTransform, const V *src, V *dst)

Protected Member Functions

bool init (RigGeometry &)
void initVertexSetFromBones (const BoneMap &map, const VertexInfluenceSet::UniqVertexSetToBoneSetList &influence)

Protected Attributes

std::vector< UniqBoneSetVertexSet_boneSetVertexSet
bool _needInit

Classes

class  BoneWeight
class  UniqBoneSetVertexSet


Detailed Description

This class manage format for hardware skinning.

Member Typedef Documentation


Constructor & Destructor Documentation

osgAnimation::RigTransformSoftware::RigTransformSoftware (  ) 


Member Function Documentation

virtual void osgAnimation::RigTransformSoftware::operator() ( RigGeometry  )  [virtual]

Reimplemented from osgAnimation::RigTransform.

template<class V>
void osgAnimation::RigTransformSoftware::compute ( const osg::Matrix transform,
const osg::Matrix invTransform,
const V *  src,
V *  dst 
) [inline]

template<class V>
void osgAnimation::RigTransformSoftware::computeNormal ( const osg::Matrix transform,
const osg::Matrix invTransform,
const V *  src,
V *  dst 
) [inline]

bool osgAnimation::RigTransformSoftware::init ( RigGeometry  )  [protected]

void osgAnimation::RigTransformSoftware::initVertexSetFromBones ( const BoneMap map,
const VertexInfluenceSet::UniqVertexSetToBoneSetList influence 
) [protected]


Member Data Documentation


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

Generated on Sat Mar 20 12:34:00 2010 for openscenegraph by  doxygen 1.5.6