Skip navigation links
A B C D F G I K L M N O P R S T U V W X Y Z 

A

actionPerformed(ActionEvent) - Method in class renderer.gui.AnimationFrame
Implement the ActionListener interface for the Timer.
actionPerformed(ActionEvent) - Method in class renderer.gui.InteractiveFrame
 
addLineSegment(int, int) - Method in class renderer.scene.Model
Add a LineSegment to this Model's List of line segments.
addLineSegment(Vertex, Vertex) - Method in class renderer.scene.Model
Add a LineSegment to this Model's List of line segments.
addModel(Model...) - Method in class renderer.scene.Scene
Add a Model (or Models) to this Scene.
addVertex(Vertex...) - Method in class renderer.scene.Model
Add a Vertex (or vertices) to this Model's List of vertices.
adjustmentValueChanged(AdjustmentEvent) - Method in class renderer.gui.InteractiveFrame
 
adjustmentValueChanged(AdjustmentEvent) - Method in class renderer.gui.InteractiveFrame_H
Implement the AdjustmentListener interface for the Scrollbar.
adjustmentValueChanged(AdjustmentEvent) - Method in class renderer.gui.InteractiveFrame_HV
Implement the AdjustmentListener interface for the Scrollbars.
adjustmentValueChanged(AdjustmentEvent) - Method in class renderer.gui.InteractiveFrame_V
Implement the AdjustmentListener interface for the Scrollbar.
AnimationFrame - Class in renderer.gui
This class allows our renderer to implement an animation.
AnimationFrame(String, int, int, int) - Constructor for class renderer.gui.AnimationFrame
Associate a Timer object to an InteractiveFrame window.
Axes2D - Class in renderer.models
Create an x and y axis in the xy-plane, along with "tick marks".
Axes2D() - Constructor for class renderer.models.Axes2D
Create an x and y axis from -1 to +1 on each axis.
Axes2D(double, double, double, double, int, int) - Constructor for class renderer.models.Axes2D
Create an x-axis from xMin to xMax and a y-axis from yMin to yMax.
Axes2D(double, double, double, double, double, int, int) - Constructor for class renderer.models.Axes2D
Create an x-axis from xMin to xMax and a y-axis from yMin to yMax.
Axes3D - Class in renderer.models
Create a positive x, y, and z axis in 3-dimensional space.
Axes3D() - Constructor for class renderer.models.Axes3D
Create a positive x, y, and z axis with one unit length for each axis.
Axes3D(double, double, double) - Constructor for class renderer.models.Axes3D
Create a positive x, y, and z axis with the given length for each axis.
Axes3D(double, double, double, Color) - Constructor for class renderer.models.Axes3D
Create a positive x, y, and z axis with the given length for each axis.
Axes3D(double, double, double, Color, Color, Color) - Constructor for class renderer.models.Axes3D
Create a positive x, y, and z axis with the given length for each axis.
Axes3D(double, double, double, double, double, double) - Constructor for class renderer.models.Axes3D
Create an x, y, and z axis with the given endpoints for each axis.
Axes3D(double, double, double, double, double, double, Color) - Constructor for class renderer.models.Axes3D
Create an x, y, and z axis with the given endpoints for each axis.
Axes3D(double, double, double, double, double, double, Color, Color, Color) - Constructor for class renderer.models.Axes3D
Create an x, y, and z axis with the given endpoints for each axis.

B

b - Variable in class renderer.scene.Vertex
 
bottom - Variable in class renderer.models.GRSModel
 
Box - Class in renderer.models
Create a wireframe model of a cube aligned with the x, y, and z axes and with one corner at the origin.
Box() - Constructor for class renderer.models.Box
Create a Box with all three sides of length 1.
Box(double, double, double) - Constructor for class renderer.models.Box
Create a Box with the given side lengths.

C

Camera - Class in renderer.scene
This Camera data structure represents a camera located at the origin, looking down the negative z-axis.
Camera() - Constructor for class renderer.scene.Camera
The default Camera uses perspective projection.
camera - Variable in class renderer.scene.Scene
 
Circle - Class in renderer.models
Create a wireframe model of a circle in the xy-plane centered at the origin.
Circle() - Constructor for class renderer.models.Circle
Create a circle in the xy-plane with radius 1 and with 12 line segments around the circumference.
Circle(double) - Constructor for class renderer.models.Circle
Create a circle in the xy-plane with radius r and with 12 line segments around the circumference.
Circle(double, int) - Constructor for class renderer.models.Circle
Create a circle in the xy-plane with radius r and with n line segments around the circumference.
clearFB() - Method in class renderer.framebuffer.FrameBuffer
Clear the FrameBuffer using its background color.
clearFB(Color) - Method in class renderer.framebuffer.FrameBuffer
Clear the FrameBuffer using the given Color.
clearVP() - Method in class renderer.framebuffer.FrameBuffer
Clear the viewport using its background color.
clearVP(Color) - Method in class renderer.framebuffer.FrameBuffer
Clear the viewport using the given Color.
Clip - Class in renderer.pipeline
Clip a (projected) LineSegment that sticks out of the view rectangle in the image plane.
Clip() - Constructor for class renderer.pipeline.Clip
 
clip(LineSegment) - Static method in class renderer.pipeline.Clip
If the LineSegment sticks out of the view rectangle, then clip it so that it is contained in the view rectangle.
componentHidden(ComponentEvent) - Method in class renderer.gui.InteractiveFrame
 
componentMoved(ComponentEvent) - Method in class renderer.gui.InteractiveFrame
 
componentResized(ComponentEvent) - Method in class renderer.gui.InteractiveFrame
 
