- scene - package scene
-
- Scene - Class in scene
-
A Scene data structure is a list of Model data structures
and a Camera data structure.
- Scene() - Constructor for class scene.Scene
-
Construct a scene with a default camera object.
- Scene(Camera) - Constructor for class scene.Scene
-
Construct a scene with the given camera object.
- set(double, double, double) - Method in class scene.Vertex
-
Set the coordinates of this vertex.
- setCamera(Camera) - Method in class scene.Scene
-
Change this scene's camera to the given camera object.
- setColor(Color) - Method in class scene.LineSegment
-
Give this LineSegment a uniform color.
- setColor(Color) - Method in class scene.Model
-
Set all the line segments in this model to the same color.
- setColor(double, double, double) - Method in class scene.Vertex
-
Set the color of this vertex using doubles between 0 and 1.
- setColor(int, int, int) - Method in class scene.Vertex
-
Set the color of this vertex using ints between 0 and 255.
- setColor(Color) - Method in class scene.Vertex
-
Set the color of this vertex using a Color object.
- setColor(Vertex) - Method in class scene.Vertex
-
Set the color of this vertex using the colors from another vertex.
- setColorRandom() - Method in class scene.LineSegment
-
Give this LineSegment a uniform, but randomly chosen, color.
- setColorRandom() - Method in class scene.Model
-
Set all the line segments in this model to the same random color.
- setColorRandom() - Method in class scene.Vertex
-
Set the color of this vertex to a random color.
- setPixelFB(int, int, Color) - Method in class framebuffer.FrameBuffer
-
Set the color of the pixel with coordinates
(x,y) in the framebuffer.
- setPixelVP(int, int, Color) - Method in class framebuffer.FrameBuffer
-
Set the color of the pixel with coordinates
(x,y) relative to the current viewport.
- setRandomColors() - Method in class scene.Model
-
Set all the line segments in this model to random colors.
- setViewport(int, int, int, int) - Method in class framebuffer.FrameBuffer
-
Set the coordinates, within the FrameBuffer, of the
viewport's upper-left-hand corner, width, and height.
- setViewport(int, int, FrameBuffer) - Method in class framebuffer.FrameBuffer
-
Create a Viewport from a FrameBuffer.
- setViewport(int, int, String) - Method in class framebuffer.FrameBuffer
-
Create a Viewport from a PPM image file.