< A B C D E F G H I K L M N O P R S T U V W X Y Z

<

() - Static method in class ErioMetafile2
 

A

A - Variable in class PlaneEquation
The x-coefficient of the equation.
actionPerformed(ActionEvent) - Method in class MeshDemo
Handles action events by child components.
actionPerformed(ActionEvent) - Method in class MeshDemoApplet
 
add(FlatRenderer.EdgeEntry) - Method in class FlatRenderer.EdgeBucket
Adds an entry into the bucket.
add(List) - Method in class FlatRenderer.ActiveEdgeTable
Adds edges into the AET.
add(Vector3D, Vector3D) - Static method in class Vector3D
adds two vectors
add(Vector3D, Vector3D, boolean) - Static method in class Vector3D
adds two vectors
addEdge(Mesh.Polygon, int, int, int, int, int) - Method in class FlatRenderer.EdgeTable
Adds an edge to the edge table, ignoring horizontal edges.
addEdge(Mesh.Polygon, int, int, int, int, int, int, int) - Method in class GouraudRenderer.EdgeTableEx
Adds an edge to the edge table, ignoring horizontal edges.
addEdge(Mesh.Polygon, int, int, int, int, int, int, int) - Method in class PhongRenderer.EdgeTableEx
Adds an edge to the edge table, ignoring horizontal edges.
addMesh(Mesh) - Method in class FlatRenderer.EdgeTable
Adds a mesh into the edge table.
addPolygon(Mesh.Polygon) - Method in class FlatRenderer.EdgeTable
Adds a polygon into the edge table.
addPolygon(Mesh.Polygon) - Method in class GouraudRenderer.EdgeTableEx
Adds a polygon into the edge table.
AET - Variable in class FlatRenderer.PolygonInfo
The current Active Edge Table for the current scan line of this polygon.
AMBIENT_BLUE - Static variable in class Renderer
Default blue ambient value
AMBIENT_GREEN - Static variable in class Renderer
Default Green ambient value
AMBIENT_RED - Static variable in class Renderer
Default red ambient value
attachChild(CoorSys) - Method in class CoorSys
Attaches a child to this node.

B

B - Variable in class PlaneEquation
The y-coefficient of the equation.
B - Variable in class RGBTriplet
The Blue color value.
backingStore - Variable in class Renderer
The backing store.
boundaries - Variable in class Metafile
The window view coordinates.
btAbout - Variable in class MeshDemo
The "About" button.
btCameraMoveDown - Variable in class MeshDemo
Move camera down.
btCameraMoveIn - Variable in class MeshDemo
Move Camera in.
btCameraMoveLeft - Variable in class MeshDemo
Move camera left.
btCameraMoveOut - Variable in class MeshDemo
Move camera out.
btCameraMoveRight - Variable in class MeshDemo
Move camera right.
btCameraMoveUp - Variable in class MeshDemo
Move camera up.
btCameraRotateDown - Variable in class MeshDemo
Rotate Camera down
btCameraRotateLeft - Variable in class MeshDemo
Rotate camera left
btCameraRotateRight - Variable in class MeshDemo
Rotate camera right.
btCameraRotateUp - Variable in class MeshDemo
Rotate camera up
btCameraTiltLeft - Variable in class MeshDemo
Tilt camera left
btCameraTiltRight - Variable in class MeshDemo
Tilt camera right
btCoorSysMoveDown - Variable in class MeshDemo
Move the coorsys down.
btCoorSysMoveIn - Variable in class MeshDemo
Move the CoorSys in.
btCoorSysMoveLeft - Variable in class MeshDemo
Move the CoorSys left.
btCoorSysMoveOut - Variable in class MeshDemo
Move the CoorSys out.
btCoorSysMoveRight - Variable in class MeshDemo
Move the CoorSys right.
btCoorSysMoveUp - Variable in class MeshDemo
Move the CoorSys up.
btCoorSysRotateDown - Variable in class MeshDemo
Rotate the CoorSys down.
btCoorSysRotateLeft - Variable in class MeshDemo
Rotate the CoorSys left.
btCoorSysRotateRight - Variable in class MeshDemo
Rotate the CoorSys right.
btCoorSysRotateUp - Variable in class MeshDemo
Rotate the CoorSys up.
btCoorSysTiltLeft - Variable in class MeshDemo
Tilt the CoorSys left.
btCoorSysTiltRight - Variable in class MeshDemo
Tilt the CoorSys right.
btRedraw - Variable in class MeshDemo
The "Redraw" button.
btReload - Variable in class MeshDemo
The "Reload" button.
buckets - Variable in class FlatRenderer.EdgeTable
The entries in the edge table.

C

C - Variable in class PlaneEquation
The z-coefficient of the equation.
cachedPolygons - Variable in class WireframeRenderer
A list of last-generated (rendered) polygons.
calcBoundaries() - Method in class Mesh.Polygon
Calculates minZ and maxZ
calcEquations(double, double, double, double, double, double, double, double, double) - Method in class PlaneEquation
Calculate the values of A,B,C,D of the plane equation.
calcIntensities() - Method in class GouraudRenderer.PolygonInfoEx
Calculates the intensity values of each vertice in the polygon.
calcLumColor() - Method in class FlatRenderer.PolygonInfo
Calculates the luminated color of this polygon; returns the polygon's base color if there are no light object.
calcNormalVector(Mesh.Polygon) - Method in class PlaneEquation
Initializes the normalVector variable.
calculatePolygons() - Method in class WireframeRenderer
Performs the rendering and update cachedPolygons.
calculateVectors(Point3D, Vector3D, Vector3D) - Method in class ViewPlane
Calculate the n,u,v vectors and create world-to-viewing coordinate transformation matrix.
calcVertices() - Method in class GouraudRenderer.MeshInfo
For each vertice in the mesh, calculate its corresponding normal vector and place it in normalVectors.
calcZ(double, double) - Method in class PlaneEquation
Returns a Z value on the plane given the X and Y values.
canvas - Variable in class MeshDemo
The drawing canvas to display rendered images.
children - Variable in class CoorSys
The children of this coordinate system.
children() - Method in class CoorSys
Returns an enumeration to the children.
clear() - Method in class ErioMetafile
Clears the contents of the object.
clear() - Method in class Metafile
Clears the metafile data already in the object.
clone() - Method in class CoorSys
Clones this object and its parents.
clone() - Method in class Light
Performs a shallow copy of the light object.
clone() - Method in class Mesh
 
