|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.ray2.radiosity.RadiosityAlgorithm
public class RadiosityAlgorithm
This is the main radiosity calculation class.
Constructor Summary | |
---|---|
RadiosityAlgorithm(PixelwiseRenderer renderer)
Constructor. |
Method Summary | |
---|---|
void |
calculateScene(java.util.Vector<PatchGroup> globalGroupList,
float subDivThresh,
int maxSubDivDepth,
int threadCount)
Calculates the scene. |
float |
getComponent(Tuple3f t,
int pos)
Returns the value with the index i. |
int |
getSteps()
Returns the current calculation step. |
void |
setComponent(Tuple3f t,
int pos,
float newVal)
Sets the value with the index i to a new Value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RadiosityAlgorithm(PixelwiseRenderer renderer)
renderer
- the PixelwiseRenderer.Method Detail |
---|
public void calculateScene(java.util.Vector<PatchGroup> globalGroupList, float subDivThresh, int maxSubDivDepth, int threadCount)
globalGroupList
- the list of patch groups.subDivThresh
- the subdivision threshold.maxSubDivDepth
- the recursion depth.threadCount
- the thread count.public float getComponent(Tuple3f t, int pos)
pos
- The index
public int getSteps()
public void setComponent(Tuple3f t, int pos, float newVal)
pos
- The index.newVal
- The new value to set.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |