Uses of Class
math.Ray

Packages that use Ray
math   
objects   
raytracer   
 

Uses of Ray in math
 

Fields in math declared as Ray
 Ray IntersectionInfo.ray
           
 

Constructors in math with parameters of type Ray
IntersectionInfo(double t1_, double t2_, Ray ray_, IObject object_at_t1, IObject object_at_t2)
          constructor
Ray(Ray ray)
          copy constructor
 

Uses of Ray in objects
 

Methods in objects with parameters of type Ray
 IntersectionInfo Quadric.calcIntersection(Ray ray)
           
 IntersectionInfo IObject.calcIntersection(Ray ray)
          calculates the intersection with an ray
 IntersectionInfo Intersection.calcIntersection(Ray ray)
           
 IntersectionInfo HalfSpace.calcIntersection(Ray ray)
           
 IntersectionInfo Assembly.calcIntersection(Ray ray)
           
 

Uses of Ray in raytracer
 

Fields in raytracer declared as Ray
 Ray ScatteredRay.ray
           
 

Methods in raytracer that return Ray
 Ray Camera.generateRay(double i, double j)
          generates a ray from the eyepoint through the pixel coordinates i,j
 

Methods in raytracer with parameters of type Ray
 IntersectionInfo Scene.calcIntersection(Ray ray)
          calculates the intersection of the scene with a ray
 IntersectionInfo Scene.calcOptimizedIntersection(Ray ray)
          calculates the intersection of the scene with the ray of the camera
 IntersectionInfo Scene.calcOptimizedShadowIntersection(Ray ray)
          calculates the intersection of the scene with the ray of the camera without shading
 IntersectionInfo Scene.calcShadowIntersection(Ray ray)
          calculates the intersection of the scene with a ray, without shading
 boolean Raycaster.castOptimizedShadowRay(Ray ray, double howfar, RGBColor color)
          a version of castRay without shading, optimized
 boolean Raycaster.castRay(Ray ray, RGBColor color, RayState rs)
          casts a ray in direction of ray, sets the color and intersection info
 boolean Raycaster.castShadowRay(Ray ray, double howfar, RGBColor color)
          a version of castRay without shading