clone() - Method in class Mesh.Polygon
 
clone() - Method in class Point3D
 
color - Variable in class FlatRenderer.PolygonInfo
The luminated color of the polygon.
color - Variable in class Light
The light's color.
color - Variable in class Mesh.Polygon
The color of this polygon.
colorBuffer - Variable in class FlatRenderer
The colors of the current scan line.
colorNames - Static variable in class ErioMetafile2
A set of (String,Color) pairs which contains the available named colors.
coorsys - Variable in class Metafile
A set of named CoorSys objects in (String,CoorSys) pairs.
coorSys - Variable in class Mesh
Represents the coordinate system used.
CoorSys - class CoorSys.
The representation of a coordinate system.
coorSys_valueChanged() - Method in class MeshDemo
Called when the selection in coorsys changes.
CoorSys(String) - Constructor for class CoorSys
Create RealWord root coordinate.
CoorSys(String, CoorSys, Matrix) - Constructor for class CoorSys
Creates a child coordinate system based on the transformation matrix.
CoorSys(String, Matrix) - Constructor for class CoorSys
Creates a root coordinate system based on the transformation matrix.
createRotateX(double) - Static method in class Transformation
Create a rotation matrix around the X axis.
createRotateX(double, double, double) - Static method in class Transformation
Create a rotation matrix around a line parallel to the X axis.
createRotateY(double) - Static method in class Transformation
Create a rotation matrix around the Y axis.
createRotateY(double, double, double) - Static method in class Transformation
Create a rotation matrix around a line parallel to the Y axis
createRotateZ(double) - Static method in class Transformation
Create a rotation matrix around the Z axis.
createRotateZ(double, double, double) - Static method in class Transformation
Create a rotation matrix around a line parallel to the Z axis.
createScale(double, double, double) - Static method in class Transformation
Creates a scaling transformation matrix.
createTranslation(double, double, double) - Static method in class Transformation
Creates a translation transformation matrix.
cross(Vector3D) - Method in class Vector3D
Returns the cross product A x B .
CS_REALWORLD - Static variable in class Renderer
The real world coordinate system name.
curFile - Variable in class MeshDemo
current file loaded

D

D - Variable in class PlaneEquation
The constant value of the equation.
demo - Variable in class MeshDemoApplet
The program.
denominator - Variable in class FlatRenderer.EdgeEntry
The denominator of 1/m (dy).
depthBuffer - Variable in class FlatRenderer
The depths(Z) of the current scan line.
displayCoorSys(String) - Method in class MeshDemo
Called to display a coordinate system on the panel.
doLoad(Reader) - Method in class MeshDemo
Loads a metafile.
dot(Vector3D) - Method in class Vector3D
returns the dot vector A.B .
drawGrid(Graphics2D, int, int) - Method in class Renderer
draws a grid.
dxPerScan - Variable in class FlatRenderer.EdgeEntry
The x increment, set to numerator/denominator.

E

edges - Variable in class FlatRenderer.ActiveEdgeTable
The edges in the AET, instances of EdgeEntry.
endIntensity - Variable in class GouraudRenderer.EdgeEntryEx
The ending intensity value at (xmax,ymax).
endNormal - Variable in class PhongRenderer.EdgeEntryEx
The ending normal vector at the point (xmax,ymax) of this edge.
entries - Variable in class FlatRenderer.EdgeBucket
The edges in this bucket.
equals(Object) - Method in class Mesh
True if the name of this mesh is equal to the name of the other mesh.
equation - Variable in class FlatRenderer.PolygonInfo
The plane equation of the polygon.
equation - Variable in class Mesh.Polygon
The plane equation for this polygon.
ErioMetafile - class ErioMetafile.
Represents Erio's 3D mesh metafile.
ErioMetafile() - Constructor for class ErioMetafile
 
ErioMetafile2 - class ErioMetafile2.
Class to load the second version of Erio's 3D metafile.
ErioMetafile2() - Constructor for class ErioMetafile2
 
ET - Variable in class FlatRenderer.PolygonInfo
The global Edge Table for this polygon.
evaluate(double, double, double) - Method in class PlaneEquation
Evaluates a point to the plane equation.
evaluate(Point3D) - Method in class PlaneEquation
Evaluates a point to the plane equation.

F

FATT_C1 - Static variable in class Renderer
The first constant for the attenuation factor.
FATT_C2 - Static variable in class Renderer
The second constant for the attenuation factor.
FATT_C3 - Static variable in class Renderer
The third constant for the attenuation factor.
fillPixels(FlatRenderer.PolygonInfo, FlatRenderer.ActiveEdgeTable, int, int) - Method in class FlatRenderer
Fills a line of pixels from the AET.
fillPixels(FlatRenderer.PolygonInfo, FlatRenderer.ActiveEdgeTable, int, int) - Method in class GouraudRenderer
Fills a line of pixels from the AET.
fillPixels(FlatRenderer.PolygonInfo, FlatRenderer.ActiveEdgeTable, int, int) - Method in class PhongRenderer
Fills a line of pixels from the AET.
FlatRenderer - class FlatRenderer.
Renders mesh objects using visible-surface determination and constant shading.
FlatRenderer.ActiveEdgeTable - class FlatRenderer.ActiveEdgeTable.
The current edge table for the scan line.
FlatRenderer.ActiveEdgeTable() - Constructor for class FlatRenderer.ActiveEdgeTable
Creates an empty AET.
FlatRenderer.EdgeBucket - class FlatRenderer.EdgeBucket.
The Edge table bucket for the EdgeTable.
FlatRenderer.EdgeBucket() - Constructor for class FlatRenderer.EdgeBucket
 
