A C D E G I M N O P R S T V

A

add(Vector) - Method in class Point
Returns the point reached by starting at this point and adding a vector scaled by the given scalar.
add(Vector) - Method in class Vector
Returns the result of adding this vector to another.
addFocusListener(FocusListener) - Method in class ModelViewer
Registers a focus listener with the model view.
addKeyListener(KeyListener) - Method in class ModelViewer
Registers a key listener with the model view.
addScaled(double, Vector) - Method in class Point
Returns the point reached by starting at this point and adding a vector scaled by the given scalar.
append(Transform) - Method in class Transform
Returns the concatenation of two transformations, where points are first transformed by the parameter transformation, and the result is then transformed by this transformation.

C

Composite - Class in <Unnamed>
Represents a conglomeration of several models into a single model.
Composite(Model[]) - Constructor for class Composite
Constructs a model representing the union of all the given models in the array.
color(Color) - Method in class Model
Returns a model equivalent to this one, except that its default color is the given color instead.
create(double, double, double) - Static method in class Point
Creates a point with the given coordinates, where the homogeneous value is 1.
create(double, double, double, double) - Static method in class Point
Creates a point with the given coordinates.
create(double[]) - Static method in class Transform
Creates a transform with the given values in the matrix containing all 16 values in row order.
create(double, double, double) - Static method in class Vector
Creates a vector with the given x-, y-, and z-coordinates.
cross(Vector) - Method in class Vector
Returns the result of a cross product between this vector and another.

D

dot(Vector) - Method in class Vector
Returns the result of a dot product between this vector and another.
draw(Graphics3D) - Method in class Composite
Draws all the models contained in this composite model.
draw(Graphics3D) - Method in class Model
 
draw(Graphics3D) - Method in class Polygon
Draws this polygon using the given Graphics3D.
drawLine(Point, Point) - Method in class Graphics3D
Draws a line segment using this paintbrush.
drawPolygon(Point[]) - Method in class Graphics3D
Draws a polygon using this paintbrush.

E

EMPTY - Static variable in class Model
The null model, containing no components.

G

Graphics3D - Class in <Unnamed>
Represents a ``paintbrush'' with which we can draw in three dimensions.
Graphics3D(Graphics) - Constructor for class Graphics3D
Constructs a Graphics3D object using the given Graphics object for drawing in two dimensions.
getColor() - Method in class Graphics3D
Returns the current color of this paintbrush.
getDistanceTo(Point) - Method in class Point
Returns the distance from this point to the other point, both being scaled by their homogeneous coordinates.
getHomogeneous() - Method in class Point
Returns the value added to this point for homogeneous coordinates.
getLength() - Method in class Vector
Returns the length, or magnitude, of this vector.
getModelTransform() - Method in class Graphics3D
Returns the model transform M used in the pipeline.
getProjectionTransform() - Method in class Graphics3D
Returns the projection transform P used in the pipeline.
getViewFrameTransform() - Method in class Graphics3D
Returns the viewplane transform Vf used in the pipeline.
getViewTransform() - Method in class Graphics3D
Returns the view transform V used in the pipeline.
getX() - Method in class Point
Returns the x-coordinate of this point.
getX() - Method in class Vector
Returns the change in x represented by this vector.
getY() - Method in class Point
Returns the y-coordinate of this point.
getY() - Method in class Vector
Returns the change in y represented by this vector.
getZ() - Method in class Point
Returns the z-coordinate of this point.
getZ() - Method in class Vector
Returns the change in z represented by this vector.
grabFocus() - Method in class ModelViewer
Grabs the keyboard focus for the model view.

I

IDENTITY - Static variable in class Transform
Represents the identity transformation, in which points are transformed into themselves.

M

Model - Class in <Unnamed>
Represents a figure in three-dimensional space.
Model() - Constructor for class Model
 
ModelViewer - Class in <Unnamed>
Represents a window for the user to view a model.
ModelViewer(Dimension) - Constructor for class ModelViewer
Creates a ModelViewer window whose canvas is of the given dimension.
main(String[]) - Static method in class TestCube
 

N

normalize() - Method in class Vector
Returns a vector that is the normalization of this vector.

O

ORIGIN - Static variable in class Point
 
orthographicProjection(double, double, double, double, double, double) - Static method in class TransformUtility
Creates a projection matrix transforming the rectangular view volume into the standard cube.

