animation/
mggrtransformanimator__define.pro
Class description for mggrtransformanimator
Inheritance
Properties
- _extra init
- _ref_extra get
- nframes get
Routines
mggrtransformanimator::getProperty, nframes=nframes, _ref_extra=_ref_extra
Get properties of the animator.
mggrtransformanimator::addTranslate, x, y, z
Add another step of the animation for this animator.
mggrtransformanimator::addScale, sx, sy, sz
Add another step of the animation for this animator.
mggrtransformanimator::addRotate, axis, angle
Add another step of the animation for this animator.
mggrtransformanimator::addTransform, transform
Add another step of the animation for this animator.
mggrtransformanimator::apply, frame=frame
Apply the animator to the target for a given frame.
mggrtransformanimator::cleanup
Free resources.
result = mggrtransformanimator::init(_extra=_extra)
Initialize object.
mggrtransformanimator__define
Define member variables.
Routine details
top source mggrtransformanimator::getProperty
mggrtransformanimator::getProperty, nframes=nframes, _ref_extra=_ref_extra
Get properties of the animator.
@keyword nframes {out}{optional}{type=long} number of frames in the animator @keyword _ref_extra {out}{optional}{type=keywords} keywords to MGgrAnimator::getProperty
Keywords
- nframes
- _ref_extra
top source mggrtransformanimator::addTranslate
mggrtransformanimator::addTranslate, x, y, z
Add another step of the animation for this animator.
@param x {in}{required}{type=float} amount to translate target in x-direction @param y {in}{required}{type=float} amount to translate target in y-direction @param z {in}{required}{type=float} amount to translate target in z-direction
Parameters
- x
- y
- z
top source mggrtransformanimator::addScale
mggrtransformanimator::addScale, sx, sy, sz
Add another step of the animation for this animator.
@param sx {in}{required}{type=float} amount to scale target in x-direction @param sy {in}{required}{type=float} amount to scale target in y-direction @param sz {in}{required}{type=float} amount to scale target in z-direction
Parameters
- sx
- sy
- sz
top source mggrtransformanimator::addRotate
mggrtransformanimator::addRotate, axis, angle
Add another step of the animation for this animator.
@param axis {in}{required}{type=fltarr(3)} axis to rotate about @param angle {in}{required}{type=float} angle to rotate about axis
Parameters
- axis
- angle
top source mggrtransformanimator::addTransform
mggrtransformanimator::addTransform, transform
Add another step of the animation for this animator.
@param transform {in}{required}{type=fltarr(4, 4)} transformation matrix representing a step in the animation
Parameters
- transform
top source mggrtransformanimator::apply
mggrtransformanimator::apply, frame=frame
Apply the animator to the target for a given frame.
@keyword frame {in}{required}{type=long} frame number to apply
Keywords
- frame
top source mggrtransformanimator::init
result = mggrtransformanimator::init(_extra=_extra)
Initialize object.
@returns 1 for success, 0 otherwise @keyword _extra {in}{optional}{type=keywords} keywords of MGgrAnimator::init
Keywords
- _extra
top source mggrtransformanimator__define
mggrtransformanimator__define
Define member variables.
@file_comments A MGgrTransformAnimator represents transforms of a given model during certain steps in an animation. @field model IDLgrModel used for calculations @field transforms list of MGgrTransform objects
File attributes
Modification date: | Mon Nov 29 18:32:22 2010 |
Lines: | 143 |
Contact me if you have enhancement requests or bug fixes.