de.grogra.imp3d.ray2
public class Raytracer extends Renderer implements java.lang.Runnable, Options, java.awt.image.ImageObserver
| Modifier and Type | Field and Description |
|---|---|
static EnumerationType |
ANTIALIASING |
static boolean |
DEBUG |
static EnumerationType |
RAYPROCESSOR |
| Constructor and Description |
|---|
Raytracer(Map params) |
Raytracer(Workbench w,
int width,
int height) |
Raytracer(Workbench w,
ViewConfig3D v,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
java.lang.Object |
get(java.lang.String key,
java.lang.Object def)
Returns the option value for the option identified
by
key. |
java.lang.String |
getName() |
void |
render() |
static void |
render(Item item,
java.lang.Object info,
Context context) |
void |
run() |
void |
setRandomSeed(int value) |
addImageObserver, computeImage, imageUpdate, initialize, initializeImpl, waitForImagepublic static final EnumerationType ANTIALIASING
public static boolean DEBUG
public static final EnumerationType RAYPROCESSOR
public Raytracer(Map params)
public Raytracer(Workbench w, int width, int height)
public Raytracer(Workbench w, ViewConfig3D v, int width, int height)
public void dispose()
dispose in interface Disposablepublic java.lang.Object get(java.lang.String key,
java.lang.Object def)
Optionskey. If no special value for the option is defined,
defaultValue is returned.public void run()
run in interface java.lang.Runnablepublic void setRandomSeed(int value)