P

Point - Class in <Unnamed>
Represents a point in three dimensions, with the additional value for homogeneous coordinates.
Polygon - Class in <Unnamed>
Represents a polygonal face of a solid.
Polygon(Point[]) - Constructor for class Polygon
Constructs a polygon with the given points.
perspectiveProjection(double, double, double, double, double, double) - Static method in class TransformUtility
Creates a projection matrix transforming a frustum view volume into the standard cube.
prepend(Transform) - Method in class Transform
Returns the concatenation of two transformations, where points are first transformed by this transformation, and the result is then transformed by the parameter transformation.
projectOnto(Vector) - Method in class Vector
Returns the result of projecting this vector onto the direction of another.

R

removeFocusListener(FocusListener) - Method in class ModelViewer
Removes a focus listener previously registered with the model view.
removeKeyListener(KeyListener) - Method in class ModelViewer
Removes a key listener previously registered with the model view.
rotateX(double) - Method in class Model
Returns a model equivalent to this one, except where its coordinate system has been rotated the given number of radians around the x-axis.
rotateX(double) - Static method in class Transform
Creates a transform representing rotating the given number of radians around the x-axis.
rotateY(double) - Method in class Model
Returns a model equivalent to this one, except where its coordinate system has been rotated the given number of radians around the y-axis.
rotateY(double) - Static method in class Transform
Creates a transform representing rotating the given number of radians around the y-axis.
rotateZ(double) - Method in class Model
Returns a model equivalent to this one, except where its coordinate system has been rotated the given number of radians around the z-axis.
rotateZ(double) - Static method in class Transform
Creates a transform representing rotating the given number of radians around the z-axis.

S

scale(double, double, double) - Method in class Model
Returns a model equivalent to this one, except where its coordinate system has been scaled in the given proportions along the x-, y-, and z-axes.
scale(double, double, double) - Static method in class Transform
Creates a transform representing scaling the x-, y-, and z-coordinates as specified.
scale(double) - Method in class Vector
Returns a vector that is in the same direction as this vector, but whose magnitude has been scaled by the given scalar.
setColor(Color) - Method in class Graphics3D
Alters the current color of this paintbrush.
setModel(Model) - Method in class ModelViewer
Modifies the model currently being viewed.
setModelTransform(Transform) - Method in class Graphics3D
Alters the model transform M used in the pipeline.
setProjectionTransform(Transform) - Method in class Graphics3D
Alters the projection transform P used in the pipeline.
setProjectionTransform(Transform) - Method in class ModelViewer
Modifies the projection transform used to view the model.
setViewFrameTransform(Transform) - Method in class Graphics3D
Alters the viewplane transform Vf used in the pipeline.
setViewTransform(Transform) - Method in class Graphics3D
Alters the view transform V used in the pipeline.
setViewTransform(Transform) - Method in class ModelViewer
Modifies the view transform used to view the model.
subtract(Point) - Method in class Point
Returns the vector starting at the other point and going to this point.
subtract(Vector) - Method in class Vector
Returns the result of subtracting another vector from this one.

T

TestCube - Class in <Unnamed>
 
TestWindow - Class in <Unnamed>
 
TestWindow(Model) - Constructor for class TestWindow
 
Transform - Class in <Unnamed>
Represents a transformation of points, using an internal matrix.
TransformUtility - Class in <Unnamed>
A set of utility methods for generating transformation matrices of interest.
toString() - Method in class Point
Returns a conventional string representation of this point.
toString() - Method in class Transform
 
toString() - Method in class Vector
Returns a traditional representation of this vector.
transform(Transform) - Method in class Model
Returns a model equivalent to this one, except where its coordinate system has been transformed as given.
transform(Point) - Method in class Transform
Returns the point resulting from transforming the given point according to this transformation.
translate(double, double, double) - Method in class Model
Returns a model equivalent to this one, except where its coordinate system has been translated the given distance along the x-, y-, and z-axes.
translate(double, double, double) - Static method in class Transform
Creates a transform representing the translation of coordinates by the given distances along the x-, y-, and z-axes.

V

Vector - Class in <Unnamed>
Represents a three-dimensional vector.
viewTransform(Point, Point, Vector) - Static method in class TransformUtility
Creates a transformation for switching from world coordinates to view coordinates.

A C D E G I M N O P R S T V