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
-
kNativeSize
- This is the size (the number of bytes) that are required for this class
-
RotateTransformData()
- Creates a RotateTransformData object containing no data.
-
RotateTransformData(int, float)
- Creates a RotateTransformData object containing with given data.
-
clone()
- Returns a copy of this class.
-
getAxis()
- returns the axis around which rotation will happen.
-
getEndianDescriptor()
- Returns the EndianDescriptor for this class.
-
getRadian()
- returns angle of rotation in radians.
-
setAxis(int)
- sets the the axis around which rotation will happen.
-
setRadian(float)
- sets angle of rotation in radians.
-
toString()
- Returns a string representation of the class
kNativeSize
public static final int kNativeSize
- This is the size (the number of bytes) that are required for this class
RotateTransformData
public RotateTransformData()
- Creates a RotateTransformData object containing no data.
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.
getEndianDescriptor
public static final EndianDescriptor getEndianDescriptor()
- Returns the EndianDescriptor for this class.
- Returns:
- an EndianDescriptor
getAxis
public int getAxis()
- returns the axis around which rotation will happen.
getRadian
public float getRadian()
- returns angle of rotation in radians.
setAxis
public void setAxis(int axis)
- sets the the axis around which rotation will happen.
setRadian
public void setRadian(float radians)
- sets angle of rotation in radians.
clone
public Object clone()
- Returns a copy of this class.
- Overrides:
- clone in class Object
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