componentShown(ComponentEvent) - Method in class renderer.gui.InteractiveFrame
 
Cone - Class in renderer.models
Create a wireframe model of a right circular cone with its base parallel to the xz-plane and its apex on the positive y-axis.
Cone() - Constructor for class renderer.models.Cone
Create a right circular cone with its base in the xz-plane, a base radius of 1, height 1, and apex on the positve y-axis.
Cone(double, double) - Constructor for class renderer.models.Cone
Create a right circular cone with its base in the xz-plane, a base radius of r, height h, and apex on the y-axis.
Cone(double, double, int, int) - Constructor for class renderer.models.Cone
Create a right circular cone with its base in the xz-plane, a base radius of r, height h, and apex on the y-axis.
Cone(double, double, double, int, int) - Constructor for class renderer.models.Cone
Create a right circular cone with its base parallel to the xz-plane at height y = h1, a base radius of r, and apex on the y-axis at y = h2.
ConeFrustum - Class in renderer.models
Create a wireframe model of a frustum of a right circular cone with its base in the xz-plane.
ConeFrustum() - Constructor for class renderer.models.ConeFrustum
Create a frustum of a right circular cone with its base in the xz-plane, a base radius of 1, top radius of 1/2, and height 1/2.
ConeFrustum(double, double, double, int, int) - Constructor for class renderer.models.ConeFrustum
Create a frustum of a right circular cone with its base in the xz-plane, a base radius of r1, top radius of r2, and height h.
ConeSector - Class in renderer.models
Create a wireframe model of a partial right circular cone with its base parallel to the xz-plane and its apex on the positive y-axis.
ConeSector() - Constructor for class renderer.models.ConeSector
Create half of a right circular cone with its base in the xz-plane, a base radius of 1, height 1, and apex on the positive y-axis.
ConeSector(double, double, double, double, int, int) - Constructor for class renderer.models.ConeSector
Create a part of the cone with its base in the xz-plane, a base radius of r, height h, and apex on the y-axis.
ConeSector(double, double, double, double, double, int, int) - Constructor for class renderer.models.ConeSector
Create a part of the cone with its base in the xz-plane, a base radius of r, height h, and apex on the y-axis.
ConeSector(double, double, double, double, double, double, int, int) - Constructor for class renderer.models.ConeSector
Create a part of the cone with its base in the plane y = h1, a base radius of r, and apex on the y-axis at h = h2.
convertBlue2FB() - Method in class renderer.framebuffer.FrameBuffer
Create a new FrameBuffer containing the pixel data from just the blue plane of this FrameBuffer.
convertGreen2FB() - Method in class renderer.framebuffer.FrameBuffer
Create a new FrameBuffer containing the pixel data from just the green plane of this FrameBuffer.
convertRed2FB() - Method in class renderer.framebuffer.FrameBuffer
Create a new FrameBuffer containing the pixel data from just the red plane of this FrameBuffer.
convertVP2FB() - Method in class renderer.framebuffer.FrameBuffer
Create a new FrameBuffer containing the pixel data from this FrameBuffer's current viewport rectangle.
Cube - Class in renderer.models
Create a wireframe model of a cube with its center at the origin, having edge length 2, and with its vertices at (±1, ±1, ±1).
Cube() - Constructor for class renderer.models.Cube
Create a cube with its center at the origin, having edge length 2, and with its vertices at (±1, ±1, ±1).
Cube2 - Class in renderer.models
Create a wireframe model of a cube with its center at the origin, having edge length 2, and with its corners at (±1, ±1, ±1).
Cube2() - Constructor for class renderer.models.Cube2
Create a cube with its center at the origin, having edge length 2, with its corners at (±1, ±1, ±1).
Cube2(int, int, int) - Constructor for class renderer.models.Cube2
Create a cube with its center at the origin, having edge length 2, with its corners at (±1, ±1, ±1), and with each of the cube's faces containing the given number of grid lines parallel to the x, y, and z directions.
Cube3 - Class in renderer.models
Create a wireframe model of a cube with its center at the origin, having edge length 2, and with its corners at (±1, ±1, ±1).
Cube3() - Constructor for class renderer.models.Cube3
Create a cube with its center at the origin, having edge length 2, with its corners at (±1, ±1, ±1).
Cube3(int, int, int) - Constructor for class renderer.models.Cube3
Create a cube with its center at the origin, having edge length 2, with its corners at (±1, ±1, ±1), and with each of the cube's faces containing a triangle fan with the given number of triangles along each of the x, y, and z directions.
Cube4 - Class in renderer.models
Create a wireframe model of a cube with its center at the origin, having edge length 2, and with its corners at (±1, ±1, ±1).
Cube4() - Constructor for class renderer.models.Cube4
Create a cube with its center at the origin, having edge length 2, with its corners at (±1, ±1, ±1).
Cube4(int, int, int) - Constructor for class renderer.models.Cube4
Create a cube with its center at the origin, having edge length 2, with its corners at (±1, ±1, ±1), and with the top and bottom faces containing a triangle fan with the given number of triangles along each of the x, and z directions.
Cylinder - Class in renderer.models
Create a wireframe model of a right circular cylinder with its axis along the y-axis.
Cylinder() - Constructor for class renderer.models.Cylinder
Create a right circular cylinder with radius 1 and its axis along the y-axis from y = -1 to y = 1.
Cylinder(double, double) - Constructor for class renderer.models.Cylinder
Create a right circular cylinder with radius r and its axis along the y-axis from y = -h to y = h.
Cylinder(double, double, int, int) - Constructor for class renderer.models.Cylinder
Create a right circular cylinder with radius r and its axis along the y-axis from y = -h to y = h.
Cylinder(double, double, double, int, int) - Constructor for class renderer.models.Cylinder
Create a right circular cylinder with radius r and its axis along the y-axis from y = h1 to y = h2.
CylinderSector - Class in renderer.models
Create a wireframe model of a partial right circular cylinder with its axis along the y-axis.
CylinderSector() - Constructor for class renderer.models.CylinderSector
Create half of a cylinder with radius 1 and its axis along the y-axis from y = -1 to y = 1.
CylinderSector(double, double, double, double, int, int) - Constructor for class renderer.models.CylinderSector
Create a part of the cylinder with radius r and its axis along the y-axis from y = -h to y = h.
CylinderSector(double, double, double, double, double, int, int) - Constructor for class renderer.models.CylinderSector
Create a part of the cylinder with radius r and its axis along the y-axis from y = -h1 to y = h1.

