Jazz3D API


com.sygem.visimagik
Class Filter

java.lang.Object
  |
  +--com.sygem.visimagik.Filter
Direct Known Subclasses:
FilterEmboss, FilterFader, FilterGlass, FilterGpen, FilterGreyscale, FilterMask, FilterMotion, FilterNegative, FilterPastel, FilterPlasma, FilterThermo, FilterTint

public class Filter
extends java.lang.Object

A super-class for all other filters.

Version:
3.0a
Author:
SyGem Software
See Also:
Visimagik

Constructor Summary
Filter()
          Default constructor.
 
Method Summary
 void removeMask()
          Force Visimagik to not use a mask any more for this filter.
 void setMask(int[] mask, int w, int h)
          Loads a mask image for use with this filter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filter

public Filter()
Default constructor.
Method Detail

setMask

public void setMask(int[] mask,
                    int w,
                    int h)
Loads a mask image for use with this filter. The mask will be scaled to fit the Jazz3D canvas.
Parameters:
mask - An array of integers representing the mask itself
w - The width of the image
h - The height of the image
See Also:
Texture

removeMask

public void removeMask()
Force Visimagik to not use a mask any more for this filter.

©2001 SyGem Software