RotateAboutAxis.RotateAboutAxis Class Reference


Detailed Description

Rotate the object about a specified axis and pivot points.

This is an absolute transformation; the start and finish angles are given. So is the duration. In that sense, there is really no "toggle" of the state. You initiate the behaviour and it plays until completed, at which point in deactivates.

You can run it "forward" or "backward".

Currently, only a simple linear interpolation of angles is done.

#include <class_rotate_about_axis_1_1_rotate_about_axis.h>

Inheritance diagram for RotateAboutAxis.RotateAboutAxis:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  __init__ ()
  getParameterType ()
  Provide the type of 'Axis' and 'Pivot' parameters since they are not of a standard python type.
  forward ()
  backward ()
  calculateTransform ()
  The base class expects a full transformation (12 values) as a parameter.

Member Function Documentation

RotateAboutAxis.RotateAboutAxis.__init__ ( )
RotateAboutAxis.RotateAboutAxis.getParameterType ( )

Provide the type of 'Axis' and 'Pivot' parameters since they are not of a standard python type.

Reimplemented from TransformBehavior.TransformBehavior.

RotateAboutAxis.RotateAboutAxis.forward ( )
RotateAboutAxis.RotateAboutAxis.backward ( )
RotateAboutAxis.RotateAboutAxis.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 from TransformBehavior.TransformBehavior.


RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis
RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis RotateAboutAxis.RotateAboutAxis