D

debug - Static variable in class renderer.pipeline.Clip
 
debug - Static variable in class renderer.pipeline.Pipeline
 
debug - Static variable in class renderer.pipeline.Rasterize
 
debug - Static variable in class renderer.pipeline.RasterizeAntialias
 
Disk - Class in renderer.models
Create a wireframe model of a disk in the xy-plane centered at the origin.
Disk() - Constructor for class renderer.models.Disk
Create a disk in the xy-plane with radius 1, with 12 spokes coming out of the center, and with 6 concentric circles around the disk.
Disk(double) - Constructor for class renderer.models.Disk
Create a disk in the xy-plane with radius r, with 12 spokes coming out of the center, and with 6 concentric circles around the disk.
Disk(double, int, int) - Constructor for class renderer.models.Disk
Create a disk in the xy-plane with radius r, with k spokes coming out of the center, and with n concentric circles around the disk.
DiskSector - Class in renderer.models
Create a wireframe model of a sector of a disk in the xy-plane centered at the origin.
DiskSector() - Constructor for class renderer.models.DiskSector
Create half a disk in the xy-plane with radius 1, with 7 spokes coming out of the center, and with 6 concentric circles around the disk.
DiskSector(double, double, double, int, int) - Constructor for class renderer.models.DiskSector
Create a sector of a disk in the xy-plane with radius r, with k spokes coming out of the center, and with n concentric circles around the disk.
doAntialiasing - Static variable in class renderer.pipeline.Pipeline
 
Dodecahedron - Class in renderer.models
Create a wireframe model of a regular dodecahedron with its center at the origin, having edge length
Dodecahedron() - Constructor for class renderer.models.Dodecahedron
Create a regular dodecahedron with its center at the origin, having edge length
dumpFB2File(String) - Method in class renderer.framebuffer.FrameBuffer
Write this FrameBuffer to the specified PPM file.
dumpFB2File(String, String) - Method in class renderer.framebuffer.FrameBuffer
Write this FrameBuffer to the specified image file using the specified file format.
dumpPixels2File(int, int, int, int, String) - Method in class renderer.framebuffer.FrameBuffer
Write a rectangular sub array of pixels from this FrameBuffer to the specified PPM file.
dumpPixels2File(int, int, int, int, String, String) - Method in class renderer.framebuffer.FrameBuffer
Write a rectangular sub array of pixels from this FrameBuffer to the specified image file using the specified file format.
dumpVP2File(String) - Method in class renderer.framebuffer.FrameBuffer
Write the viewport to the specified PPM file.
dumpVP2File(String, String) - Method in class renderer.framebuffer.FrameBuffer
Write the viewport to the specified image file using the specified file format.

F

fbp - Variable in class renderer.gui.InteractiveFrame
 
fbTest() - Method in class renderer.framebuffer.FrameBuffer
A simple test of the FrameBuffer class.
focusGained(FocusEvent) - Method in class renderer.gui.InteractiveFrame
 
focusLost(FocusEvent) - Method in class renderer.gui.InteractiveFrame
 
FrameBuffer - Class in renderer.framebuffer
A FrameBuffer represents a two-dimensional array of pixel data.
FrameBuffer(int, int) - Constructor for class renderer.framebuffer.FrameBuffer
Construct a FrameBuffer with the given dimensions.
FrameBuffer(int, int, Color) - Constructor for class renderer.framebuffer.FrameBuffer
Construct a FrameBuffer with the given dimensions and initialize the FrameBuffer to the given Color.
FrameBuffer(String) - Constructor for class renderer.framebuffer.FrameBuffer
Construct a FrameBuffer from a PPM image file.
FrameBufferPanel - Class in renderer.gui
This class is an interface between our renderer and the Java GUI system.
FrameBufferPanel(FrameBuffer) - Constructor for class renderer.gui.FrameBufferPanel
 

G

g - Variable in class renderer.scene.Vertex
 
getBgColorFB() - Method in class renderer.framebuffer.FrameBuffer
Get the background Color of the FrameBuffer.
getBgColorVP() - Method in class renderer.framebuffer.FrameBuffer
Get the background Color of the viewport.
getColor() - Method in class renderer.scene.Vertex
Get the Color of this Vertex.
getFPS() - Method in class renderer.gui.AnimationFrame
Use this method to get the current frames-per-second rate
getFrameBuffer() - Method in class renderer.gui.FrameBufferPanel
Accessor method for the FrameBuffer currently being used as the source for the Image painted on this JPanel.
getFrameBuffer() - Method in class renderer.gui.InteractiveFrame
Accessor method for the FrameBuffer currently being used as the source for the Image painted on the FrameBufferPanel.
getHeightFB() - Method in class renderer.framebuffer.FrameBuffer
Get the height of the FrameBuffer.
getHeightVP() - Method in class renderer.framebuffer.FrameBuffer
Get the height of the viewport.
getLocationVP() - Method in class renderer.framebuffer.FrameBuffer
Get the upper left hand corner of the viewport.
getPixelFB(int, int) - Method in class renderer.framebuffer.FrameBuffer
Get the Color of the pixel with coordinates (x,y) in the framebuffer.
getPixelVP(int, int) - Method in class renderer.framebuffer.FrameBuffer
Get the Color of the pixel with coordinates (x,y) relative to the current viewport.
getPreferredSize() - Method in class renderer.gui.FrameBufferPanel
 
