- 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 Scrollbar
s.
- 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
-
- 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.
- 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
.
- 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.
- 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
-
- 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
.
- 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
-
- 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.
- 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
.