|
Bouncy Castle Rendering Toolkit 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.graphics.rt.HitList
Method Summary | |
void |
add(Hit newData)
|
void |
add(Ray r,
Renderable obj,
float t,
ColorCalculator colorCalc,
NormalCalculator normCalc,
TextureMapper stMapper,
Shader shader)
|
void |
dispose()
|
static HitList |
getInstance()
|
Hit |
head()
return the first hit in the hit list |
HitList |
intersect(HitList list)
change this list of hits so that it represents the INTERSECTION of the surfaces represented by this list and the argument list returning the list if there is a result, null otherwise. |
HitIterator |
iterator()
|
void |
merge(HitList list)
merge the passed in list with the current one. |
int |
size()
|
HitList |
subtract(HitList list)
change this list of hits so that it represents the SUBTRACTION of the surfaces represented by this list and the argument list returning the list if there is a result, null otherwise. |
HitList |
union(HitList list)
change this list of hits so that it represents the UNION of the surfaces represented by this list and the argument list returning the list if there is a result, null otherwise. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static HitList getInstance()
public void dispose()
public void add(Hit newData)
public void add(Ray r, Renderable obj, float t, ColorCalculator colorCalc, NormalCalculator normCalc, TextureMapper stMapper, Shader shader)
public int size()
public void merge(HitList list)
The passed in list is disposed of at the end of the operation
public HitList union(HitList list)
The argument list is disposed of at the end of the operation, as the current list if the union operation results in a null set.
public HitList intersect(HitList list)
The argument list is disposed of at the end of the operation, as the current list if the union operation results in a null set.
public HitList subtract(HitList list)
The argument list is disposed of at the end of the operation, as the current list if the union operation results in a null set.
public Hit head()
public HitIterator iterator()
|
Bouncy Castle Rendering Toolkit 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |