Developer Documentation
BaseSkin Class Referenceabstract

Abstract base class for the skin template, wrapping all template versions of the skin. More...

#include <Type-Skeleton/ObjectTypes/Skeleton/BaseSkin.hh>

Inheritance diagram for BaseSkin:
PerObjectData SkinT< MeshT >

Classes

struct  DefaultPose
 Holds the skins default pose. More...
 

Public Types

Properties

These structures store mesh properties used to make the mesh a skin.

typedef std::map< unsigned int, double > SkinWeights
 Stores the joint weights per vertex. More...
 

Public Member Functions

 BaseSkin (int _skeletonId)
 
Skinning

These methods are related to using a mesh as skin with this skeleton.

virtual void attachSkin ()=0
 
virtual void deformSkin ()=0
 
virtual void deformSkin (const AnimationHandle &_hAni, Blending::Method _method=Blending::M_LBS)=0
 
virtual void releaseSkin ()=0
 
Information about the attached skeleton
int skeletonId ()
 
- Public Member Functions inherited from PerObjectData
 PerObjectData ()
 You have to provide your own constructor for your object.
 
virtual PerObjectDatacopyPerObjectData ()
 Copy Function. More...
 

Private Attributes

int skeleton_
 Holds the associated skeleton.
 

Detailed Description

Abstract base class for the skin template, wrapping all template versions of the skin.

Definition at line 62 of file BaseSkin.hh.

Member Typedef Documentation

◆ SkinWeights

typedef std::map<unsigned int, double> BaseSkin::SkinWeights

Stores the joint weights per vertex.

In general every joint can influence every vertex. In practice only a small number of joints manipulate a vertex. Therefore they are stored in a map using the joint identifier as key. The weights for one vertex are supposed to sum to one.

Definition at line 94 of file BaseSkin.hh.


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