Index of all Fields and Methods
All Packages  Class Hierarchy

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

Index of all Fields and Methods

A

_finish_. Variable in class com.oroinc.yaray.WorldObject
_pigment_. Variable in class com.oroinc.yaray.WorldObject

A

ambientColor(Color). Method in class com.oroinc.yaray.Finish
assign(Color). Method in class com.oroinc.yaray.Color
Assigns one color to another.

B

BLUE. Static variable in class com.oroinc.yaray.Color
Index of blue.
brilliance. Variable in class com.oroinc.yaray.Finish

C

Checkerboard(). Constructor for class com.oroinc.yaray.Checkerboard
Creates a checkerboard whose cubes have a sides of length 1.
Checkerboard(Color, Color). Constructor for class com.oroinc.yaray.Checkerboard
Creates a checkerboard whose cubes have a sides of length 1.
color. Variable in class com.oroinc.yaray.Light
Color(). Constructor for class com.oroinc.yaray.Color
Creates a black color.
Color(float, float, float). Constructor for class com.oroinc.yaray.Color
Creates a Color instance with the given red green and blue values.
Color(Tuple). Constructor for class com.oroinc.yaray.Color
Color copy constructor.
color1. Variable in class com.oroinc.yaray.Checkerboard
The alternating colors of the cube.
color1. Variable in class com.oroinc.yaray.Gradient
color2. Variable in class com.oroinc.yaray.Checkerboard
The alternating colors of the cube.
color2. Variable in class com.oroinc.yaray.Gradient
currentDepth. Variable in class com.oroinc.yaray.World

D

direction. Variable in class com.oroinc.yaray.Ray
The direction the ray is being traced.
Disc(GeometricVector, Point, float, Pigment, Finish). Constructor for class com.oroinc.yaray.Disc
Creates a Disc object with the given characteristics.

E

endpoint(). Method in class com.oroinc.yaray.Ray
Returns the endpoint of the ray.
EPSILON. Static variable in class com.oroinc.yaray.World
evenness(int). Static method in class com.oroinc.yaray.Util
extent. Variable in class com.oroinc.yaray.Ray
The current length of the ray as it is being traced.
eye. Variable in class com.oroinc.yaray.Scene
eye. Variable in class com.oroinc.yaray.World

F

Finish(). Constructor for class com.oroinc.yaray.Finish
finishes. Variable in class com.oroinc.yaray.Scene

G

getColor(Point, Point, Color). Method in class com.oroinc.yaray.Checkerboard
Given the origin of an object, and a point (presumably on the object) return the color (by reference) of that point assuming a Checkerboard pigment.
getColor(Point, Point, Color). Method in class com.oroinc.yaray.Gradient
Given the origin of an object, and a point (presumably on the object) return the color (by reference) of that point assuming a gradient pigment.
getColor(Point, Point, Color). Method in interface com.oroinc.yaray.Pigment
getColor(Point, Point, Color). Method in class com.oroinc.yaray.Solid
getColor(World, Ray, Color). Method in class com.oroinc.yaray.Disc
Given a world description and the ray that intersects the disc, returns the color of the disc at the point of intersection.
getColor(World, Ray, Color). Method in class com.oroinc.yaray.Sphere
Given a world description and the ray that intersects the sphere, returns the color of the sphere at the point of intersection.
getColor(World, Ray, Color). Method in class com.oroinc.yaray.WorldObject
getHeight(). Method in class com.oroinc.yaray.Scene
getWidth(). Method in class com.oroinc.yaray.Scene
gradient. Variable in class com.oroinc.yaray.Gradient
Gradient(). Constructor for class com.oroinc.yaray.Gradient
Creates a default gradient from black to white.
Gradient(Color, Color, GeometricVector). Constructor for class com.oroinc.yaray.Gradient
GREEN. Static variable in class com.oroinc.yaray.Color
Index of green.

I