FlatRenderer.EdgeEntry - class FlatRenderer.EdgeEntry.
The entry for an edge in an EdgeBucket.
FlatRenderer.EdgeEntry(Mesh.Polygon, int, int, int, int) - Constructor for class FlatRenderer.EdgeEntry
Constructs the entry for an edge.
FlatRenderer.EdgeTable - class FlatRenderer.EdgeTable.
The global Edge Table for each polygon.
FlatRenderer.EdgeTable() - Constructor for class FlatRenderer.EdgeTable
Constructs a null edge table.
FlatRenderer.EdgeTable(int, int) - Constructor for class FlatRenderer.EdgeTable
Constructs an empty edge table.
FlatRenderer.EdgeTable(Mesh.Polygon) - Constructor for class FlatRenderer.EdgeTable
Constructs an edge table from a polygon object.
FlatRenderer.PolygonInfo - class FlatRenderer.PolygonInfo.
Information about a polygon in process.
FlatRenderer.PolygonInfo() - Constructor for class FlatRenderer.PolygonInfo
Constructs a null PolygonInfo.
FlatRenderer.PolygonInfo(Mesh.Polygon, List) - Constructor for class FlatRenderer.PolygonInfo
Constructs the object.
FlatRenderer(Component) - Constructor for class FlatRenderer
 
forwardMatrix - Variable in class CoorSys
The transformation matrix from a point in the real world to a point in the current coordinate system.
fromRealWorld(Point3D[], Point3D[]) - Method in class CoorSys
Converts points from RealWorld to a point in this coordinate system.
fromRealWorld(Point3D, Point3D) - Method in class CoorSys
Converts a point from RealWorld to a point in this coordinate system.

G

G - Variable in class RGBTriplet
The Green color value.
getAET() - Method in class FlatRenderer.PolygonInfo
Returns the current Active Edge Table of the polygon.
getAllowsChildren() - Method in class CoorSys
Always returns true.
getAppletInfo() - Method in class MeshDemoApplet
 
getBucket(int) - Method in class FlatRenderer.EdgeTable
Returns the bucket with the specified y coordinate.
getChildAt(int) - Method in class CoorSys
Returns the child at the specified index.
getChildCount() - Method in class CoorSys
Returns the number of child of this node.
getColor() - Method in class FlatRenderer.PolygonInfo
Returns the illuminated color of this polygon.
getColor() - Method in class GouraudRenderer.PolygonInfoEx
Shorthand function to return the base color of this polygon.
getColor() - Method in class Light
Returns the color of the light.
getColor() - Method in class Mesh.Polygon
Returns the color of the polygon surface.
getColor() - Method in class PhongRenderer.PolygonInfoEx
Shorthand function to return the base color of this polygon.
getCoorSys() - Method in class Mesh
Returns the coordinate system associated with the mesh.
getCoorSys() - Method in class Metafile
Returns all of the names of the coordinate systems.
getCoorSys(String) - Method in class Metafile
Returns a coordinate system.
getDenominator() - Method in class FlatRenderer.EdgeEntry
Returns the denominator of 1/m (dy).
getEndIntensity() - Method in class GouraudRenderer.EdgeEntryEx
Returns the intensity of the polygon vertice at (xmax,ymax).
getEndNormal() - Method in class PhongRenderer.EdgeEntryEx
Returns the ending normal vector of this edge.
getEquation() - Method in class Mesh.Polygon
Returns the plane equation for this polygon.
getET() - Method in class FlatRenderer.PolygonInfo
Returns the Edge Table of the polygon.
getForwardMatrix() - Method in class CoorSys
Returns the transformation matrix.
getH() - Method in class Vector3D
Returns the homogeneous (H) factor.
getIndex(int) - Method in class FlatRenderer.EdgeTable
Calculates the index in the bucket array, given a y coordinate.
getIndex(TreeNode) - Method in class CoorSys
Returns the index of the specified child.
getInfo() - Method in class MeshDemo
Returns the copyright information.
getIntensity(int) - Method in class GouraudRenderer.PolygonInfoEx
returns the intensity of the vertice at Mesh.Polygon.verticesIndex[i]
getKAmbient() - Method in class Mesh.Polygon
 
getKDiffuse() - Method in class Mesh.Polygon
 
getKSpecular() - Method in class Mesh.Polygon
 
getLight() - Method in class Metafile
Returns all the names of the lights.
getLight(String) - Method in class Metafile
Returns a Light.
getMatrix() - Method in class Transformation
Returns the transformation matrix.
getMesh() - Method in class Metafile
Returns all the names of the meshes.
getMesh(String) - Method in class Metafile
Returns a mesh.
getMetafile() - Method in class Renderer
Returns the current metafile of the renderer,
getN() - Method in class Mesh.Polygon
Returns the normal vector of this polygon.
getName() - Method in class CoorSys
Returns the name of the coordinate system.
getName() - Method in class Mesh
Returns the name of the polygon mesh.
getNormalVector() - Method in class PlaneEquation
Returns the normal vector.
getNormalVector(int) - Method in class GouraudRenderer.MeshInfo
Returns the normal vector of a vertice in the mesh at the specified index.
getNumerator() - Method in class FlatRenderer.EdgeEntry
Returns the numerator of 1/m (dx).
getOwner() - Method in class FlatRenderer.EdgeEntry
Returns the owning polygon of this edge.
getOwner() - Method in class Mesh.Polygon
Returns the owning mesh object of this polygon.
getParameterInfo() - Method in class MeshDemoApplet
 
