Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

exptree.operators
Class image  view image download image.java

java.lang.Object
  extended byexptree.operators.image
All Implemented Interfaces:
operatorInterface, java.io.Serializable

public class image
extends java.lang.Object
implements operatorInterface, java.io.Serializable


Field Summary
(package private)  int h
           
(package private)  double map_height
           
(package private)  double PI_OVER_TWO
           
(package private)  double[][] pixels
           
(package private)  int w
           
 
Constructor Summary
image()
           
 
Method Summary
 double evaluate(exptree.expressionTree[] params)
          Perform the operation.
 java.lang.String getName()
          Returns the operator's name.
 int getNumberOfParameters()
          Returns the number of parameters expected by the operator.
 void init()
          Performs any initialization the operator requires.
(package private)  double map(double a)
           
(package private)  double unmap(double a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map_height

final double map_height

PI_OVER_TWO

final double PI_OVER_TWO
See Also:
Constant Field Values

w

int w

h

int h

pixels

double[][] pixels
Constructor Detail

image

public image()
Method Detail

evaluate

public double evaluate(exptree.expressionTree[] params)
Perform the operation.

Specified by:
evaluate in interface operatorInterface

getName

public java.lang.String getName()
Returns the operator's name.

Specified by:
getName in interface operatorInterface

init

public void init()
Performs any initialization the operator requires.

Specified by:
init in interface operatorInterface

getNumberOfParameters

public int getNumberOfParameters()
Returns the number of parameters expected by the operator.

Specified by:
getNumberOfParameters in interface operatorInterface

map

double map(double a)

unmap

double unmap(double a)