Class spatialAudio.Orientation6D
All Packages Class Hierarchy This Package Previous Next Index
Class spatialAudio.Orientation6D
java.lang.Object
|
+----spatialAudio.Orientation6D
- public class Orientation6D
- extends Object
Orientation6D stores two 3D vectors to fully define an object's
orientation as a function of its "forward" direction and "up"
directions. This class is used to describe the orientation of
a listener.
Copyright (c) 1996 Intel Corporation
- See Also:
- Listener, Vector3D
-
forward
- A three-dimensional vector describing the "forward" direction
of the object.
-
up
- A three-dimensional vector describing the "up" direction
of the object.
-
Orientation6D()
- Creates a new 6D Orientation vector with the forward vector pointing
in the positive Z direction and the up vector pointing in the positive
Y direction.
-
Orientation6D(float, float, float, float, float, float)
- Creates a new 6D Orientation vector with the specified parameters.
-
Orientation6D(Vector3D, Vector3D)
- Creates a new 6D Orientation vector with the specified parameters.
-
toString()
- Returns a String representation of the Orientation6D instance variables.
forward
public Vector3D forward
- A three-dimensional vector describing the "forward" direction
of the object.
up
public Vector3D up
- A three-dimensional vector describing the "up" direction
of the object.
Orientation6D
public Orientation6D(Vector3D forward,
Vector3D up)
- Creates a new 6D Orientation vector with the specified parameters.
Orientation6D
public Orientation6D(float forwardX,
float forwardY,
float forwardZ,
float upX,
float upY,
float upZ)
- Creates a new 6D Orientation vector with the specified parameters.
Orientation6D
public Orientation6D()
- Creates a new 6D Orientation vector with the forward vector pointing
in the positive Z direction and the up vector pointing in the positive
Y direction.
toString
public String toString()
- Returns a String representation of the Orientation6D instance variables.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index