getParent() - Method in class CoorSys
Returns the parent of this coorsys.
getPolygon() - Method in class FlatRenderer.PolygonInfo
returns the owner polygon.
getPolygons() - Method in class Mesh
returns the array of polygons in the mesh.
getPosition() - Method in class Light
Returns the position of the light.
getProjectionMatrix() - Method in class FlatRenderer
Returns the current projection matrix -- parallel or perspective.
getRenderMode() - Method in class Metafile
Returns the rendering mode, one of RENDERMODE_xxxx
getReverseMatrix() - Method in class CoorSys
Returns the inverse transformation matrix.
getSize() - Method in class Renderer
Returns how big the display size should be.
getStartIntensity() - Method in class GouraudRenderer.EdgeEntryEx
Returns the intensity of the polygon vertice at (xmin,ymin).
getStartNormal() - Method in class PhongRenderer.EdgeEntryEx
Returns the starting normal vector of this edge.
getTransformation(String) - Method in class Metafile
Returns a named transformation.
getVertices() - Method in class Mesh
Returns the array of points that makes up the mesh.
getVerticesIndex() - Method in class Mesh.Polygon
Returns the indexes to the vertices in the owner Mesh object.
getViewMode() - Method in class Metafile
Returns the viewing mode, one of VIEWMODE_xxxx
getViewPlane() - Method in class Metafile
Returns the view plane of the metafile
getVPN() - Method in class ViewPlane
Returns the view-point normal of the view plane.
getVRP() - Method in class ViewPlane
Returns the view reference point of the viewplane.
getWindowBoundaries() - Method in class Metafile
Returns the window boundaries as specified in the metafile.
getX() - Method in class FlatRenderer.EdgeEntry
Gets the X intersection value.
getX() - Method in class Vector3D
returns the first (X) element of the vector.
getXMax() - Method in class Mesh.Polygon
Returns the maximum x value.
getXMin() - Method in class FlatRenderer.EdgeEntry
Returns the minimum x value of the edge.
getXMin() - Method in class Mesh.Polygon
Returns the minimum x value.
getY() - Method in class Vector3D
returns the second (Y) element of the vector.
getYMax() - Method in class FlatRenderer.EdgeEntry
Returns the maximum y value of the edge.
getYMax() - Method in class Mesh.Polygon
Returns the maximum y value.
getYMin() - Method in class FlatRenderer.EdgeEntry
Returns the minimum y value of the edge.
getYMin() - Method in class Mesh.Polygon
Returns the minimum y value.
getZ() - Method in class Vector3D
returns the third (Z) element of the vector.
getZ(double, double) - Method in class FlatRenderer.PolygonInfo
Returns the Z value of the polygon, given the x and y values.
getZMax() - Method in class Mesh.Polygon
Returns the maximum z value.
getZMin() - Method in class Mesh.Polygon
Returns the minimum z value.
GouraudRenderer - class GouraudRenderer.
Renders Gouraud; intensity-value interpolation proposed by Gouraud.
GouraudRenderer.EdgeEntryEx - class GouraudRenderer.EdgeEntryEx.
Extended edge entry containing intensity information at each entry.
GouraudRenderer.EdgeEntryEx(Mesh.Polygon, int, int, int, int, float[], float[]) - Constructor for class GouraudRenderer.EdgeEntryEx
Constructs the entry for an edge.
GouraudRenderer.EdgeTableEx - class GouraudRenderer.EdgeTableEx.
Extended Edge Table containing intensity information at each edge entry.
GouraudRenderer.EdgeTableEx() - Constructor for class GouraudRenderer.EdgeTableEx
Constructs a null edge table.
GouraudRenderer.EdgeTableEx(GouraudRenderer.PolygonInfoEx) - Constructor for class GouraudRenderer.EdgeTableEx
Constructs an edge table from a polygon object.
GouraudRenderer.MeshInfo - class GouraudRenderer.MeshInfo.
Information about rendering a mesh.
GouraudRenderer.MeshInfo(Mesh) - Constructor for class GouraudRenderer.MeshInfo
Constructs the object and calculate the intensity value for each vertice.
GouraudRenderer.PolygonInfoEx - class GouraudRenderer.PolygonInfoEx.
Extended polygon info containing information about the intensities of each vertices.
GouraudRenderer.PolygonInfoEx() - Constructor for class GouraudRenderer.PolygonInfoEx
Constructs a blank PolygonInfoEx object.
GouraudRenderer.PolygonInfoEx(Mesh.Polygon, GouraudRenderer.MeshInfo, List) - Constructor for class GouraudRenderer.PolygonInfoEx
Constructs the object.
GouraudRenderer(Component) - Constructor for class GouraudRenderer
 

H

hashCode() - Method in class Mesh
Returns the hash code for the Mesh's name.

I

increment - Variable in class FlatRenderer.EdgeEntry
The numerator increment
info - Variable in class GouraudRenderer.EdgeTableEx
The polygon info
init() - Method in class MeshDemoApplet
Initializes the applet.
initBackingStore() - Method in class Renderer
Creates an image for the backing store.
initBucket(int, int) - Method in class FlatRenderer.EdgeTable
Initializes the bucket.
initLineBuffers(int) - Method in class FlatRenderer
Initializes the line buffers: depthBuffer and colorBuffer.
initPolygonTable() - Method in class FlatRenderer
Initializes the polygon table with PolygonInfo instances using the current meshes in projectedMeshes.
initPolygonTable() - Method in class GouraudRenderer
Initializes the polygon table with PolygonInfoEx instances using the current meshes in projectedMeshes.
initPolygonTable() - Method in class PhongRenderer
Initializes the polygon table with PolygonInfoEx instances using the current meshes in projectedMeshes.
inside(int) - Method in class FlatRenderer.EdgeTable
Returns true if the specified coordinate is within the bounds of the edge table.
intensities - Variable in class GouraudRenderer.PolygonInfoEx
The intensity values.
isFocusTraversable() - Method in class MeshDemo.DrawingPanel
 
isHorizontal() - Method in class FlatRenderer.EdgeEntry
Returns true if the edge is horizontal (dy == 0)
isLeaf() - Method in class CoorSys
Returns true if the this cooorsys has no children.
isVertical() - Method in class FlatRenderer.EdgeEntry
Returns true if the edge is vertical (dx == 0)
iterator() - Method in class FlatRenderer.ActiveEdgeTable
Returns an iterator to the edges.

K

KAmbient - Variable in class Mesh.Polygon
 
KDiffuse - Variable in class Mesh.Polygon
 
keyPressed(KeyEvent) - Method in class MeshDemo
Responds to keyboard events.
keyReleased(KeyEvent) - Method in class MeshDemo
 
keyTyped(KeyEvent) - Method in class MeshDemo
 
KSpecular - Variable in class Mesh.Polygon
The object reflectance

L

layoutComponents() - Method in class MeshDemo
Creates and lays out child components.
lbCoorSysRotate - Variable in class MeshDemo
The "Rotate ..." label.
lbCoorSysTranslate - Variable in class MeshDemo
The "Translate ..." label
lbCurCoorSysMatrix - Variable in class MeshDemo
the current coorsys matrix name
Light - class Light.
Represents a light source in 3D Space.
Light(String, Point3D, Color) - Constructor for class Light
 
lights - Variable in class FlatRenderer
The list of Light objects, transformed onto viewplane coordinates, but not projected.
lights - Variable in class FlatRenderer.PolygonInfo
The available lights.
lights - Variable in class Metafile
A set of named Light objects in (String,Light) pairs.
loadCoorSys() - Method in class MeshDemo
loads the lstCoorSys list
loadMesh(URL) - Method in class MeshDemoApplet
Loads a mesh file.
lsmCoorSys - Variable in class MeshDemo
The list model of lstCoorsys
lstCoorSys - Variable in class MeshDemo
The list of available CoorSys

