j3d.examples.checkers
Class ColorMapGenerator

java.lang.Object
  extended by j2d.ImageProcessor
      extended by j3d.examples.checkers.ColorMapGenerator
All Implemented Interfaces:
java.awt.image.ImageObserver

public class ColorMapGenerator
extends ImageProcessor

Created by IntelliJ IDEA. User: Dave Pavlik Date: Apr 20, 2005 Time: 1:34:34 PM


Field Summary
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
ColorMapGenerator(java.awt.Image image)
           
 
Method Summary
 java.util.HashMap getColorMap()
           
 void processImage()
          This abstract function must be overridden by any actual ImageProcessor implementation.
 
Methods inherited from class j2d.ImageProcessor
getBaseImage, getBaseImageHeight, getBaseImageWidth, getPixels, getProcessedImage, imageUpdate, openImage, setBaseImage, setPixels
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorMapGenerator

public ColorMapGenerator(java.awt.Image image)
Method Detail

getColorMap

public java.util.HashMap getColorMap()

processImage

public void processImage()
Description copied from class: ImageProcessor
This abstract function must be overridden by any actual ImageProcessor implementation. This is where the real image processing happens. If the implementation generates an output image, performAlgorithm is responsible for updating newImage.

Specified by:
processImage in class ImageProcessor