java.lang.Object
org.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpSlice.Slicer
public OpSlice.Slicer()
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)