M

main(String[]) - Static method in class MeshDemo
Main function when run as an application.
main(String[]) - Static method in class MeshDemoApplet
Just calls MeshDemo.main().
makeCoorSysMatrices(CoorSys) - Method in class FlatRenderer
Retrieves coorsys transformation matrices up to the root, and returns the composite transformation matrix.
makeParallelProjection() - Method in class Renderer
Creates a parallel projection matrix.
makePerspectiveProjection() - Method in class Renderer
Creates a perspective projection matrix.
makePolygon(Mesh) - Method in class WireframeRenderer
Projects a Polygon Mesh into a polygon for viewing on window.
MARK_RADIUS - Static variable in class Light
The light marker's radius.
matrix - Variable in class Transformation
The transformation matrix.
mesh - Variable in class GouraudRenderer.MeshInfo
The mesh for which this MeshInfo is tied to.
Mesh - class Mesh.
Represents an object in 3D space expressed by a polygon mesh.
Mesh.Polygon - class Mesh.Polygon.
Represents one polygon in the mesh.
Mesh.Polygon(Mesh, int[]) - Constructor for class Mesh.Polygon
Polygon
Mesh.Polygon(Mesh, int[], Color) - Constructor for class Mesh.Polygon
 
Mesh.Polygon(Mesh, int[], Color, RGBTriplet, RGBTriplet, RGBTriplet, float) - Constructor for class Mesh.Polygon
 
Mesh.SameSurface - class Mesh.SameSurface.
Represents SameSurface
Mesh.SameSurface(Mesh, int[]) - Constructor for class Mesh.SameSurface
 
Mesh(String) - Constructor for class Mesh
Constructs the mesh object.
Mesh(String, Point3D[], Mesh.Polygon[]) - Constructor for class Mesh
Constructs the mesh object.
MeshDemo - class MeshDemo.
The Mesh Demo GUI code.
MeshDemo.DrawingPanel - class MeshDemo.DrawingPanel.
 
MeshDemo.DrawingPanel() - Constructor for class MeshDemo.DrawingPanel
 
MeshDemo() - Constructor for class MeshDemo
Constructs the object, create child components.
MeshDemoApplet - class MeshDemoApplet.
Wrapper applet for MeshDemo.
MeshDemoApplet() - Constructor for class MeshDemoApplet
Constructs the applet
meshes - Variable in class MeshDemoApplet
A set of (JMenuItem,URL) pairs.
meshes - Variable in class Metafile
A set of named Mesh objects in (String,Mesh) pairs.
meshInfo - Variable in class GouraudRenderer.PolygonInfoEx
The mesh information.
meshInfo - Variable in class PhongRenderer.EdgeTableEx
The current mesh info.
meshTable - Variable in class GouraudRenderer
A Set of (Mesh,MeshInfo objects) pairs describing the mesh.
metafile - Variable in class Renderer
The metafile containing the specification of the polygon meshes.
Metafile - class Metafile.
Abstract class which represents 3-D drawings defined by polygon meshes.
Metafile() - Constructor for class Metafile
Constructs the metafile object.
mnFileOpen - Variable in class MeshDemo
File|Open menu
mouseClicked(MouseEvent) - Method in class MeshDemo.DrawingPanel
 
mouseEntered(MouseEvent) - Method in class MeshDemo.DrawingPanel
 
mouseExited(MouseEvent) - Method in class MeshDemo.DrawingPanel
 
mousePressed(MouseEvent) - Method in class MeshDemo.DrawingPanel
 
mouseReleased(MouseEvent) - Method in class MeshDemo.DrawingPanel
 
moveCamera(double, double, double) - Method in class MeshDemo
Translates the camera.
moveCamera(double, double, double) - Method in class Renderer
Translates the camera.

N

N - Variable in class Mesh.Polygon
The specular-reflection parameter
name - Variable in class CoorSys
the name of the coordinate system.
name - Variable in class Light
The light's name.
name - Variable in class Mesh
The name of the mesh.
name - Variable in class Transformation
The name of the transformation.
nextX() - Method in class FlatRenderer.ActiveEdgeTable
Calculates the next x intersection values for each nonvertical edges.
nextX() - Method in class FlatRenderer.EdgeEntry
Calculates the next x intersection value when y is incremented, based on the current x.
norm() - Method in class Vector3D
Returns the norm (vector length) of this vector.
normalize() - Method in class Vector3D
Normalizes this vector.
normalized() - Method in class Vector3D
Returns the normalized form of this vector.
normalized(double, double, double) - Static method in class Vector3D
Returns a normalized vector with the specified (x,y,z) values.
normalizeMesh(Mesh) - Method in class FlatRenderer
Normalizes the mesh into viewplane coordinates.
normalizeMesh(Mesh) - Method in class GouraudRenderer
Normalize a mesh into vieplane coordinates.
normalizeMeshes() - Method in class FlatRenderer
Normalizes all the mesh objects and put into projectedMeshes.
normalizeMeshes() - Method in class GouraudRenderer
Normalizes all the mesh objects into viewplane coordinates
normalVector - Variable in class PlaneEquation
The normal vector, cached value from (A,B,C)
normalVectors - Variable in class GouraudRenderer.MeshInfo
The normal vectors of each vertice in the mesh.
notifyDataChanged() - Method in class FlatRenderer
 
notifyDataChanged() - Method in class GouraudRenderer
 
notifyDataChanged() - Method in class Renderer
Called when there are changes to the Renderer data.
notifyDataChanged() - Method in class WireframeRenderer
Handles changes in renderer data.
numerator - Variable in class FlatRenderer.EdgeEntry
The numerator of 1/m (dx).

O

overlaps(double, double, double, double) - Static method in class Renderer
Determines if two sets of range values overlaps
owner - Variable in class FlatRenderer.EdgeEntry
The polygon which this edge belongs.
owner - Variable in class Mesh.Polygon
The owner mesh which this polygon belongs to.
owner - Variable in class Mesh.SameSurface
 
owner - Variable in class Renderer
The owner component.

P

paint(Graphics2D) - Method in class FlatRenderer
 
paint(Graphics2D) - Method in class Renderer
Renders the 3-D scene.
paint(Graphics2D) - Method in class WireframeRenderer
Renders the wireframe.
paintComponent(Graphics) - Method in class MeshDemo.DrawingPanel
 
