de.grogra.imp3d.ray2
Class Raytracer
java.lang.Object
de.grogra.imp.Renderer
de.grogra.imp3d.ray2.Raytracer
- All Implemented Interfaces:
- Options, Disposable, java.awt.image.ImageObserver, java.lang.Runnable
public class Raytracer
- extends Renderer
- implements java.lang.Runnable, Options, java.awt.image.ImageObserver
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.awt.image.ImageObserver |
imageUpdate |
ANTIALIASING
public static final EnumerationType ANTIALIASING
DEBUG
public static boolean DEBUG
RAYPROCESSOR
public static final EnumerationType RAYPROCESSOR
Raytracer
public Raytracer(Map params)
Raytracer
public Raytracer(Workbench w,
int width,
int height)
Raytracer
public Raytracer(Workbench w,
ViewConfig3D v,
int width,
int height)
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
get
public java.lang.Object get(java.lang.String key,
java.lang.Object def)
- Description copied from interface:
Options
- Returns the option value for the option identified
by
key
. If no special value for the option is defined,
defaultValue
is returned.
- Specified by:
get
in interface Options
- Parameters:
key
- identifier for optiondef
- default value of option
- Returns:
- value of option named
key
getName
public java.lang.String getName()
- Specified by:
getName
in class Renderer
render
public void render()
- Specified by:
render
in class Renderer
render
public static void render(Item item,
java.lang.Object info,
Context context)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
setRandomSeed
public void setRandomSeed(int value)