de.grogra.ray.util
public class RayContext extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
RTObject |
excludeObject |
Point3d |
lastIntersectionPoint |
| Constructor and Description |
|---|
RayContext() |
| Modifier and Type | Method and Description |
|---|---|
int |
deleteMaterial(RTObject object) |
void |
enteringObject(RTObject object,
RTMedium medium) |
void |
exitingObject(RTObject object) |
float |
getCurrentIOR() |
float |
getEnteringIORRation() |
float |
getExitingIORRation() |
void |
initializeContext() |
void |
insertMaterial(RTObject object,
int index) |
boolean |
isLastMaterial(RTObject object) |
void |
popMaterial() |
void |
printMaterials() |
void |
pushMaterial(RTObject object) |
public RTObject excludeObject
public final Point3d lastIntersectionPoint
public int deleteMaterial(RTObject object)
public void exitingObject(RTObject object)
public float getCurrentIOR()
public float getEnteringIORRation()
public float getExitingIORRation()
public void initializeContext()
public void insertMaterial(RTObject object, int index)
public boolean isLastMaterial(RTObject object)
public void popMaterial()
public void printMaterials()
public void pushMaterial(RTObject object)