openscenegraph
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
osgAnimation::RigTransformSoftware Class Reference

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

Inheritance diagram for osgAnimation::RigTransformSoftware:
osgAnimation::RigTransform osg::Referenced

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)
 
- Public Member Functions inherited from osgAnimation::RigTransform
 RigTransform ()
 
virtual ~RigTransform ()
 
- Public Member Functions inherited from osg::Referenced
 Referenced ()
 
 Referenced (bool threadSafeRefUnref)
 
 Referenced (const Referenced &)
 
Referencedoperator= (const Referenced &)
 
virtual void setThreadSafeRefUnref (bool threadSafe)
 
bool getThreadSafeRefUnref () const
 
OpenThreads::MutexgetRefMutex () const
 
int ref () const
 
int unref () const
 
int unref_nodelete () const
 
int referenceCount () const
 
ObserverSetgetObserverSet () const
 
ObserverSetgetOrCreateObserverSet () const
 
void addObserver (Observer *observer) const
 
void removeObserver (Observer *observer) const
 

Protected Member Functions

bool init (RigGeometry &)
 
void initVertexSetFromBones (const BoneMap &map, const VertexInfluenceSet::UniqVertexSetToBoneSetList &influence)
 
- Protected Member Functions inherited from osg::Referenced
virtual ~Referenced ()
 
void signalObserversAndDelete (bool signalDelete, bool doDelete) const
 
void deleteUsingDeleteHandler () const
 

Protected Attributes

std::vector< UniqBoneSetVertexSet_boneSetVertexSet
 
bool _needInit
 
- Protected Attributes inherited from osg::Referenced
OpenThreads::AtomicPtr _observerSet
 
OpenThreads::Atomic _refCount
 

Additional Inherited Members

- Static Public Member Functions inherited from osg::Referenced
static OpenThreads::MutexgetGlobalReferencedMutex ()
 
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 
static bool getThreadSafeReferenceCounting ()
 
static void setDeleteHandler (DeleteHandler *handler)
 
static DeleteHandlergetDeleteHandler ()
 

Detailed Description

This class manage format for software skinning.

Member Typedef Documentation

§ BoneWeightList

§ VertexList

Constructor & Destructor Documentation

§ RigTransformSoftware()

osgAnimation::RigTransformSoftware::RigTransformSoftware ( )

Member Function Documentation

§ compute()

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

§ computeNormal()

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

§ init()

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

§ initVertexSetFromBones()

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

§ operator()()

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

Reimplemented from osgAnimation::RigTransform.

Member Data Documentation

§ _boneSetVertexSet

std::vector<UniqBoneSetVertexSet> osgAnimation::RigTransformSoftware::_boneSetVertexSet
protected

§ _needInit

bool osgAnimation::RigTransformSoftware::_needInit
protected

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