getWidthFB() - Method in class renderer.framebuffer.FrameBuffer
Get the width of the FrameBuffer.
getWidthVP() - Method in class renderer.framebuffer.FrameBuffer
Get the width of the viewport.
GRSModel - Class in renderer.models
Create a wirefram model from a GRS file.
GRSModel(File) - Constructor for class renderer.models.GRSModel
Create a wireframe model from the contents of an GRS file.

I

Icosahedron - Class in renderer.models
Create a wireframe model of a regular icosahedron with its center at the origin, having edge length
Icosahedron() - Constructor for class renderer.models.Icosahedron
Create a regular icosahedron with its center at the origin, having edge length
index - Variable in class renderer.scene.LineSegment
 
InteractiveFrame - Class in renderer.gui
This class allows our rendering code to be used as the primary renderer for interactive Java programs.
InteractiveFrame(String, int, int) - Constructor for class renderer.gui.InteractiveFrame
Create a JFrame window with a BorderLayout and place a FrameBufferPanel (containing a FrameBuffer) in the center of the layout.
InteractiveFrame_H - Class in renderer.gui
This class adds a horizontal Scrollbar to the bottom edge of an InteractiveFrame window.
InteractiveFrame_H(String, int, int) - Constructor for class renderer.gui.InteractiveFrame_H
Add a horizontal Scrollbar to the bottom edge of an InteractiveFrame window.
InteractiveFrame_HV - Class in renderer.gui
This class adds vertical and horizontal Scrollbars to the right and bottom edges of an InteractiveFrame window.
InteractiveFrame_HV(String, int, int) - Constructor for class renderer.gui.InteractiveFrame_HV
Add vertical and horizontal Scrollbars to the right and bottom edges of an InteractiveFrame window.
InteractiveFrame_V - Class in renderer.gui
This class adds a vertical Scrollbar to the right edge of an InteractiveFrame window.
InteractiveFrame_V(String, int, int) - Constructor for class renderer.gui.InteractiveFrame_V
Add a vertical Scrollbar to the right edge of an InteractiveFrame window.
itemStateChanged(ItemEvent) - Method in class renderer.gui.InteractiveFrame
 

K

keyPressed(KeyEvent) - Method in class renderer.gui.InteractiveFrame
 
keyReleased(KeyEvent) - Method in class renderer.gui.InteractiveFrame
 
keyTyped(KeyEvent) - Method in class renderer.gui.InteractiveFrame
 

L

left - Variable in class renderer.models.GRSModel
 
LineSegment - Class in renderer.scene
A LineSegment object has two integers that represent the endpoints of the line segment.
LineSegment(int, int, Model) - Constructor for class renderer.scene.LineSegment
Create a LineSegment object with two integer indices into a Model's list of Vertex objects.
LineSegment(LineSegment, Model) - Constructor for class renderer.scene.LineSegment
Create a LineSegment object with the same two indices from the given LineSegment object but referring to the Vertex list from another Model.
lineSegmentList - Variable in class renderer.scene.Model
 

M

main(String[]) - Static method in class renderer.framebuffer.FrameBuffer
A main() method for testing the FrameBuffer class.
model - Variable in class renderer.scene.LineSegment
 
Model - Class in renderer.scene
A Model data structure represents a distinct geometric object in a Scene.
Model() - Constructor for class renderer.scene.Model
Construct an empty Model object.
Model(Model) - Constructor for class renderer.scene.Model
A "copy constructor".
modelList - Variable in class renderer.scene.Scene
 
mouseClicked(MouseEvent) - Method in class renderer.gui.InteractiveFrame
 
mouseDragged(MouseEvent) - Method in class renderer.gui.InteractiveFrame
 
mouseEntered(MouseEvent) - Method in class renderer.gui.InteractiveFrame
 
mouseExited(MouseEvent) - Method in class renderer.gui.InteractiveFrame
 
mouseMoved(MouseEvent) - Method in class renderer.gui.InteractiveFrame
 
mousePressed(MouseEvent) - Method in class renderer.gui.InteractiveFrame
 
mouseReleased(MouseEvent) - Method in class renderer.gui.InteractiveFrame
 

N

numLineStrips - Variable in class renderer.models.GRSModel
 

O

ObjSimpleModel - Class in renderer.models
A simple demonstration of loading and drawing a basic OBJ file.
ObjSimpleModel(File) - Constructor for class renderer.models.ObjSimpleModel
Create a wireframe model from the contents of an OBJ file.
Octahedron - Class in renderer.models
Create a wireframe model of a regular octahedron with its center at the origin, having side length sqrt(2) = 1.4142,with its center plane given by the four vertices (±1, 0, ±1).
Octahedron() - Constructor for class renderer.models.Octahedron
Create a regular octahedron with its center at the origin, having side length sqrt(2) = 1.4142, with its center plane given by the four vertices (±1, 0, ±1).

P

paintComponent(Graphics) - Method in class renderer.gui.FrameBufferPanel
 
