public class IqmOpCreateFracSurf extends AbstractOperator
isCancelable, name, parentTask, pcs, type| Constructor and Description |
|---|
IqmOpCreateFracSurf() |
| Modifier and Type | Method and Description |
|---|---|
private javax.media.jai.PlanarImage |
calcFFTSurface(int width,
int height,
int greyValueMax,
float fracD)
This methods calculates a fractal surface using FFT
|
private javax.media.jai.PlanarImage |
calcMPDSurface(int width,
int height,
int greyValueMax,
float fracD)
This methods calculates a fractal surface using Midpoint Displacement
|
private javax.media.jai.PlanarImage |
calcSumSinesSurface(int width,
int height,
int greyValueMax,
float fracD)
This methods calculates a fractal surface using sum of sines
|
String |
getName()
Gets the unique name of the
IOperator by returning the
"GlobalName" element from the resources[][] of the
associated IOperatorDescriptor. |
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, setParentTaskpublic 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 AbstractOperatorOperatorTypeprivate javax.media.jai.PlanarImage calcFFTSurface(int width,
int height,
int greyValueMax,
float fracD)
private javax.media.jai.PlanarImage calcMPDSurface(int width,
int height,
int greyValueMax,
float fracD)
private javax.media.jai.PlanarImage calcSumSinesSurface(int width,
int height,
int greyValueMax,
float fracD)
Copyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.