OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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...

#include <RigTransformSoftware.h>

Inheritance diagram for osgAnimation::RigTransformSoftware:
Inheritance graph
[legend]
Collaboration diagram for osgAnimation::RigTransformSoftware:
Collaboration graph
[legend]

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.

Definition at line 30 of file RigTransformSoftware.h.

Member Typedef Documentation

Definition at line 50 of file RigTransformSoftware.h.

Definition at line 51 of file RigTransformSoftware.h.

Constructor & Destructor Documentation

osgAnimation::RigTransformSoftware::RigTransformSoftware ( )

Member Function Documentation

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

Definition at line 121 of file RigTransformSoftware.h.

Here is the call graph for this function:

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

Definition at line 142 of file RigTransformSoftware.h.

Here is the call graph for this function:

bool osgAnimation::RigTransformSoftware::init ( RigGeometry )
protected
void osgAnimation::RigTransformSoftware::initVertexSetFromBones ( const BoneMap map,
const VertexInfluenceSet::UniqVertexSetToBoneSetList influence 
)
protected
virtual void osgAnimation::RigTransformSoftware::operator() ( RigGeometry )
virtual

Reimplemented from osgAnimation::RigTransform.

Member Data Documentation

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

Definition at line 165 of file RigTransformSoftware.h.

bool osgAnimation::RigTransformSoftware::_needInit
protected

Definition at line 167 of file RigTransformSoftware.h.


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