de.grogra.ray.intersection
Class DefaultIntersectionProcessor

java.lang.Object
  extended by de.grogra.ray.intersection.DefaultIntersectionProcessor
All Implemented Interfaces:
IntersectionProcessor

public class DefaultIntersectionProcessor
extends java.lang.Object
implements IntersectionProcessor


Constructor Summary
DefaultIntersectionProcessor()
           
 
Method Summary
 void cleanupProcessing()
           
 boolean getFirstIntersectionDescription(Ray ray, RayContext context, IntersectionDescription desc)
           
 float getFirstIntersectionT(Ray ray, RayContext context)
           
 void prepareProcessing(RTScene sceneGraph)
           
 void setEvaluationParameters(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultIntersectionProcessor

public DefaultIntersectionProcessor()
Method Detail

cleanupProcessing

public void cleanupProcessing()
Specified by:
cleanupProcessing in interface IntersectionProcessor

getFirstIntersectionDescription

public boolean getFirstIntersectionDescription(Ray ray,
                                               RayContext context,
                                               IntersectionDescription desc)
Specified by:
getFirstIntersectionDescription in interface IntersectionProcessor

getFirstIntersectionT

public float getFirstIntersectionT(Ray ray,
                                   RayContext context)
Specified by:
getFirstIntersectionT in interface IntersectionProcessor

prepareProcessing

public void prepareProcessing(RTScene sceneGraph)
Specified by:
prepareProcessing in interface IntersectionProcessor

setEvaluationParameters

public void setEvaluationParameters(int value)