public class IqmOpFracGenDim extends AbstractOperator
isCancelable, name, parentTask, pcs, type| Constructor and Description |
|---|
IqmOpFracGenDim() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the unique name of the
IOperator by returning the
"GlobalName" element from the resources[][] of the
associated IOperatorDescriptor. |
private double[] |
getNumberOfNonZeroPixels(javax.media.jai.PlanarImage pi)
This method calculates the number of pixels >0 param PlanarImage pi
return double[]
|
OperatorType |
getType()
Gets the type of the operator listed in an enumeration.
|
IResult |
run(IWorkPackage wp)
This method contains the entire logic (algorithm) of the operator.
|
addProgressListener, fireProgressChanged, getParentTask, getPcs, getProgressListeners, initializeOperator, isCancelable, isCancelled, setCancelable, setParentTaskprivate double[] getNumberOfNonZeroPixels(javax.media.jai.PlanarImage pi)
public IResult run(IWorkPackage wp)
IOperatorIOperator does not declare any class members, since the execution
of this code must be thread-safe.run in interface IOperatorrun in class AbstractOperatorwp - the parameters and sourcesIResult containing all processed datapublic String getName()
IOperatorIOperator by returning the
"GlobalName" element from the resources[][] of the
associated IOperatorDescriptor.getName in interface IOperatorgetName in class AbstractOperatorpublic OperatorType getType()
IOperatorgetType in interface IOperatorgetType in class AbstractOperatorOperatorTypeCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.