fluidvis
Public Member Functions | Public Attributes | List of all members
sx::BoneTransform Struct Reference

#include <SXCore.h>

Public Member Functions

EX BoneTransform ()
 

Public Attributes

string boneID
 
Matrixinput
 
Matrixoutput
 

Detailed Description

Description of a bone's movement with id boneID. Matrix input describes a transformation of the bone in its joint space. Matrix output is the transformation of the vertices bound to the bone from model space coordinates in bind pose into model space coordinates after the movement of the bone and its parent bones. class Skeleton takes the state of the input matrices into consideration to calculate the output matrices.

Constructor & Destructor Documentation

EX sx::BoneTransform::BoneTransform ( )

initializes input and output with NULL pointers

Member Data Documentation

string sx::BoneTransform::boneID

identifier of the bone

Matrix* sx::BoneTransform::input

Describes the movement of the bone as a tranformation in joint space. input may be 0. In this case, input is assumed to be the identity matrix.

Matrix* sx::BoneTransform::output

Describes the movement of the vertices bound to this bone from the bind pose into the pose after the movement in model space coordinates. output may be 0. In this case, output is simply ignored by a Skeleton calculating the output matrix.


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