|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Renderer
This interface specifies the basic operations for a renderer.
| Method Summary | |
|---|---|
void |
initialize(Options opts,
ProgressMonitor progress)
Initializes the renderer. |
void |
render(Scene scene,
Sensor camera,
Matrix4d cameraTransformation,
int width,
int height,
java.awt.image.ImageObserver obs)
Renders an image of a scene. |
void |
stop()
This method is invoked from another thread to stop a running renderer. |
| Method Detail |
|---|
void initialize(Options opts,
ProgressMonitor progress)
opts - options to use (may be null)progress - monitor to display rendering progress
(may be null)
void render(Scene scene,
Sensor camera,
Matrix4d cameraTransformation,
int width,
int height,
java.awt.image.ImageObserver obs)
scene.
scene - scene to rendercamera - camera to usecameraTransformation - transformation from camera coordinates
to world coordinateswidth - width of imageheight - height of imageobs - the observer receives the image datavoid stop()
stop and the return from the invocation
of render.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||