Panel - Class in renderer.models
Create a flat wireframe checkerboard panel in the xz-plane.
Panel() - Constructor for class renderer.models.Panel
Create a flat checkerboard panel in the xz-plane that runs from -1 to 1 in the z-direction and -1 to 1 in the x-direction.
Panel(int, int, int, int) - Constructor for class renderer.models.Panel
Create a flat checkerboard panel in the xz-plane with the given dimensions.
ParametricCurve - Class in renderer.models
Create a wireframe model of a parametric curve in space.
ParametricCurve() - Constructor for class renderer.models.ParametricCurve
Create a trefoil knot as a parametric curve in space.
ParametricCurve(DoubleFunction<Double>, DoubleFunction<Double>, double, double, int) - Constructor for class renderer.models.ParametricCurve
Create a parametric curve in the xy-plane,
ParametricCurve(DoubleFunction<Double>, DoubleFunction<Double>, DoubleFunction<Double>, double, double, int) - Constructor for class renderer.models.ParametricCurve
Create a parametric curve in space,
ParametricSurface - Class in renderer.models
Create a wireframe model of a parametric surface in space.
ParametricSurface() - Constructor for class renderer.models.ParametricSurface
Create a graph of the function with the following formula,
ParametricSurface(DoubleBinaryOperator, double, double, double, double, int, int) - Constructor for class renderer.models.ParametricSurface
Create a graph of a function of two variables y = f(x, z) as a parametric surface with the given parameter ranges in the x and z directions.
ParametricSurface(DoubleBinaryOperator, DoubleBinaryOperator, DoubleBinaryOperator, double, double, double, double, int, int) - Constructor for class renderer.models.ParametricSurface
Create a parametric surface in space,
perspective - Variable in class renderer.scene.Camera
 
Pipeline - Class in renderer.pipeline
This renderer takes as its input a Scene data structure and a FrameBuffer data structure.
Pipeline() - Constructor for class renderer.pipeline.Pipeline
 
pixel_buffer - Variable in class renderer.framebuffer.FrameBuffer
 
project(List<Vertex>, Camera) - Static method in class renderer.pipeline.Projection
Project each Vertex from a Model to the Camera's image plane z = -1.
Projection - Class in renderer.pipeline
Project each Vertex of a Model from camera coordinates to the Camera's image plane z = -1.
Projection() - Constructor for class renderer.pipeline.Projection
 
projOrtho() - Method in class renderer.scene.Camera
Set up this Camera's view volume as a parallel (orthographic) projection of an infinite view parallelepiped.
projPerspective() - Method in class renderer.scene.Camera
Set up this camera's view volume as a perspective projection of an infinite view pyramid extending along the negative z-axis.
Pyramid - Class in renderer.models
Create a wireframe model of a right square pyramid with its base in the xz-plane and its apex on the positive y-axis.
Pyramid() - Constructor for class renderer.models.Pyramid
Create a right square pyramid with its base in the xz-plane, a base side length of 2, height 1, and apex on the positive y-axis.
Pyramid(double, double, int, int) - Constructor for class renderer.models.Pyramid
Create a right square pyramid with its base in the xz-plane, a base length of s, height h, and apex on the positive y-axis.
PyramidFrustum - Class in renderer.models
Create a wireframe model of a frustum of a right square pyramid with its base in the xz-plane.
PyramidFrustum() - Constructor for class renderer.models.PyramidFrustum
Create a frustum of a right square pyramid with its base in the xz-plane, a base side length of 2, top side length of 1, and height 1/2.
PyramidFrustum(double, double, double, int, int) - Constructor for class renderer.models.PyramidFrustum
Create a frustum of a right square pyramid with its base in the xz-plane, a base side length of s1, top side length of s2, and height h.

R

r - Variable in class renderer.scene.Vertex
 
Rasterize - Class in renderer.pipeline
Rasterize a LineSegment into pixels in the FrameBuffer's viewport.
Rasterize() - Constructor for class renderer.pipeline.Rasterize
 
rasterize(LineSegment, FrameBuffer) - Static method in class renderer.pipeline.Rasterize
Rasterize a LineSegment into pixels in the FrameBuffer's viewport.
rasterize(LineSegment, FrameBuffer) - Static method in class renderer.pipeline.RasterizeAntialias
Rasterize a LineSegment into antialiased pixels in the FrameBuffer's viewport.
RasterizeAntialias - Class in renderer.pipeline
Rasterize a LineSegment into pixels in the FrameBuffer's viewport and anti-alias the line at the same time.
RasterizeAntialias() - Constructor for class renderer.pipeline.RasterizeAntialias
 
render(Scene, FrameBuffer) - Static method in class renderer.pipeline.Pipeline
Mutate the FrameBuffer's current viewport so that it holds the rendered image of the Scene object.
renderer.framebuffer - package renderer.framebuffer
Provides the renderer with an output data structure to hold the pixel values computed by the renderer.
renderer.gui - package renderer.gui
Lets renderer clients use the renderer with the Java gui system..
renderer.models - package renderer.models
A library of predefined wireframe models.
renderer.pipeline - package renderer.pipeline
The 3D graphics rendering pipeline stages.
renderer.scene - package renderer.scene
Data structures for describing a 3D scene to the renderer.
right - Variable in class renderer.models.GRSModel
 
