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

Quick Search    Search Deep

org.modama.framework.operations
Class OpSlice.Slicer  view OpSlice.Slicer download OpSlice.Slicer.java

java.lang.Object
  extended byorg.modama.framework.operations.OpSlice.Slicer
All Implemented Interfaces:
AbstractOperation.Calculator
Enclosing class:
OpSlice

public class OpSlice.Slicer
extends java.lang.Object
implements AbstractOperation.Calculator

makes a slice through an image


Constructor Summary
OpSlice.Slicer()
           
 
Method Summary
 org.modama.framework.entities.AbstractEntity calculate()
           
 double[] calculate(java.awt.image.RenderedImage data)
           
protected  java.awt.Rectangle getHorizontalRect(java.awt.image.RenderedImage data)
           
 java.lang.Class getOutputClass()
           
protected  java.awt.Rectangle getVerticalRect(java.awt.image.RenderedImage data)
           
 boolean isValidInput()
          returns true if the current input is valid for this calculation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpSlice.Slicer

public OpSlice.Slicer()
Method Detail

calculate

public org.modama.framework.entities.AbstractEntity calculate()
Specified by:
calculate in interface AbstractOperation.Calculator

isValidInput

public boolean isValidInput()
Description copied from interface: AbstractOperation.Calculator
returns true if the current input is valid for this calculation

Specified by:
isValidInput in interface AbstractOperation.Calculator

getOutputClass

public java.lang.Class getOutputClass()
Specified by:
getOutputClass in interface AbstractOperation.Calculator

calculate

public double[] calculate(java.awt.image.RenderedImage data)

getHorizontalRect

protected java.awt.Rectangle getHorizontalRect(java.awt.image.RenderedImage data)

getVerticalRect

protected java.awt.Rectangle getVerticalRect(java.awt.image.RenderedImage data)