|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.grogra.ray2.photonmap.OptionReader
public class OptionReader
Reads all Photon Map parameter from the registry and checks if values where changed.
| Constructor Summary | |
|---|---|
OptionReader(PixelwiseRenderer renderer)
This Constructor reads all Photon Map parameter from the registry. |
|
| Method Summary | |
|---|---|
void |
calcFinished(Scene scene)
Call this after the the photon map was created to update the values. |
int |
getCausticPhotonCount()
Returns the caustic photon count. |
int |
getGlobalPhotonCount()
Returns the global photon count. |
double |
getPhotonArea()
Returns the photon scan area. |
int |
getPhotonDepth()
Returns the recursion depth. |
boolean |
isPhotonMapCalcNeeded(Scene scene)
Returns true, if new Photon map must be calculated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OptionReader(PixelwiseRenderer renderer)
renderer - the PixelwiseRenderer| Method Detail |
|---|
public void calcFinished(Scene scene)
scene - the scene object.public int getCausticPhotonCount()
public int getGlobalPhotonCount()
public double getPhotonArea()
public int getPhotonDepth()
public boolean isPhotonMapCalcNeeded(Scene scene)
scene - the Scene.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||