Ring - Class in renderer.models
Create a wireframe model of a ring (an annulus) in the xy-plane centered at the origin.
Ring() - Constructor for class renderer.models.Ring
Create a ring (annulus) in the xy-plane with outer radius 1 and with inner radius 0.33, with 12 spokes coming out of the center, and with 5 concentric circles.
Ring(double, double) - Constructor for class renderer.models.Ring
Create a ring (annulus) in the xy-plane with outer radius r1 and with inner radius r2, with 12 spokes coming out of the center, and with 5 concentric circles.
Ring(double, double, int, int) - Constructor for class renderer.models.Ring
Create a ring (annulus) in the xy-plane with outer radius r1 and with inner radius r2, with k spokes coming out of the center, and with n concentric circles (not counting the inner most circle).
RingSector - Class in renderer.models
Create a wireframe model of a sector of a ring (an annulus) in the xy-plane centered at the origin.
RingSector() - Constructor for class renderer.models.RingSector
Create half a ring (annulus) in the xy-plane with outer radius 1, inner radius 0.33, with 7 spokes coming out of the center, and with 5 concentric circles.
RingSector(double, double, double, double, int, int) - Constructor for class renderer.models.RingSector
Create a sector of a ring (annulus) in the xy-plane with outer radius r1, inner radius r2, with k spokes coming out of the center, and with n concentric circles.

S

sb - Variable in class renderer.gui.InteractiveFrame_H
 
sb - Variable in class renderer.gui.InteractiveFrame_V
 
sbH - Variable in class renderer.gui.InteractiveFrame_HV
 
sbV - Variable in class renderer.gui.InteractiveFrame_HV
 
Scene - Class in renderer.scene
A Scene data structure is a list of Model data structures and a Camera data structure.
Scene() - Constructor for class renderer.scene.Scene
Construct a Scene with a default Camera object.
Scene(Camera) - Constructor for class renderer.scene.Scene
Construct a Scene with the given Camera object.
set(double, double, double) - Method in class renderer.scene.Vertex
Set the coordinates of this Vertex.
setBgColorFB(Color) - Method in class renderer.framebuffer.FrameBuffer
Set the background Color of the FrameBuffer.
setBgColorVP(Color) - Method in class renderer.framebuffer.FrameBuffer
Set the background Color of the viewport.
setCamera(Camera) - Method in class renderer.scene.Scene
Change this Scene's Camera to the given Camera object.
setColor(Color) - Method in class renderer.scene.LineSegment
Give this LineSegment a uniform Color.
setColor(Color) - Method in class renderer.scene.Model
Set each Vertex in this Model to the same Color.
setColor(float, float, float) - Method in class renderer.scene.Vertex
Set the Color of this Vertex using floats between 0 and 1.
setColor(int, int, int) - Method in class renderer.scene.Vertex
Set the Color of this Vertex using ints between 0 and 255.
setColor(Color) - Method in class renderer.scene.Vertex
Set the Color of this Vertex using a Color object.
setColor(Vertex) - Method in class renderer.scene.Vertex
Set the Color of this Vertex using the colors from another Vertex.
setColorRainbow() - Method in class renderer.scene.LineSegment
Give each Vertex of this LineSegment a randomly chosen Color.
setColorRandom() - Method in class renderer.scene.LineSegment
Give this LineSegment a uniform, but randomly chosen, Color.
setColorRandom() - Method in class renderer.scene.Model
Set each Vertex in this Model to the same random Color.
setColorRandom() - Method in class renderer.scene.Vertex
Set the Color of this Vertex to a random color.
setFPS(int) - Method in class renderer.gui.AnimationFrame
Use this method to speed up or slow down the animation.
setFrameBuffer(FrameBuffer) - Method in class renderer.gui.FrameBufferPanel
Change the FrameBuffer being used as the source for the Image painted on this JPanel.
setFrameBuffer(FrameBuffer) - Method in class renderer.gui.InteractiveFrame
Change the FrameBuffer being used as the source for the Image painted on the FrameBufferPanel.
setPixelFB(int, int, Color) - Method in class renderer.framebuffer.FrameBuffer
Set the Color of the pixel with coordinates (x,y) in the FrameBuffer.
setPixelVP(int, int, Color) - Method in class renderer.framebuffer.FrameBuffer
Set the Color of the pixel with coordinates (x,y) relative to the current viewport.
setRandomColors() - Method in class renderer.scene.Model
Set each Vertex in this Model to a different random Color.
setRandomLineSegmentColors() - Method in class renderer.scene.Model
Set each LineSegment in this Model to a different random Color.
setViewport(int, int, int, int) - Method in class renderer.framebuffer.FrameBuffer
Set the coordinates, within the FrameBuffer, of the viewport's upper-left-hand corner, width, and height.
setViewport() - Method in class renderer.framebuffer.FrameBuffer
Set the viewport to be the whole FrameBuffer,
setViewport(int, int, FrameBuffer) - Method in class renderer.framebuffer.FrameBuffer
Create a viewport from a FrameBuffer.
setViewport(int, int, String) - Method in class renderer.framebuffer.FrameBuffer
Create a viewport from a PPM image file.
Sphere - Class in renderer.models
Create a wireframe model of a sphere centered at the origin.
Sphere() - Constructor for class renderer.models.Sphere
Create a sphere of radius 1 centered at the origin.
Sphere(double) - Constructor for class renderer.models.Sphere
Create a sphere of radius r centered at the origin.
Sphere(double, int, int) - Constructor for class renderer.models.Sphere
Create a sphere of radius r centered at the origin.
SphereSector - Class in renderer.models
Create a wireframe model of a partial sphere centered at the origin
SphereSector() - Constructor for class renderer.models.SphereSector
Create half of a sphere of radius 1 centered at the origin.
SphereSector(double, double, double, int, int) - Constructor for class renderer.models.SphereSector
Create a part of the sphere of radius r centered at the origin.
SphereSector(double, double, double, double, double, int, int) - Constructor for class renderer.models.SphereSector
Create a part of the sphere of radius r centered at the origin.
SphereSubdivided - Class in renderer.models
Create a wireframe model of a sphere centered at the origin by recursively subdividing the faces of a tetrahedron.
SphereSubdivided() - Constructor for class renderer.models.SphereSubdivided
Create a sphere centered at the origin by recursively subdividing the faces of a tetrahedron four times.
SphereSubdivided(int) - Constructor for class renderer.models.SphereSubdivided
Create a sphere centered at the origin by recursively subdividing the faces of a tetrahedron n times.
SphereSubdivided(int, boolean, boolean) - Constructor for class renderer.models.SphereSubdivided
Create a sphere centered at the origin by recursively subdividing the faces of a tetrahedron n times.
Square - Class in renderer.models
Create a wireframe model of a square in the xy-plane centered at the origin.
Square() - Constructor for class renderer.models.Square
Create a square in the xy-plane with corners (±1, ±1, 0).
Square(int) - Constructor for class renderer.models.Square
Create a square in the xy-plane with corners (±1, ±1, 0) and with n grid lines parallel to each of the x and y axes.
Square(int, int) - Constructor for class renderer.models.Square
Create a square in the xy-plane with corners (±1, ±1, 0) and with n grid lines parallel to the y-axis and with m grid lines parallel to the x-axis.
Square(double) - Constructor for class renderer.models.Square
Create a square in the xy-plane with corners (±r, ±r, 0).
Square(double, int) - Constructor for class renderer.models.Square
Create a square in the xy-plane with corners (±r, ±r, 0) and with n grid lines parallel to each of the x and y axes.
Square(double, int, int) - Constructor for class renderer.models.Square
Create a square in the xy-plane with corners (±r, ±r, 0) and with n grid lines parallel to the y-axis and with m grid lines parallel to the x-axis.
SurfaceOfRevolution - Class in renderer.models
Create a wireframe model of a surface of revolution around the y-axis.
SurfaceOfRevolution() - Constructor for class renderer.models.SurfaceOfRevolution
Create a surface of revolution around the y-axis based on a cosine function.
SurfaceOfRevolution(DoubleFunction<Double>, double, double, int, int) - Constructor for class renderer.models.SurfaceOfRevolution
Create a surface of revolution around the y-axis with the given radial function, r = r(y), the given parameter range along the y-axis, and the given number of circles of latitude.
SurfaceOfRevolution(DoubleFunction<Double>, double, double, double, double, int, int) - Constructor for class renderer.models.SurfaceOfRevolution
Create a surface of revolution around the y-axis with the given radial function, r = r(y), the given angular range for the sector of revolution, the given parameter range along the y-axis, and the given number of circles of latitude.
SurfaceOfRevolution(DoubleFunction<Double>, DoubleFunction<Double>, double, double, int, int) - Constructor for class renderer.models.SurfaceOfRevolution
Create a surface of revolution around the y-axis of the given radial parametric curve.
SurfaceOfRevolution(DoubleFunction<Double>, DoubleFunction<Double>, double, double, double, double, int, int) - Constructor for class renderer.models.SurfaceOfRevolution
Create a surface of revolution around the y-axis of the given radial parametric curve and the given angular range for the sector of revolution.