paintLights(Graphics) - Method in class GouraudRenderer
Paints the lights objects
parallelProjection(double, double) - Static method in class Renderer
Returns a 4x4 homogeneous matrix for parallel projection
PARAM_MESHFILE_PREFIX - Static variable in class MeshDemoApplet
The prefix of the mesh file parameter.
PARAM_MESHNAME_PREFIX - Static variable in class MeshDemoApplet
The prefix of the mesh name parameter.
parent - Variable in class CoorSys
the parent of this coordinate system.
parseColor(String) - Static method in class ErioMetafile2
Translates a color string into a Color object.
performAbout() - Method in class MeshDemo
Displays name and copyright information.
performFileOpen() - Method in class MeshDemo
Handles file open command.
performRedraw() - Method in class MeshDemo
Handles redraw command.
performReload() - Method in class MeshDemo
Handles the Reload command.
PhongRenderer - class PhongRenderer.
Renders Phong; normal-vector interpolation algorithm proposed by Phong Bui-Tong.
PhongRenderer.EdgeEntryEx - class PhongRenderer.EdgeEntryEx.
Extended edge information containing normal vectors for each entry.
PhongRenderer.EdgeEntryEx(PhongRenderer, Mesh.Polygon, int, int, int, int, Vector3D, Vector3D) - Constructor for class PhongRenderer.EdgeEntryEx
Constructs the edge entry information.
PhongRenderer.EdgeTableEx - class PhongRenderer.EdgeTableEx.
The Edge table for each polygon.
PhongRenderer.EdgeTableEx(PhongRenderer, PhongRenderer.PolygonInfoEx, GouraudRenderer.MeshInfo) - Constructor for class PhongRenderer.EdgeTableEx
Constructs an edge table from a polygon object.
PhongRenderer.PolygonInfoEx - class PhongRenderer.PolygonInfoEx.
Polygon information -- only functions to create instances of PhongRenderer.EdgeTableEx and ActiveEdgeTable.
PhongRenderer.PolygonInfoEx(PhongRenderer, Mesh.Polygon, GouraudRenderer.MeshInfo, List) - Constructor for class PhongRenderer.PolygonInfoEx
Constructs the object.
PhongRenderer(Component) - Constructor for class PhongRenderer
 
PlaneEquation - class PlaneEquation.
Represents a plane equation for a plane in 3D space.
PlaneEquation(double, double, double, double, double, double, double, double, double) - Constructor for class PlaneEquation
Creates a plane equation from three (x,y,z) triplets.
PlaneEquation(Mesh.Polygon) - Constructor for class PlaneEquation
Creates a plane equation from the first three points in the polygon.
PlaneEquation(Point3D, Point3D, Point3D) - Constructor for class PlaneEquation
Creates a plane equation from a set of three points which are on the plane.
pnCamera - Variable in class MeshDemo
The "Camera" panel.
pnCameraPos - Variable in class MeshDemo
The "Camera Position" panel
pnCameraView - Variable in class MeshDemo
The "Camera View" panel
pnCoorSys - Variable in class MeshDemo
The "CoorSys" panel
Point3D - class Point3D.
Represents a point in 3D space.
Point3D(double, double, double) - Constructor for class Point3D
Constructs a point from separate (x,y,z) values.
Point3D(Matrix) - Constructor for class Point3D
Constructs a point from the elements of the matrix in homogeneous coordinate system (x,y,z,1)
polygon - Variable in class FlatRenderer.PolygonInfo
The owner polygon.
polygonIndex - Variable in class Mesh.SameSurface
 
polygons - Variable in class Mesh
A list of PolygonMesh.Polygon objects that defines the polygons in the mesh.
polygonTable - Variable in class FlatRenderer
The polygon table, containing PolygonInfo instances
position - Variable in class Light
The light's position.
prjMode - Variable in class WireframeRenderer
Viewing mode.
processPolygon(FlatRenderer.PolygonInfo, int) - Method in class FlatRenderer
Draws a polygon at the current scan line.
processScanLine(Graphics2D) - Method in class FlatRenderer
Scan-line converts the projected meshes.
projectedMeshes - Variable in class FlatRenderer
The list of meshes which are already projected onto the viewplane, ready for scan-conversion.
projectMatrix(Matrix) - Method in class FlatRenderer
Project matrix to viewplane matrix and projection matrix.
projectMesh(Mesh) - Method in class FlatRenderer
Projects all the meshes in projectedMeshes
projectMeshes() - Method in class FlatRenderer
Projects the mesh objects in projectedMeshes

R

R - Variable in class RGBTriplet
The Red color value.
read(Reader) - Method in class ErioMetafile
reads an Erio's 3D metafile.
read(Reader) - Method in class ErioMetafile2
reads an Erio's 3D metafile.
read(Reader) - Method in class Metafile
Reads metafile data into the object.
readCoorSys(LineNumberReader, String) - Method in class ErioMetafile
Reads a COORSYS section from the metafile.
readHeader(LineNumberReader) - Method in class ErioMetafile
Reads header data.
readLight(LineNumberReader, String) - Method in class ErioMetafile2
reads a LIGHT section from the metafile.
readMesh(LineNumberReader, String) - Method in class ErioMetafile
Reads a MESH section from the metafile.
readMesh(LineNumberReader, String) - Method in class ErioMetafile2
Reads a MESH section from the metafile.
readTransformation(LineNumberReader, String) - Method in class ErioMetafile
Reads a TRANSFORMATION section in the metafile
REAL_WORLD - Static variable in class CoorSys
The RealWorld coordinate system.
REAL_WORLD - Static variable in class Mesh
RealWorld coordinates
removeBucket(int) - Method in class FlatRenderer.EdgeTable
Returns the bucket with the specified y coordinate, and removes it from the edge table.
removeYMax(int) - Method in class FlatRenderer.ActiveEdgeTable
Removes the AET entries which ymax == y.
removeYMin(int) - Method in class FlatRenderer.EdgeBucket
Removes entries from the bucket whose ymin == y.
render() - Method in class FlatRenderer
 
render() - Method in class Renderer
Called to re-render the image internally.
render() - Method in class WireframeRenderer
Renders the image into backingStore.
renderer - Variable in class MeshDemo
The renderer object
renderer - Variable in class MeshDemo.DrawingPanel
 
