de.grogra.ray.intersection
Interface IntersectionProcessor
- All Known Implementing Classes:
- DefaultIntersectionProcessor, OctreeIntersectionProcessor
public interface IntersectionProcessor
An implementation of this interface encapsulates the algorithm of
intersection determination of a single ray in a 3D-scene.
Mostly additional reference data structures are used to accelarate this
calculation.
- Author:
- Micha
cleanupProcessing
void cleanupProcessing()
getFirstIntersectionDescription
boolean getFirstIntersectionDescription(Ray ray,
RayContext context,
IntersectionDescription desc)
getFirstIntersectionT
float getFirstIntersectionT(Ray ray,
RayContext context)
prepareProcessing
void prepareProcessing(RTScene sceneGraph)