T

Tetrahedron - Class in renderer.models
Create a wireframe model of a regular tetrahedron with its center at the origin, having edge length 2*sqrt(2), and with its vertices at corners of the cube with vertices (±1, ±1, ±1).
Tetrahedron() - Constructor for class renderer.models.Tetrahedron
Create a regular tetrahedron with its center at the origin, having edge length 2*sqrt(2), and with its vertices at corners of the cube with vertices (±1, ±1, ±1).
Tetrahedron(boolean) - Constructor for class renderer.models.Tetrahedron
Create a regular tetrahedron or its dual tetrahedron (the dual of a tetrahedron is another tetrahedron).
textValueChanged(TextEvent) - Method in class renderer.gui.InteractiveFrame
 
top - Variable in class renderer.models.GRSModel
 
Torus - Class in renderer.models
Create a wireframe model of a torus.
Torus() - Constructor for class renderer.models.Torus
Create a torus with a circle of revolution with radius 3/4 and a cross section circle (circle of longitude) with radius 1/4.
Torus(double, double) - Constructor for class renderer.models.Torus
Create a torus with a circle of revolution with radius r1 and a cross section circle (circle of longitude) with radius r2.
Torus(double, double, int, int) - Constructor for class renderer.models.Torus
Create a torus with a circle of revolution with radius r1 and a cross section circle (circle of longitude) with radius r2.
TorusSector - Class in renderer.models
Create a wireframe model of a partial torus.
TorusSector() - Constructor for class renderer.models.TorusSector
Create a partial torus with half the circle of revolution with radius 3/4 and a cross section that is half the circle of longitude with radius 1/4.
TorusSector(double, double, double, double, int, int) - Constructor for class renderer.models.TorusSector
Create a partial torus with a partial circle of revolution with radius r1 and a cross section circle (circle of longitude) with radius r2.
TorusSector(double, double, double, double, double, double, int, int) - Constructor for class renderer.models.TorusSector
Create a partial torus with a partial circle of revolution with radius r1 and a partial cross section circle with radius r2.
toString() - Method in class renderer.scene.Camera
For debugging.
toString() - Method in class renderer.scene.LineSegment
For debugging.
toString() - Method in class renderer.scene.Model
For debugging.
toString() - Method in class renderer.scene.Scene
For debugging.
toString() - Method in class renderer.scene.Vertex
For debugging.
toString(int) - Method in class renderer.scene.Vertex
For debugging.
toString(int, int) - Method in class renderer.scene.Vertex
For debugging.
toStringColor() - Method in class renderer.scene.Vertex
For debugging.
TriangularPrism - Class in renderer.models
Create a wireframe model of a right equilateral triangular prism with the y-axis as its central axis.
TriangularPrism() - Constructor for class renderer.models.TriangularPrism
Create a right equilateral triangular prism with a regular tetrahedrons attached to each end so that the total length runs from -1 to 1 along the y-axis.
TriangularPrism(double, double) - Constructor for class renderer.models.TriangularPrism
Create an equilateral triangular prism that runs from -h to h along the y-axis, has triangle side length s, and has a regular tetrahedron attached to each end.
TriangularPrism(double, double, int) - Constructor for class renderer.models.TriangularPrism
Create an equilateral triangular prism that runs from -h to h along the y-axis, has triangle side length s, has a regular tetrahedron attached to each end, and has n lines of latitude around the body of the prism.
TriangularPrism(double, double, double, int) - Constructor for class renderer.models.TriangularPrism
Create an equilateral triangular prism that runs from -h to h along the y-axis, with the triangle inscribed in a circle of radius r, has a tetrahedron attached to each end where the face-edge-face angle of each tetrahedron is theta (with theta in radians!), and has n lines of latitude around the body of the prism.
TriangularPrism(double, double, double, int, boolean) - Constructor for class renderer.models.TriangularPrism
Create an equilateral triangular prism that runs from -h to h along the y-axis, with the triangle inscribed in a circle of radius r, has a tetrahedron attached to each end where the height of each tetrahedron is h2, and has n lines of latitude around the body of the prism.
TriangularPyramid - Class in renderer.models
Create a wireframe model of a tetrahedron as a triangular pyramid with an equilateral triangle base (centered at the origin in the xz-plane) whose three vertices are connected to a 4th vertex on the positive y-axis.
TriangularPyramid() - Constructor for class renderer.models.TriangularPyramid
Create a regular tetrahedron having side length sqrt(3)/sqrt(2), with one face in the xz-plane with its center at the origin, and the 4th vertex on the positive y-axis at height 1.
TriangularPyramid(double) - Constructor for class renderer.models.TriangularPyramid
Create a regular tetrahedron having side length s, with one face in the xz-plane with its center at the origin, and with the 4th vertex on the positive y-axis at height s*sqrt(2)/sqrt(3).
TriangularPyramid(double, double) - Constructor for class renderer.models.TriangularPyramid
Create a tetrahedron with one face being an equilateral triangle inscribed in a circle of radius r centered at the origin of the xz-plane and with the 4th vertex on the y-axis at height h.

