Bouncy Castle Rendering Toolkit 1.0

org.bouncycastle.graphics.rt
Class Ray

java.lang.Object
  |
  +--org.bouncycastle.graphics.rt.Ray

public class Ray
extends java.lang.Object


Field Summary
 Color3f col
           
 Vector3f dir
           
 boolean done
           
 Hit hit
           
 int id
           
 int level
           
 Point3f org
           
 Renderable orgObj
           
 Hit theHit
           
 int timeSlice
           
 float tMax
           
 
Method Summary
 void dispose()
           
static Ray getInstance()
           
 void setHit(Hit other)
           
 void setHit(Renderable obj, float t, ColorCalculator colorCalc, NormalCalculator normCalc, TextureMapper stMapper, Shader shader)
           
 void setTheHit()
           
 java.lang.String toString()
           
 boolean trace(Traceable obj, Background background, Pixel pix)
           
 boolean trace(Traceable obj, Pixel pix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

done

public boolean done

id

public int id

level

public int level

timeSlice

public int timeSlice

tMax

public float tMax

col

public Color3f col

org

public Point3f org

dir

public Vector3f dir

orgObj

public Renderable orgObj

theHit

public Hit theHit

hit

public Hit hit
Method Detail

getInstance

public static Ray getInstance()

dispose

public void dispose()

setHit

public void setHit(Hit other)

setHit

public void setHit(Renderable obj,
                   float t,
                   ColorCalculator colorCalc,
                   NormalCalculator normCalc,
                   TextureMapper stMapper,
                   Shader shader)

setTheHit

public void setTheHit()

trace

public boolean trace(Traceable obj,
                     Pixel pix)

trace

public boolean trace(Traceable obj,
                     Background background,
                     Pixel pix)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Bouncy Castle Rendering Toolkit 1.0