|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Antialiasing
An implementation of this interface encapsulates a single antialiasing method that is based on prefiltering.
| Method Summary | |
|---|---|
void |
appendStatistics(java.lang.StringBuffer stats)
Appends some statistics information about the antialiasing to stats. |
Antialiasing |
dup(Scene scene)
Returns a clone of this Antialiasing. |
void |
getColorOfRectangle(double x,
double y,
double width,
double height,
Color4f color,
java.util.Random random)
This method has to return a color value determined for a given rectangular region on the image plane. |
void |
initialize(PixelwiseRenderer renderer,
Scene scene)
Initializes the antialiasing method using the data available through the renderer. |
void |
setPixelXY(float x,
float y)
|
| Method Detail |
|---|
void appendStatistics(java.lang.StringBuffer stats)
stats. This method will be invoked after the whole
rendering process has completed. It should also invoke
appendStatistics on the ray processor.
stats - buffer for statistics informationAntialiasing dup(Scene scene)
Antialiasing.
All constant variables are copied shallowly, state variables
are newly created and copied where necessary.
scene - duplicate of scene
void getColorOfRectangle(double x,
double y,
double width,
double height,
Color4f color,
java.util.Random random)
uv coordinates for the
Sensor which represents the camera.
x - Describes the x position of the lower left corner of
the rectangle.y - Describes the y position of the lower left corner of
the rectangle.width - width of the rectangleheight - height of the of the rectanglecolor - The determined color of the rectangle will be
stored in this parameter.random - pseudorandom generator
void initialize(PixelwiseRenderer renderer,
Scene scene)
renderer.
renderer - the renderer which provides the needed informationscene - the scene which is rendered
void setPixelXY(float x,
float y)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||