|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--MandelTest
This class calculates the mandelbrot set for a given "window" and maps the search depth to a color value which is then set as a pixel into the image. The internally used frame is fix-sized to 512x512.
Constructor Summary | |
MandelTest(int x,
int width,
int y,
int height)
The constructor. |
Method Summary | |
PixelImage |
getImage()
Get the resulting image. |
int[] |
getResult()
Get the resulting image as an integer array. |
void |
runTest()
Run the test for the assigned "window". |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public MandelTest(int x, int width, int y, int height)
x
- the horizontal starting coordinate.width
- the horizontal width.y
- the vertical starting coordinate.heigth
- the vertical height.Method Detail |
public void runTest()
public int[] getResult()
public PixelImage getImage()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |