#include
<class_transform_behavior_1_1_transform_behavior.h>
Public Member Functions |
|
__init__ () | |
getObject () | |
update () | |
Implement this method in subclasses to
perform the actual behavior. |
|
getParameterType () | |
Returns the type of the parameter. |
|
calculateTransform () | |
The base class expects a full transformation
(12 values) as a parameter. |
|
basename () | |
Return a basename that will be used to build
names and labels. |
TransformBehavior.TransformBehavior.__init__ | ( | ) |
Reimplemented from Behavior.Behavior.
Reimplemented in RotateAboutAxis.RotateAboutAxis, RotateTranslate.RotateTranslate, Translate.Translate, and TurnTable.TurnTable.
TransformBehavior.TransformBehavior.getObject | ( | ) |
TransformBehavior.TransformBehavior.update | ( | ) |
Implement this method in subclasses to perform the actual behavior.
timestep is in seconds.
Reimplemented from Behavior.Behavior.
TransformBehavior.TransformBehavior.getParameterType | ( | ) |
Returns the type of the parameter.
The subclasses may need to override this method to provide the types of parameters that do not have standard types (3Floats, ... ).
Reimplemented from Behavior.Behavior.
Reimplemented in RotateAboutAxis.RotateAboutAxis, RotateTranslate.RotateTranslate, Translate.Translate, and TurnTable.TurnTable.
TransformBehavior.TransformBehavior.calculateTransform | ( | ) |
The base class expects a full transformation (12 values) as a parameter.
<parameter name="FullTransform" type="affinematrix" value="1 0 0 0 1 0 0 0 1 0 0 5"> <parameter name="FullTransform" type="affinematrix" format="stream" directory="C:/" source="example.mov" framerate="30" playmode="oscillate" loop="1">
Reimplemented in RotateAboutAxis.RotateAboutAxis, RotateTranslate.RotateTranslate, Translate.Translate, and TurnTable.TurnTable.
TransformBehavior.TransformBehavior.basename | ( | ) |
Return a basename that will be used to build names and labels.
Derived classes will typically override this method.
Reimplemented from Behavior.Behavior.