INFINITY. Static variable in class com.oroinc.yaray.Util
intersect(IntersectionRay). Method in class com.oroinc.yaray.Disc
Determines if ray intersects disc.
intersect(IntersectionRay). Method in class com.oroinc.yaray.Sphere
Determines if ray intersects sphere.
intersect(IntersectionRay). Method in class com.oroinc.yaray.WorldObject
intersection. Variable in class com.oroinc.yaray.IntersectionRay
IntersectionRay(). Constructor for class com.oroinc.yaray.IntersectionRay
isEven(int). Static method in class com.oroinc.yaray.Util
isOdd(int). Static method in class com.oroinc.yaray.Util

K

kAmbient. Variable in class com.oroinc.yaray.Finish
kDiffuse. Variable in class com.oroinc.yaray.Finish
kReflectivity. Variable in class com.oroinc.yaray.Finish
kSpecular. Variable in class com.oroinc.yaray.Finish
kTransmitted. Variable in class com.oroinc.yaray.Finish

L

Light(). Constructor for class com.oroinc.yaray.Light
lightColor(World, int, GeometricVector, Ray, Color). Method in class com.oroinc.yaray.Finish
Returns the specular and diffuse reflection components of the finish color.
lights. Variable in class com.oroinc.yaray.Scene
lights. Variable in class com.oroinc.yaray.World
location. Variable in class com.oroinc.yaray.Light

M

MAX_DEPTH. Static variable in class com.oroinc.yaray.World
Maximum recursion depth.
multiply(Color). Method in class com.oroinc.yaray.Color
Multiplies one color by another and returns the value.

N

nRefraction. Variable in class com.oroinc.yaray.Finish

O

objects. Variable in class com.oroinc.yaray.Scene
objects. Variable in class com.oroinc.yaray.World
origin. Variable in class com.oroinc.yaray.Ray
The origin of the ray.

P

pigments. Variable in class com.oroinc.yaray.Scene
PPMPicture(). Constructor for class com.oroinc.yaray.PPMPicture

R

Ray(). Constructor for class com.oroinc.yaray.Ray
Creates a ray of extent 0 with origin (0, 0, 0) and no direction (i.e., a vector pointing nowhere [0, 0, 0]).
raytrace(IntersectionRay, Color). Method in class com.oroinc.yaray.World
Trace the ray, checking for intersection with each object in the world.
Raytracer(). Constructor for class com.oroinc.yaray.Raytracer
raytraceScene(Scene, Picture). Method in class com.oroinc.yaray.Raytracer
RED. Static variable in class com.oroinc.yaray.Color
Index of red.
reflectionColor(World, GeometricVector, Ray). Method in class com.oroinc.yaray.Finish
Returns the pure reflection component of the finish color.
refractionColor(World, GeometricVector, Ray). Method in class com.oroinc.yaray.Finish
Returns the pure refraction component of the finish color.
roughness. Variable in class com.oroinc.yaray.Finish

S

Scene(). Constructor for class com.oroinc.yaray.Scene
sceneHeight. Variable in class com.oroinc.yaray.Scene
sceneWidth. Variable in class com.oroinc.yaray.Scene
setDimensions(int, int). Method in interface com.oroinc.yaray.Picture
setDimensions(int, int). Method in class com.oroinc.yaray.PPMPicture
setPixel(int, int, Color). Method in interface com.oroinc.yaray.Picture
setPixel(int, int, Color). Method in class com.oroinc.yaray.PPMPicture
sideLength. Variable in class com.oroinc.yaray.Checkerboard
The length of the side of a cube.
sign(int). Static method in class com.oroinc.yaray.Util
Solid(). Constructor for class com.oroinc.yaray.Solid
Solid(Color). Constructor for class com.oroinc.yaray.Solid
Sphere(Point, float, Pigment, Finish). Constructor for class com.oroinc.yaray.Sphere

U

upVector. Variable in class com.oroinc.yaray.Scene

V

viewingDirection. Variable in class com.oroinc.yaray.Scene

W

windowDistance. Variable in class com.oroinc.yaray.Scene
windowHeight. Variable in class com.oroinc.yaray.Scene
windowWidth. Variable in class com.oroinc.yaray.Scene
World(). Constructor for class com.oroinc.yaray.World
WorldObject(Pigment, Finish). Constructor for class com.oroinc.yaray.WorldObject
write(OutputStream). Method in class com.oroinc.yaray.PPMPicture

Z

ZERO. Static variable in class com.oroinc.yaray.Util