Overview | Package | Class | Use | Tree | Index | Help
| Rings Version 0.3
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
threeD.raytracer.engine.Ray

Packages that use Ray
threeD.raytracer.camera |
threeD.raytracer.engine |
threeD.raytracer.lighting |
threeD.raytracer.primitives |
threeD.raytracer.surfaceUI |

Uses of Ray in threeD.raytracer.camera

Methods in threeD.raytracer.camera that return Ray
`Ray` | `ThinLensCamera.rayAt(double i, double j, int screenW, int screenH)`
`Ray` | `PinholeCamera.rayAt(double i, double j, int screenWidth, int screenHeight)` Returns a Ray object that represents a line of sight from the camera represented by this PinholeCamera object.
`Ray` | `OrthographicCamera.rayAt(double i, double j, int screenWidth, int screenHeight)`
`Ray` | `Camera.rayAt(double i, double j, int screenWidth, int screenHeight)`

Uses of Ray in threeD.raytracer.engine

Methods in threeD.raytracer.engine that return Ray
`Ray` | `Intersection.getRay()` Returns the Ray object stored by this Intersection object.

Methods in threeD.raytracer.engine with parameters of type Ray
`boolean` | `SurfaceGroup.intersect(Ray ray)` Returns true if the ray represented by the specified Ray object intersects any of the surfaces represented by this SurfaceGroup object.
`Intersection` | `SurfaceGroup.intersectAt(Ray ray)` Returns an Intersection object that represents the ray-surface intersections for the AbstractSurface object which is intersected closest to the origin of the ray (>= 0).
`boolean` | `Surface.intersect(Ray ray)` Returns true if the ray intersects the 3d surface in real space.
`Intersection` | `Surface.intersectAt(Ray ray)` Returns an Intersection object that represents the values for t that solve the vector equation p = o + t * d where p is a point of intersection of the specified ray and the surface.
`static RGB` | `RayTracingEngine.lightingCalculation(Ray ray, Surface[] surfaces, Light[] lights)` Performs intersection and lighting calculations for the specified Ray, Surfaces, and Lights.
`static Intersection` | `RayTracingEngine.closestIntersection(Ray ray, Surface[] surfaces)` Returns an Intersection object that represents the closest intersection (>= RayTracingEngine.e) between a surface in the specified array of Surface objects and the ray represented by the specified Ray object.

Constructors in threeD.raytracer.engine with parameters of type Ray
`Intersection(Ray ray, Surface surface, double[] intersections)` Constructs a new Intersection object that represents an intersection between the specified Ray and Surface objects at the specified points along the ray represented by the Ray object.

Uses of Ray in threeD.raytracer.lighting

Methods in threeD.raytracer.lighting with parameters of type Ray
`boolean` | `PointLightGrid.intersect(Ray ray)` Returns false.
`Intersection` | `PointLightGrid.intersectAt(Ray ray)` Returns null.

Uses of Ray in threeD.raytracer.primitives

Methods in threeD.raytracer.primitives with parameters of type Ray
`boolean` | `Triangle.intersect(Ray ray)` Returns true if the ray represented by the specified Ray object intersects the triangle represented by this Triangle object in real space.
`Intersection` | `Triangle.intersectAt(Ray ray)` Returns an Intersection object representing the points along the ray represented by the specified Ray object that intersection between the ray and the triangle represented by this Triangle object occurs.
`boolean` | `Sphere.intersect(Ray ray)` Returns true if the ray represented by the specified Ray object intersects the sphere represented by this Sphere object in real space.
`Intersection` | `Sphere.intersectAt(Ray ray)` Returns an Intersection object representing the points along the ray represented by the specified Ray object that intersection between the ray and the sphere represented by this Sphere object occurs.
`boolean` | `Polynomial.intersect(Ray ray)` Returns true if the ray represented by the specified Ray object intersects the polynomial surface represented by this Polynomial object in real space.
`Intersection` | `Polynomial.intersectAt(Ray ray)` Returns an array of double values representing the distance along the ray represented by the specified Ray object that intersection between the ray and the polynomial surface represented by this Polynomial object occurs.
`boolean` | `Plane.intersect(Ray ray)` Returns true if the ray represented by the specified Ray object intersects the plane represented by this Plane object in real space.
`Intersection` | `Plane.intersectAt(Ray ray)` Returns an Intersection object representing the points along the ray represented by the specified Ray object that intersection between the ray and the plane represented by this Plane object occurs.
`boolean` | `Mesh.intersect(Ray ray)`
`Intersection` | `Mesh.intersectAt(Ray ray)`
`boolean` | `Cylinder.intersect(Ray ray)` Returns true if the ray represented by the specified Ray object intersects the cylinder represented by this Cylinder object in real space.
`Intersection` | `Cylinder.intersectAt(Ray ray)` Returns an Intersection object representing the points along the ray represented by the specified Ray object that intersection between the ray and the cylinder represented by this Cylinder object occurs.
`boolean` | `CSG.intersect(Ray ray)` This method calls intersectAt to determine the value to return.
`Intersection` | `CSG.intersectAt(Ray ray)`
`boolean` | `Cone.intersect(Ray ray)` Returns true if the ray represented by the specified Ray object intersects the cone represented by this Cone object in real space.
`Intersection` | `Cone.intersectAt(Ray ray)` Returns an Intersection object representing the points along the ray represented by the specified Ray object that intersection between the ray and the cone represented by this Cone object occurs.

Uses of Ray in threeD.raytracer.surfaceUI

Methods in threeD.raytracer.surfaceUI with parameters of type Ray
`boolean` | `AbstractSurfaceUI.intersect(Ray ray)` Returns true if the ray represented by the specified Ray object intersects the surface represented by this AbstractSurfaceUI in real space.
`Intersection` | `AbstractSurfaceUI.intersectAt(Ray ray)` Returns an Intersection object representing the point along the ray represented by the specified Ray object that intersection between the ray and the surface represented by this AbstractSurfaceUI occurs.

Overview | Package | Class | Use | Tree | Index | Help
| Rings Version 0.3
PREV NEXT | FRAMES NO FRAMES

Copyright 2003-05 Mike Murray