Quaternion< float > Quaternionf
SkeletonStateT< float > SkeletonState
VectorX< float > VectorXf
MatrixX< float > MatrixXf
Computes shape deformations based on joint rotations.
size_t baseJoint
Index of the joint used as reference for computing relative rotations.
MatrixXf shapeVectors
Shape deformation vectors for each quaternion component of each joint.
std::vector< Vector3f > compute(const SkeletonState &state) const
Computes the deformed shape vertices for the given skeleton pose.
VectorXf baseShape
Base shape vertices stored as a flat vector [x1,y1,z1,x2,y2,z2,...].
std::vector< size_t > jointMap
Indices of joints whose rotations drive the shape deformation.
Quaternionf baseRot
Base rotation used as reference for computing rotation differences.
bool isApprox(const PoseShape &poseShape) const
Returns true if all members are approximately equal (uses Eigen::isApprox for floating-point members ...