Class EnvironmentMap

java.lang.Object
  |
  +--AbstractELOperator
        |
        +--TwoArgumentOperator
              |
              +--EnvironmentMap
All Implemented Interfaces:
ELOperator

public class EnvironmentMap
extends TwoArgumentOperator
implements ELOperator

Argument order is chosen to preserve the semantics of Distort, where the first argument gives color and the second gives shape.


Field Summary
(package private)  Blur blur
           
(package private)  Grayscale grayscale
           
(package private)  java.awt.Image icon
           
 
Fields inherited from interface ELOperator
LARGE_NUMER_OF_ARGUMENTS
 
Constructor Summary
EnvironmentMap()
           
 
Method Summary
 void apply(ELMatrix[] argument, ELMatrix out, ELEnvironment environment)
          Applies this operator.
 java.lang.String description()
          An english language description of what this operator does.
 void fastApply(ELMatrix[] argument, ELMatrix out, ELEnvironment environment)
           
protected  java.lang.String iconString()
          Override to change the string painted for an icon.
 java.lang.String name()
          Name of this operator (usually the same as unparse()).
 void paintIcon(java.awt.Graphics2D graphics, int x, int y, int width, int height)
          Draw an icon for this operator
 
Methods inherited from class TwoArgumentOperator
checkArguments, getMaxNumArguments, getMinNumArguments, unparse
 
Methods inherited from class AbstractELOperator
clamp, hasExternalInfluences
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ELOperator
getMaxNumArguments, getMinNumArguments, hasExternalInfluences, unparse
 

Field Detail

grayscale

Grayscale grayscale

blur

Blur blur

icon

java.awt.Image icon
Constructor Detail

EnvironmentMap

public EnvironmentMap()
Method Detail

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)

name

public java.lang.String name()
Description copied from interface: ELOperator
Name of this operator (usually the same as unparse()).
Specified by:
name in interface ELOperator

description

public java.lang.String description()
Description copied from interface: ELOperator
An english language description of what this operator does.
Specified by:
description in interface ELOperator

iconString

protected java.lang.String iconString()
Description copied from class: AbstractELOperator
Override to change the string painted for an icon.
Overrides:
iconString in class AbstractELOperator

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