All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.qd3d.transform.RotateTransformData

java.lang.Object
   |
   +----quicktime.util.QTByteObject
           |
           +----quicktime.qd3d.transform.RotateTransformData

public final class RotateTransformData
extends QTByteObject
implements Cloneable
RotateTransformData contains information for three dimensional rotations. refer to RotateTransformData in QuickDraw3D


Variable Index

 o kNativeSize
This is the size (the number of bytes) that are required for this class

Constructor Index

 o RotateTransformData()
Creates a RotateTransformData object containing no data.
 o RotateTransformData(int, float)
Creates a RotateTransformData object containing with given data.

Method Index

 o clone()
Returns a copy of this class.
 o getAxis()
returns the axis around which rotation will happen.
 o getEndianDescriptor()
Returns the EndianDescriptor for this class.
 o getRadian()
returns angle of rotation in radians.
 o setAxis(int)
sets the the axis around which rotation will happen.
 o setRadian(float)
sets angle of rotation in radians.
 o toString()
Returns a string representation of the class

Variables

 o kNativeSize
 public static final int kNativeSize
This is the size (the number of bytes) that are required for this class

Constructors

 o RotateTransformData
 public RotateTransformData()
Creates a RotateTransformData object containing no data.

 o RotateTransformData
 public RotateTransformData(int axis,
                            float radians)
Creates a RotateTransformData object containing with given data.

Parameters:
axis - The axis specification: 0 - X, 1 - Y, 2 - Z.
radians - The angle mesuared in radians.

Methods

 o getEndianDescriptor
 public static final EndianDescriptor getEndianDescriptor()
Returns the EndianDescriptor for this class.

Returns:
an EndianDescriptor
 o getAxis
 public int getAxis()
returns the axis around which rotation will happen.

 o getRadian
 public float getRadian()
returns angle of rotation in radians.

 o setAxis
 public void setAxis(int axis)
sets the the axis around which rotation will happen.

 o setRadian
 public void setRadian(float radians)
sets angle of rotation in radians.

 o clone
 public Object clone()
Returns a copy of this class.

Overrides:
clone in class Object
 o toString
 public String toString()
Returns a string representation of the class

Overrides:
toString in class QTByteObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index