Renderer - class Renderer.
Base class for all renderer objects which renders 3-D polygon meshes.
Renderer(Component) - Constructor for class Renderer
Creates the renderer to draw in the owner component.
renderMode - Variable in class Metafile
the rendering mode, one of RENDERMODE_xxx
RENDERMODE_FLAT - Static variable in class Metafile
Render constant-shade
RENDERMODE_GOURAUD - Static variable in class Metafile
Render Guraud
RENDERMODE_PHONG - Static variable in class Metafile
Render Phong
RENDERMODE_WIREFRAME - Static variable in class Metafile
Render wireframe
reverseMatrix - Variable in class CoorSys
The transformation matrix from a point in the current coordinate system to a point in the real world.
RGBTriplet - class RGBTriplet.
Stores RGB Triplet float values.
RGBTriplet() - Constructor for class RGBTriplet
Constructs the RGB triplet with (R,G,B) values of (1,1,1).
RGBTriplet(Color) - Constructor for class RGBTriplet
Constructs the RGB Triplet from the specified Color object.
RGBTriplet(float, float, float) - Constructor for class RGBTriplet
Constructs the RGB triplet with the specified (R,G,B) values.
rightTabs - Variable in class MeshDemo
The right tab pane
rotateCameraX(double) - Method in class MeshDemo
Rotates the camera by the X axis.
rotateCameraX(double) - Method in class Renderer
Rotates the camera by the X axis.
rotateCameraY(double) - Method in class MeshDemo
Rotates the camera by the Y axis.
rotateCameraY(double) - Method in class Renderer
Rotates the camera by the Y axis.
rotateCameraZ(double) - Method in class MeshDemo
Rotates the camera by the Z axis.
rotateCameraZ(double) - Method in class Renderer
Rotates the camera by the Z axis.
rotateCoorSysX(String, double) - Method in class MeshDemo
Rotates a coordinate system by the X axis.
rotateCoorSysX(String, double) - Method in class Renderer
Rotates a coordinate system by the X axis.
rotateCoorSysY(String, double) - Method in class MeshDemo
Rotates a coordinate system by the Y axis.
rotateCoorSysY(String, double) - Method in class Renderer
Rotates a coordinate system by the Y axis.
rotateCoorSysZ(String, double) - Method in class MeshDemo
Rotates a coordinate system by the Z axis.
rotateCoorSysZ(String, double) - Method in class Renderer
Rotates a coordinate system by the Z axis.
rotateX(double) - Method in class ViewPlane
Rotates the viewplane by it's X axis.
rotateY(double) - Method in class ViewPlane
Rotates the viewplane by it's Y axis.
rotateZ(double) - Method in class ViewPlane
Rotates the viewplane by it's Z axis.
roundCoord(double) - Static method in class FlatRenderer
Rounds a coordinate value from world units to device units.

S

sameSurface - Variable in class Mesh
 
set(Matrix) - Method in class Point3D
Sets the (x,y,z) value based on the specified 4x1 homogeneous 3D vector.
set(Matrix) - Method in class Vector3D
Sets the vectors x,y,z,h values from the matrix.
set(Point3D) - Method in class Vector3D
Sets the vectors x,y,z values from the point.
setBucket(int, FlatRenderer.EdgeBucket) - Method in class FlatRenderer.EdgeTable
Sets the bucket at the specified y coordinate.
setCoorSys(CoorSys) - Method in class Mesh
Sets the coordinate system.
setCoorSys(String, CoorSys) - Method in class Metafile
Sets a coordinate system into the metafile.
setForwardMatrix(Matrix) - Method in class CoorSys
Sets the transformation matrix from a point in the real world to a point in the current coordinate system.
setH(double) - Method in class Vector3D
Sets the homogeneous factor.
setLight(String, Light) - Method in class Metafile
Sets a light into the metafile.
setMesh(String, Mesh) - Method in class Metafile
Sets a mesh into the metafile.
setMetafile(Metafile) - Method in class Renderer
Sets a new metafile.
setN(float) - Method in class Mesh.Polygon
Sets the normal vector of this polygon.
setPolygons(Mesh.Polygon[]) - Method in class Mesh
Sets the polygon arrays to the mesh
setPosition(Point3D) - Method in class Light
Sets the position of the light.
setReverseMatrix(Matrix) - Method in class CoorSys
Sets the transformation matrix from a point in the current coordinate system to a point in the real world.
setSameSurface(Mesh.SameSurface[]) - Method in class Mesh
 
setStatus(String) - Method in class MeshDemo
Sets the status.
setTransformation(String, Transformation) - Method in class Metafile
Sets a transformation into the metafile.
setupCartesian(Graphics2D) - Method in class Renderer
Modifies the Graphic object coordinate system to cartesian.
setVertices(Point3D[]) - Method in class Mesh
Sets the array of vertices of the mesh.
setX(double) - Method in class Vector3D
Sets the first (X) element of the vector.
setY(double) - Method in class Vector3D
Sets the second (Y) element of the vector.
setZ(double) - Method in class Vector3D
Sets the third (Z) element of the vector.
size() - Method in class FlatRenderer.ActiveEdgeTable
Returns the number of edges in the AET.
size() - Method in class FlatRenderer.EdgeBucket
Returns the number of entries in the bucket.
sort() - Method in class FlatRenderer.ActiveEdgeTable
Sorts the AET entries by the x intersection values of each entry.
startIntensity - Variable in class GouraudRenderer.EdgeEntryEx
The starting intensity value at (xmin,ymin).
startNormal - Variable in class PhongRenderer.EdgeEntryEx
The starting normal vector at the point (xmin,ymin) of this edge.
statusBar - Variable in class MeshDemo
the status bar
subtract(Vector3D, Vector3D) - Static method in class Vector3D
Subtracts two vectors

T

tfCameraMoveDelta - Variable in class MeshDemo
How far should one move be?
tfCameraRotateDelta - Variable in class MeshDemo
How far should the camera rotates (in degrees).
tfCoorSysMoveDelta - Variable in class MeshDemo
How far should the coorsys be moved at one click.
tfCoorSysRotateDelta - Variable in class MeshDemo
The rotation angle.
times(double) - Method in class Vector3D
Multiplies the vector by a scalar.
toColor() - Method in class RGBTriplet
Creates a new Color object from this RGBTriplet.
toolBar - Variable in class MeshDemo
The bottom-right button bar.
toRealWorld(Point3D[], Point3D[]) - Method in class CoorSys
Converts points in RealWorld to points in this coordinate system.
toRealWorld(Point3D, Point3D) - Method in class CoorSys
Converts a point in RealWorld to a point in this coordinate system.
toString() - Method in class CoorSys
Returns the name of this coordinate system.
toString() - Method in class FlatRenderer.EdgeTable
Creates a human-readable String that displays the contents of this object, for debugging purposes.
toString() - Method in class FlatRenderer.ActiveEdgeTable
Creates a human-readable String that displays the contents of this object, for debugging purposes.
toString() - Method in class FlatRenderer.EdgeBucket
Creates a human-readable String that displays the contents of this object, for debugging purposes.
toString() - Method in class FlatRenderer.EdgeEntry
Creates a human-readable String that displays the contents of this object, for debugging purposes.
toString() - Method in class Light
 
toString() - Method in class Mesh
Returns the name of the polygon mesh.
toString() - Method in class Mesh.Polygon
Returns the string representation of this polygon.
toString() - Method in class Point3D
Returns the string representation of this object.
toString() - Method in class Transformation
Returns the name of the transformation.
toString() - Method in class Vector3D
Returns the string representation of the vector.
Transformation - class Transformation.
The representation of a transformation.
Transformation(String, Matrix) - Constructor for class Transformation
Constructs the transformation object.
transformations - Variable in class Metafile
A set of named transformation objects in (String,Transformation) pairs
transformLights() - Method in class FlatRenderer
Transforms all the Light objects onto the viewplane and store them into the lights List.
translate(double, double, double) - Method in class ViewPlane
Translates the viewplane.
translateCoorSys(String, double, double, double) - Method in class MeshDemo
Translates a coordinate system.
translateCoorSys(String, double, double, double) - Method in class Renderer
Translates a coordinate system.
txtCameraVPN - Variable in class MeshDemo
The camera VPN, [0] = x, [1] = y, [2] = z
txtCameraVRP - Variable in class MeshDemo
The camera VRP, [0] = x, [1] = y, [2] = z
txtCameraVUP - Variable in class MeshDemo
The camera VUP, [0] = x, [1] = y, [2] = z
txtCoorSysMatrix - Variable in class MeshDemo
The matrix of CoorSys

U

unhomogenize() - Method in class Vector3D
Divides the x,y,z factor by h if necessary.

V

valueChanged(TreeSelectionEvent) - Method in class MeshDemo
 
Vector3D - class Vector3D.
Represents a line vector in 3D space.
Vector3D() - Constructor for class Vector3D
Constructs a zero vector.
Vector3D(double, double, double) - Constructor for class Vector3D
Constructs a 3D vector.
Vector3D(double, double, double, boolean) - Constructor for class Vector3D
Constructs a 3D vector, optionally normalized.
Vector3D(Matrix) - Constructor for class Vector3D
Constructs a vector from a matrix.
Vector3D(Point3D) - Constructor for class Vector3D
Constructs a vector by taking the (x,y,z) elements of the point.
vertices - Variable in class Mesh
A list containing Point3D objects that are all the vertices in the mesh.
verticesIndex - Variable in class Mesh.Polygon
The array of indices to the points in the owner mesh.
view - Variable in class Metafile
The active viewplane.
viewMode - Variable in class Metafile
the view projection mode, one of VIEWMODE_xxx
VIEWMODE_PARALLEL - Static variable in class Metafile
Parallel viewing mode.
VIEWMODE_PERSPECT - Static variable in class Metafile
Perspective viewing mode.
viewPlane - Variable in class Metafile
The view plane.
viewPlane - Variable in class Renderer
The view plane on which to project the polygon mesh.
ViewPlane - class ViewPlane.
 
ViewPlane(Point3D, Vector3D, Vector3D) - Constructor for class ViewPlane
Constructs the viewplane.
VPN - Variable in class ViewPlane
 
VRP - Variable in class ViewPlane
the View Reference Point of the view plane.
VUP - Variable in class ViewPlane
 

W

windowBoundaries - Variable in class MeshDemo
The window boundaries
WindowBoundaries - class WindowBoundaries.
A simple class specifying view window boundaries.
WindowBoundaries() - Constructor for class WindowBoundaries
 
WireframeRenderer - class WireframeRenderer.
Renders 3D Mesh Wireframe.
WireframeRenderer(Component) - Constructor for class WireframeRenderer
 

X

x - Variable in class FlatRenderer.EdgeEntry
The x intersection value;
x - Variable in class Point3D
The X-coordinate of the point.
xIntersectCmp - Static variable in class FlatRenderer.ActiveEdgeTable
Comparator to sort EdgeEntries by the x intersection value.
xmax - Variable in class WindowBoundaries
Maximum x coordinate value of the window.
xMax - Variable in class Mesh.Polygon
the maximum x value.
xmin - Variable in class FlatRenderer
The minimum x scan line value.
xmin - Variable in class FlatRenderer.EdgeEntry
The minimum x value of the edge.
xmin - Variable in class WindowBoundaries
Minimum x coordinate value of the window.
xMin - Variable in class Mesh.Polygon
the minimum x value.

Y

y - Variable in class Point3D
The Y-coordinate of the point.
ymax - Variable in class FlatRenderer.EdgeTable
The maximum value of the scan lines.
ymax - Variable in class FlatRenderer.EdgeEntry
The maximum y value of the edge.
ymax - Variable in class WindowBoundaries
Maximum y coordinate value of the window.
yMax - Variable in class Mesh.Polygon
the maximum y value.
ymin - Variable in class FlatRenderer.EdgeTable
The minimum value of the scan lines.
ymin - Variable in class FlatRenderer.EdgeEntry
The minimum y value of the edge.
ymin - Variable in class WindowBoundaries
Minimum y coordinate value of the window.
yMin - Variable in class Mesh.Polygon
the minimum y value
yNext(int, Point3D[], int[]) - Static method in class FlatRenderer.EdgeTable
Given an index, returns the next y value of the first nonhorizontal polygon.

Z

z - Variable in class Point3D
The Z-coordinate of the point.
zMax - Variable in class Mesh.Polygon
the maximum Z value.
zMin - Variable in class Mesh.Polygon
the minimum Z value

< A B C D E F G H I K L M N O P R S T U V W X Y Z