U

update() - Method in class renderer.gui.FrameBufferPanel
This method should be called when this FrameBufferPanel's FrameBuffer object has been updated by the renderer.

V

Vertex - Class in renderer.scene
A Vertex object has three doubles which represent the coordinates of a point in 3-dimensional space.
Vertex() - Constructor for class renderer.scene.Vertex
Construct a default Vertex.
Vertex(double, double, double) - Constructor for class renderer.scene.Vertex
Construct a new Vertex using the given x, y, and z coordinates.
Vertex(double, double, double, Color) - Constructor for class renderer.scene.Vertex
Construct a new Vertex with the given coordinates and the given Color.
Vertex(Vertex) - Constructor for class renderer.scene.Vertex
Construct a new Vertex that is a copy of another Vertex.
vertexList - Variable in class renderer.scene.Model
 
ViewFrustumModel - Class in renderer.models
Create a wireframe model of a camera's perspective view frustum.
ViewFrustumModel() - Constructor for class renderer.models.ViewFrustumModel
Create a frustum of a pyramid along the negative z-axis with a front face at z = -0.25, a back face at z = -1, and the front face bounded by -0.25 <= x <= 0.25 and -0.25 <= y <= 0.25.
ViewFrustumModel(double, double, double, double, double, double) - Constructor for class renderer.models.ViewFrustumModel
Create a frustum of a pyramid along the negative z-axis that mimics a Camera's perspective view volume.
ViewFrustumModel(double, double, double, double) - Constructor for class renderer.models.ViewFrustumModel
Here, the frustum is determined by a vertical "field of view" angle and an aspect ratio for the front face.
Viewport - Class in renderer.pipeline
Transform each Vertex of a Model from projected camera coordinates (i.e., image plane coordinates) to viewport coordinates.
Viewport() - Constructor for class renderer.pipeline.Viewport
 
viewport(LineSegment, boolean[], FrameBuffer) - Static method in class renderer.pipeline.Viewport
For each LineSegment, transform each Vertex from image plane coordinates to viewport coordinates.
visible - Variable in class renderer.scene.Model
 
vpTest() - Method in class renderer.framebuffer.FrameBuffer
A simple test of the viewport.

W

windowActivated(WindowEvent) - Method in class renderer.gui.InteractiveFrame
 
windowClosed(WindowEvent) - Method in class renderer.gui.InteractiveFrame
 
windowClosing(WindowEvent) - Method in class renderer.gui.InteractiveFrame
 
windowDeactivated(WindowEvent) - Method in class renderer.gui.InteractiveFrame
 
windowDeiconified(WindowEvent) - Method in class renderer.gui.InteractiveFrame
 
windowIconified(WindowEvent) - Method in class renderer.gui.InteractiveFrame
 
windowOpened(WindowEvent) - Method in class renderer.gui.InteractiveFrame
 

X

x - Variable in class renderer.scene.Vertex
 

Y

y - Variable in class renderer.scene.Vertex
 

Z

z - Variable in class renderer.scene.Vertex
 
A B C D F G I K L M N O P R S T U V W X Y Z 
Skip navigation links