|
Jazz3D API |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--com.sygem.visimagik.Visimagik
A holder for filters. This is where the filters get executed from.
Filter| Constructor Summary | |
Visimagik()
Default constructor. |
|
| Method Summary | |
int |
addFilter(Filter new_filter)
Assigns a filter to be run on a source image. |
int[] |
getImage()
Gets a copy of the final image. |
void |
removeFilter(int filter_number)
Removes a filter. |
void |
runAllFilters()
Calls the execute() method of all registered filters. |
void |
runFilter(int filter_to_run)
Calls the execute() method of one registered filter. |
void |
setDimension(java.awt.Dimension d)
Sets up any internal buffers in all the filters. |
void |
setImage(int[] new_image,
int w,
int h)
Sets up the source image ready for processing. |
void |
setTextureDimension()
Sets the internal buffers for use with Textures. |
void |
setTextureDimension(int x)
Sets the internal buffers for use with Textures. |
void |
setTextureDimension(int x,
int y)
Sets the internal buffers for use with Textures. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Visimagik()
| Method Detail |
public void setDimension(java.awt.Dimension d)
d - The dimension of the canvas the source is coming from.public void setTextureDimension()
Texturepublic void setTextureDimension(int x)
Texture
public void setTextureDimension(int x,
int y)
Texturepublic int addFilter(Filter new_filter)
new_filter - The filter to add to this visimagik objectpublic void removeFilter(int filter_number)
filter_number - The filter to remove from this visimagik object
public void setImage(int[] new_image,
int w,
int h)
new_image - An array of integers representing the source imagew - The width of the image to processh - The height of the image to processgetImage()public int[] getImage()
setImage(int[], int, int)public void runFilter(int filter_to_run)
filter_to_run - The filter to run, as returned by addFilter()addFilter(com.sygem.visimagik.Filter)public void runAllFilters()
|
©2001 SyGem Software |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||