Deformation utility functions. More...
Functions | |
QScriptValue | getDeformationComponentMatrix (String node, double frame) |
Return the deformation matrix describing the parent deformation. More... | |
QScriptValue | createVertexTransform (String node) |
Return a VertexTransform to apply a deformation node transformation. More... | |
Deformation utility functions.
QScriptValue DeformationUtils::createVertexTransform | ( | String | node | ) |
Return a VertexTransform to apply a deformation node transformation.
node | the path to the last node in a deformation chain (ex: "Top/LastDeformationOfAChain") |
QScriptValue DeformationUtils::getDeformationComponentMatrix | ( | String | node, |
double | frame | ||
) |
Return the deformation matrix describing the parent deformation.
node | the path to the node (ex: "Top/MyDeformation") |
frame | the frame at which the parent transformation is evaluated Ex: var newPoint = parentMatrix.multiply(myPoint); |