All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.qd3d.camera.CameraPlacement
java.lang.Object
|
+----quicktime.util.QTByteObject
|
+----quicktime.qd3d.camera.CameraPlacement
- public final class CameraPlacement
- extends QTByteObject
- implements PrimitivesLib
CameraPlacement contains information for the camera's range.
Includes the location point of the camera, the camera' point
of interest, and the camera's up vector positioning.
refer to TQ3CameraPlacement in QuickDraw3D
-
kNativeSize
- This is the size (the number of bytes) that are required for this class
-
CameraPlacement()
- Creates a CameraRange object containing no data.
-
CameraPlacement(Point3D, Point3D, Vector3D)
- Creates a CameraRange object containing given data.
-
clone()
- Returns a copy of this class.
-
getCameraLocation()
- returns the camera placement's cameraLocation
-
getEndianDescriptor()
- Returns the EndianDescriptor for this class.
-
getPointOfInterest()
- returns the camera placement's pointOfInterest
-
getUpVector()
- returns the camera placement's upVector
-
setCameraLocation(Point3D)
- sets the camera placement's cameraLocation
-
setPointOfInterest(Point3D)
- sets the camera placement's pointOfInterest
-
setUpVector(Vector3D)
- sets the camera placement's upVector
-
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
CameraPlacement
public CameraPlacement()
- Creates a CameraRange object containing no data.
CameraPlacement
public CameraPlacement(Point3D cameraLocation,
Point3D pointOfInterest,
Vector3D upVector)
- Creates a CameraRange object containing given data.
- Parameters:
- cameraLocation - The camera placement's camera location.
- pointOfInterest - The camera placement's point of interest.
- upVector - The camera placement's upVector.
getEndianDescriptor
public static final EndianDescriptor getEndianDescriptor()
- Returns the EndianDescriptor for this class.
- Returns:
- an EndianDescriptor
getCameraLocation
public Point3D getCameraLocation()
- returns the camera placement's cameraLocation
getPointOfInterest
public Point3D getPointOfInterest()
- returns the camera placement's pointOfInterest
getUpVector
public Vector3D getUpVector()
- returns the camera placement's upVector
setCameraLocation
public void setCameraLocation(Point3D cameraLocation)
- sets the camera placement's cameraLocation
setPointOfInterest
public void setPointOfInterest(Point3D pointOfInterest)
- sets the camera placement's pointOfInterest
setUpVector
public void setUpVector(Vector3D upVector)
- sets the camera placement's upVector
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