public class IqmOpFracIFS extends AbstractOperator
isCancelable, name, parentTask, pcs, type| Constructor and Description |
|---|
IqmOpFracIFS() |
| Modifier and Type | Method and Description |
|---|---|
void |
dragonr(Graphics g,
int scaling,
int x1,
int y1,
int x2,
int y2,
int x3,
int y3,
int n)
This method draws the Heighway's Dragon This is adapted from the
Nonlinear Workbook
|
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.
|
int |
power(int a,
int n)
Helper routine to calculate a to the power of n
|
IResult |
run(IWorkPackage wp)
This method contains the entire logic (algorithm) of the operator.
|
addProgressListener, fireProgressChanged, getParentTask, getPcs, getProgressListeners, initializeOperator, isCancelable, isCancelled, setCancelable, setParentTaskpublic int power(int a,
int n)
a - n - public void dragonr(Graphics g, int scaling, int x1, int y1, int x2, int y2, int x3, int y3, int n)
g - scaling - x1 - y1 - x2 - y2 - x3 - y3 - n - 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.