A C D G H M P R S T U V W

A

add(Transform2D) - Method in class Transform2D
Returns the sum of the matrix elements of this Transform2D object (augend) and the parameter (addend) by calling Matrix2D's add method.
Animation2D - Class in <Unnamed>
Animation2D uses classes developed in last week's Transform2DTest project to confirm the applicability of Matrix-defined transformations to simple animations.
Animation2D() - Constructor for class Animation2D
Single constructor (supplied)

C

createData() - Method in class Sprite
Call one of Point2DList's polygon-creation utilities (createUnitSquare() or createPoloygon()) to create some identifiable set of vertices, or call addPoint() a number of times to manually create a recognizable shape.

D

domain - Static variable in class Animation2D
assists in converting cartesian coordinates to screen coordinates

G

getData() - Method in class Sprite
Accessor method returns the list of Point2Ds
getTransform2D() - Method in class Transform2D
Accessor method that return the elements of matrix transform

H

HEIGHT - Static variable in class Animation2D
The height of the Canvas

M

main(String[]) - Static method in class Animation2D
Instantiates an animation object,a sprite with some meaningful set of points and then calls the run method.
maxX - Static variable in class Animation2D
Cartesian parameters: domain, range, minX, maxX, minY, maxY
maxY - Static variable in class Animation2D
 
minX - Static variable in class Animation2D
 
minY - Static variable in class Animation2D
 
mul(Transform2D) - Method in class Transform2D
Returns the product of the matrix elements of this Transform2D object (multiplicand) and the parameter (multiplier) by calling Matrix2D's mul method.

P

paintPanel() - Method in class Animation2D
Creates a BufferedImage object, obtains its Graphics2D drawing context, and goes to work drawing to the image.

R

range - Static variable in class Animation2D
assists in converting Cartesian coordinates to Screen coordinates
run() - Method in class Animation2D
Sequencer to organize calls and prove an animation speed.

S

scrX(double) - Method in class Animation2D
Converts Cartesian x-coordinate to relative Screen x-coordinate
scrY(double) - Method in class Animation2D
Converts Cartesian y-coordinate to relative Screen y-coordinate
setRotation(double) - Method in class Transform2D
Modifier method that sets the matrix transform required to rotate the preimage around the origin: cos a -sin a 0 / sin a cos a 0 / 0 0 1
setScale(double) - Method in class Transform2D
Modifier method that sets the matrix transform to s 0 0 / 0 s 0 / 0 0 1
setTransform2D(Matrix2D) - Method in class Transform2D
Modifier method that sets the elements of matrix transform to the elements of the matrix parameter.
setTranslation(Point2D) - Method in class Transform2D
Modifier method that sets the matrix transform to 1 0 p.x / 0 1 p.y / 0 0 1
SPEED - Static variable in class Animation2D
SPEED controls the delay of the utility Thread
sprite - Static variable in class Animation2D
an instance of the Sprite class to be animated
Sprite - Class in <Unnamed>
A wrapper class for a Point2DList object.
Sprite() - Constructor for class Sprite
Constructs and initializes the internal data list of Point2D objects to null.
strategy - Variable in class Animation2D
Specialized class to support double buffering
sub(Transform2D) - Method in class Transform2D
Returns the difference of the matrix elements of this Transform2D object (minuend) and the parameter (subtrahend) by calling Matrix2D's sub method.

T

toString() - Method in class Transform2D
Relays a call to Matrix2D.toString() back to the client
transform(Transform2D) - Method in class Sprite
Applies the Transform2D object passed as the explicit parameter to all the points in the data list.
Transform2D - Class in <Unnamed>
Transform2D wraps a Matrix2D object and provides, an enumerated type to assist with the construction process a variety of constructors modifier methods for setting various transforms matrix add, subtract, and multiply methods
Transform2D() - Constructor for class Transform2D
Constructs a Transform2D object encapsulating the ZERO matrix.
Transform2D(Transform2D.Type) - Constructor for class Transform2D
Constructs a Transform2D object encapsulating either, ZERO - a Matrix2D whose elements are all 0s IDENTITY - a Matrix2D object consisting of 1s on the principal diagonal and 0s elsewhere
Transform2D(Matrix2D) - Constructor for class Transform2D
Constructs a Transform2D object by duplicating the elements of the Matrix2D parameter
Transform2D(Transform2D) - Constructor for class Transform2D
Constructs a Transform2D object by duplicating the elements of the Matrix2D object encapsulated by the Transform2D parameter
Transform2D.Type - Enum in <Unnamed>
ZERO can be used to construct a Transform2D object defining the zero matrix.

U

updateScene() - Method in class Animation2D
updateScene prepares and applies the matrix transform(s) to the Sprite object

V

valueOf(String) - Static method in enum Transform2D.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum Transform2D.Type
Returns an array containing the constants of this enum type, in the order they're declared.

W

WIDTH - Static variable in class Animation2D
The width of the Canvas

A C D G H M P R S T U V W