Class ImageOperator

java.lang.Object
  |
  +--AbstractELOperator
        |
        +--ZeroArgumentOperator
              |
              +--ImageOperator
All Implemented Interfaces:
ELOperator
Direct Known Subclasses:
AdamImage, BarkImage, FishImage, LenaImage, Noise, PeppersImage, PigImage, RayTraceImage, StreamImage, SunriseImage, WaimeaImage

public abstract class ImageOperator
extends ZeroArgumentOperator
implements ELOperator


Field Summary
protected  java.lang.String filename
           
protected  ELMatrix image
          Underlying image
protected  ELMatrix image128
           
 
Fields inherited from interface ELOperator
LARGE_NUMER_OF_ARGUMENTS
 
Constructor Summary
ImageOperator()
           
 
Method Summary
 void apply(ELMatrix[] argument, ELMatrix out, ELEnvironment environment)
          Applies this operator.
protected  void create128()
           
 void fastApply(ELMatrix[] argument, ELMatrix out, ELEnvironment environment)
           
 void paintIcon(java.awt.Graphics2D graphics, int x, int y, int width, int height)
          Draw an icon for this operator
protected  void waitForImage()
           
 
Methods inherited from class ZeroArgumentOperator
checkArguments, getMaxNumArguments, getMinNumArguments, unparse
 
Methods inherited from class AbstractELOperator
clamp, hasExternalInfluences, iconString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ELOperator
description, getMaxNumArguments, getMinNumArguments, hasExternalInfluences, name, unparse
 

Field Detail

image

protected ELMatrix image
Underlying image

image128

protected ELMatrix image128

filename

protected java.lang.String filename
Constructor Detail

ImageOperator

public ImageOperator()
Method Detail

waitForImage

protected void waitForImage()

apply

public void apply(ELMatrix[] argument,
                  ELMatrix out,
                  ELEnvironment environment)
Description copied from interface: ELOperator
Applies this operator.
Specified by:
apply in interface ELOperator

fastApply

public void fastApply(ELMatrix[] argument,
                      ELMatrix out,
                      ELEnvironment environment)

paintIcon

public void paintIcon(java.awt.Graphics2D graphics,
                      int x,
                      int y,
                      int width,
                      int height)
Description copied from interface: ELOperator
Draw an icon for this operator
Specified by:
paintIcon in interface ELOperator
Overrides:
paintIcon in class AbstractELOperator

create128

protected void create128()