class ExpressionNS::cheekMuscle

The cheek muscle deforms along the vertex normals based on the distance to the center of the muscle, mostly a hack to get the cheeks to inflate.

Inheritance:


Public Fields

[more]std::vector<int> taglist
list of points effected by muscle
[more]Vertex* skin
location of point on skin the muscle pulls at
[more]Vertex* bone
location of point on bone the muscle pulls towards
[more]float zone
zone of influence (angle)
[more]float fs
distance to start of contraction
[more]float fe
distance to end of contraction
[more]float clampv
scaling value

Public Methods

[more] cheekMuscle ( char* name, Vertex ihead, Vertex itail, float ifs, float fe, float zone, float clampv, ExpMeshAdapter* bob)
[more]void ActivateMuscle ( const float val)
[more]void PrintData ()
[more]void Draw (bool selected)


Inherited from Muscle:

Public Fields

oExpMeshAdapter* mesh
ostd::string name


Documentation

The cheek muscle deforms along the vertex normals based on the distance to the center of the muscle, mostly a hack to get the cheeks to inflate. Still a little flaky however. The core math should probably be revisited.
ostd::vector<int> taglist
list of points effected by muscle

oVertex* skin
location of point on skin the muscle pulls at

oVertex* bone
location of point on bone the muscle pulls towards

ofloat zone
zone of influence (angle)

ofloat fs
distance to start of contraction

ofloat fe
distance to end of contraction

ofloat clampv
scaling value

o cheekMuscle( char* name, Vertex ihead, Vertex itail, float ifs, float fe, float zone, float clampv, ExpMeshAdapter* bob)

ovoid ActivateMuscle( const float val)

ovoid PrintData()

ovoid Draw(bool selected)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.