|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sygem.visimagik.Filter
com.sygem.visimagik.FilterPlasma
Wavey plasma-thing filter.
Filter
Constructor Summary | |
FilterPlasma()
Default constructor. |
Method Summary | |
void |
execute(int[] graphics_array)
Perform the image processing. |
void |
setAmplitude(int x,
int y)
Sets the amplitude of the plasma. |
void |
setBackgroundColour(int r,
int g,
int b)
Sets the colour of the canvas behind the image being processed. |
void |
setInitialPhase(int x,
int y)
Sets the inital phase angles of the plasma. |
void |
setPhase(int x,
int y)
Sets the phase speed of the plasma. |
void |
setSpeed(int x,
int y)
Sets the speed of the movement of plasma. |
Methods inherited from class com.sygem.visimagik.Filter |
removeMask, setMask |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FilterPlasma()
Method Detail |
public void execute(int[] graphics_array)
graphics_array
- The array to perform the processing onVisimagik
public void setAmplitude(int x, int y)
x
- The amplitude in the x-directiony
- The amplitude in the y-directionpublic void setBackgroundColour(int r, int g, int b)
r
- The red component of the colour. Must be bewteen 0 and 255g
- The green component of the colour. Must be bewteen 0 and 255b
- The blue component of the colour. Must be bewteen 0 and 255public void setInitialPhase(int x, int y)
x
- The initial phase of the x-directiony
- The initial phase of the y-directionpublic void setPhase(int x, int y)
x
- The phase speed in the x-directiony
- The phase speed in the y-directionpublic void setSpeed(int x, int y)
x
- The speed of movement in the x-directiony
- The speed of movement in the y-direction
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |