Class TwoInputFilter

  extended byhades.simulator.SimObject
      extended byhades.models.imaging.ParametrizedFilter
          extended byhades.models.imaging.TwoInputFilter
All Implemented Interfaces:
java.lang.Cloneable, ContextToolTip, java.io.Serializable, Simulatable
Direct Known Subclasses:
AbsSubFilter, AddFilter, ANDFilter, CatHFilter, CatVFilter, EqualsFilter, EqualsWithinFilter, MaxFilter, MinFilter, MultFilter, ORFilter, ReplaceRegionFilter, SubFilter

public class TwoInputFilter
extends ParametrizedFilter

TwoInputFilter - a

See Also:
Serialized Form

Field Summary
protected  java.awt.Image image_A
protected  java.awt.Image image_B
protected  double lastEvaluationTime
protected  long lastHashCodeA
protected  long lastHashCodeB
protected  Port port_A
protected  Port port_B
protected  Port port_Y
Fields inherited from class hades.models.imaging.ParametrizedFilter
d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, inputImage, outputImage, p0, p1, p2, p3, p4, p5, p6, p7, t_delay
Fields inherited from class hades.simulator.SimObject
classloader, console, debug, editor, name, parent, ports, propertySheet, simulator, symbol, versionId, visible
Constructor Summary
Method Summary
 void elaborate(java.lang.Object arg)
          elaborate(): This method is called by the simulation engine to initialize the simulation object.
 void evaluate(java.lang.Object arg)
          evaluate(): called by the simulation engine on all events that concern this object.
 java.awt.Image filter(java.awt.Image image_A, java.awt.Image image_B)
Methods inherited from class hades.models.imaging.ParametrizedFilter
_clip, _toDouble, _toInt, applyValuesHook, buildPorts, checkApplyCallsEvaluate, configure, copy, filter, getBufferedImage, getClone, getD0, getD1, getD2, getD3, getD4, getD5, getD6, getD7, getD8, getD9, getP0, getP1, getP2, getP3, getP4, getP5, getP6, getP7, getPropertySheetFieldNames, initialize, msg, setD0, setD0, setD1, setD1, setD2, setD2, setD3, setD3, setD4, setD4, setD5, setD5, setD6, setD6, setD7, setD7, setD8, setD8, setD9, setD9, setP0, setP0, setP1, setP1, setP2, setP2, setP3, setP3, setP4, setP4, setP5, setP5, setP6, setP6, setP7, setP7, toString, write
Methods inherited from class hades.simulator.SimObject
constructDynamicSymbol, getBindkey, getClassLoader, getDebug, getEditor, getExternalResources, getFullName, getName, getParent, getPort, getPorts, getPropertySheet, getResourceAsStream, getSimulator, getSymbol, getSymbolResourceName, getToolTip, getVersionId, isVisible, keyPressed, message, mousePressed, needsDynamicSymbol, needsExternalResources, setClassLoader, setConsole, setDebug, setEditor, setName, setParent, setPorts, setSimulator, setSymbol, setVersionId, setVisible, tearDown
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface hades.simulator.Simulatable

Field Detail


protected Port port_A


protected Port port_B


protected Port port_Y


protected java.awt.Image image_A


protected java.awt.Image image_B


protected double lastEvaluationTime


protected long lastHashCodeA


protected long lastHashCodeB
Constructor Detail


public TwoInputFilter()
Method Detail


public java.awt.Image filter(java.awt.Image image_A,
                             java.awt.Image image_B)


public void evaluate(java.lang.Object arg)
Description copied from interface: Simulatable
evaluate(): called by the simulation engine on all events that concern this object. The object is responsible for updating its internal state and for scheduling all pending output events.

Specified by:
evaluate in interface Simulatable
evaluate in class ParametrizedFilter


public void elaborate(java.lang.Object arg)
Description copied from interface: Simulatable
elaborate(): This method is called by the simulation engine to initialize the simulation object.

Specified by:
elaborate in interface Simulatable
elaborate in class ParametrizedFilter