openscenegraph
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
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.

Classes

class  BoneWeight
class  UniqBoneSetVertexSet

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

Detailed Description

This class manage format for hardware skinning.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

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]
virtual void osgAnimation::RigTransformSoftware::operator() ( RigGeometry ) [virtual]

Reimplemented from osgAnimation::RigTransform.


Member Data Documentation


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