|
QSDK 1.1 Documentation |
#include <Q/q.h>
Inheritance diagram for Q::Skin:

Public Member Functions | |
| Skin () | |
| Skin (const char *name) | |
| unsigned int | jointCount () const |
| float | weight (unsigned int wi, unsigned int ji) const |
| unsigned int | vertexCount () const |
| unsigned int | triangleCount () const |
| unsigned int | wedgeCount () const |
| Utils::Result | setWeight (unsigned int wi, unsigned int ji, float w) |
| TriangleIterator | triangles () |
| VertexIterator | vertices () |
| WedgeIterator | wedges () |
| Utils::Result | setCollideable (bool b) |
Static Public Member Functions | |
| Skin | create (const char *name, const Database &db=Database()) |
| Skin | find (const char *name) |
| ClassType | classType () |
| Skin | cast (const ObjectBase &) |
The Skin object is similar to Mesh in that it contains a set of vertices, wedges and triangles. The difference is that whereas Mesh is transformed rigidly by a single Group, the Skin object blends the transformations of a set of Group's. Each vertex in the skin can be affected by several transformations and each transform is weighted by a value between zero and one and the results summed to obtain the transformed position of the vertex.
The mapping between the skin and the list of groups (also called joints) is held (along with other geometry) within a Cluster.
|
|
Create a null skin reference. |
|
|
Search the currently attached databases for a skin with the given name. |
|
|
If the object referenced by
Reimplemented from Q::Geom. |
|
|
Return the type for this class |
|
||||||||||||
|
Create a new skin named |
|
|
Search the currently attached databases for a skin with the given name and return that object, if it exists. |
|
|
Return the number of joints used by the skin. |
|
|
Set the collidability properties (i.e. collidee and collider) of the skin based on the value of |
|
||||||||||||||||
|
Set the weight of the joint with index |
|
|
Return the number of triangles in the skin. |
|
|
Return an iterator that can be used to examine and edit the triangles for a skin. |
|
|
Return the number of vertices in the skin. |
|
|
Return an iterator that can be used to examine and edit the vertices for a skin. |
|
|
Return the number of wedges in the skin. |
|
|
Return an iterator that can be used to examine and edit the wedges for a skin. |
|
||||||||||||
|
Return the weighting of the joint with index |
|
|
|
Qube Software Limited © 2000-2004
|
|