nuke.rotopaint.AnimCTransform
- class nuke.rotopaint.AnimCTransform
Bases:
object
An animated transform, where each part of the transform is represented as a curve over time.
Methods
Returns the AnimCurve object for the 4i+j element in the transform's extra matrix.The view parameter is optional.
Get the number of keys for the pivotPoint attribute.
Get the number of keys for the rotation attribute.
Get the number of keys for the scale attribute.
Get the number of keys for the skewX attribute.
Get the number of keys for all attributes of this transform.
Get the number of keys for the translation attribute.
Get the time for a specific key on the pivotPoint attribute.
Get the times for all keys on the pivotPoint attribute.
Get the time for a specific key on the rotation attribute.
Get the times for all keys on the rotation attribute.The view parameter is optional.
Get the time for a specific key on the scale attribute.
Get the times for all keys on the scale attribute.
Get the time for a specific key on the skewX attribute.
Get the times for all keys on the skewX attribute.
Get the time for a specific key.
Get the times for all keys, across all attributes of this transform.
Get the time for a specific key on the translation attribute.
Get the times for all keys on the translation attribute.
Check whether this transform has been modified away from the default values.
Sets the AnimCurve object for the '4i+j'-th element of the extra matrix.The view parameter is optional
Set the anim curve for the pivot point attribute of this transform.
Set the anim curve for the rotation attribute of this transform.
Set the anim curve for the scale attribute of this transform.
Set the anim curve for the skewX attribute of this transform.
Set the anim curve for the translation attribute of this transform.
Attributes
The name for this transform.
The order in which to perform rotations around the axes.
The order in which to perform the transformations.
- addPivotPointKey(time, x, y, pressure, view='default') None
- addRotationKey(time, x, y, pressure, view='default') None
- addScaleKey(time, x, y, pressure, view='default') None
- addSkewXKey(time, x, y, pressure, view='default') None
- addTransformKey(time, view) None
- addTranslationKey(time, x, y, pressure, view='default') None
- evaluate(time, view) None
- getExtraMatrixAnimCurve(i, j, view) AnimCurve
Returns the AnimCurve object for the 4i+j element in the transform’s extra matrix.The view parameter is optional.
- getNumberOfPivotPointKeys(view) int
Get the number of keys for the pivotPoint attribute. The view parameter is optional.
- getNumberOfRotationKeys(view) int
Get the number of keys for the rotation attribute. The view parameter is optional.
- getNumberOfScaleKeys(view) int
Get the number of keys for the scale attribute. The view parameter is optional.
- getNumberOfSkewXKeys(view) int
Get the number of keys for the skewX attribute. The view parameter is optional.
- getNumberOfTransformKeys(view) int
Get the number of keys for all attributes of this transform. The view parameter is optional.
- getNumberOfTranslationKeys(view) int
Get the number of keys for the translation attribute. The view parameter is optional.
- getPivotPointKeyTime(index, view) float
Get the time for a specific key on the pivotPoint attribute. index is the index of the key. The view parameter is optional.
- getPivotPointKeyTimes(view) list of floats
Get the times for all keys on the pivotPoint attribute. The view parameter is optional.
- getRotationKeyTime(index, view) float
Get the time for a specific key on the rotation attribute. index is the index of the key. The view parameter is optional.
- getRotationKeyTimes(view) list of floats
Get the times for all keys on the rotation attribute.The view parameter is optional.
- getScaleKeyTime(index, view) float
Get the time for a specific key on the scale attribute. index is the index of the key. The view parameter is optional.
- getScaleKeyTimes(view) list of floats
Get the times for all keys on the scale attribute. The view parameter is optional.
- getSkewXKeyTime(index, view) float
Get the time for a specific key on the skewX attribute. index is the index of the key. The view parameter is optional.
- getSkewXKeyTimes(view) list of floats
Get the times for all keys on the skewX attribute. The view parameter is optional.
- getTransformKeyTime(index, view) float
Get the time for a specific key. The view parameter is optional.
- getTransformKeyTimes(view) list of floats
Get the times for all keys, across all attributes of this transform. The view parameter is optional.
- getTranslationKeyTime(index, view) float
Get the time for a specific key on the translation attribute. index is the index of the key. The view parameter is optional.
- getTranslationKeyTimes(view) list of floats
Get the times for all keys on the translation attribute. The view parameter is optional.
- isDefault() bool
Check whether this transform has been modified away from the default values.
- name
The name for this transform.
- removePivotPointKey(time, view) None
- removeRotationKey(time, view) None
- removeScaleKey(time, view) None
- removeSkewXKey(time, view) None
- removeTransformKey(time, view) None
- removeTranslationKey(time, view) None
- reset() None
- rotationOrder
The order in which to perform rotations around the axes.
- setExtraMatrixAnimCurve(i, j, animcurve, view) None
Sets the AnimCurve object for the ‘4i+j’-th element of the extra matrix.The view parameter is optional
- setIdentity(view='default') None
- setPivotPointAnimCurve(index, animCurve, view) None
Set the anim curve for the pivot point attribute of this transform. The index parameter should be 0 for the x values, 1 for the y values. The view parameter is optional.
- setRotationAnimCurve(index, animCurve, view) None
Set the anim curve for the rotation attribute of this transform. The index parameter should be 0 for the x values, 1 for the y values. The view parameter is optional.
- setScaleAnimCurve(index, animCurve, view) None
Set the anim curve for the scale attribute of this transform. The index parameter should be 0 for the x values, 1 for the y values. The view parameter is optional.
- setSkewXAnimCurve(index, animCurve, view) None
Set the anim curve for the skewX attribute of this transform. The index parameter should be 0 for the x values, 1 for the y values. The view parameter is optional.
- setTranslationAnimCurve(index, animCurve, view) None
Set the anim curve for the translation attribute of this transform. The index parameter should be 0 for the x values, 1 for the y values. The view parameter is optional.
- transformOrder
The order in which to perform the transformations.