|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fraid.function.Transform
public class Transform
Instead of using functions like the rest of the algorithms the iterative fractals use transforms (this class). A transform is a pair of functions and X and Y offsets.
Field Summary | |
---|---|
java.util.Vector |
mFunctions
The two functions for the transform. |
double |
mXOff
The mXOff . |
protected Complex |
mXOffCompl
|
double |
mYOff
The mYOff . |
protected Complex |
mYOffCompl
|
double |
mZOff
The mZOff . |
protected Complex |
mZOffCompl
|
Constructor Summary | |
---|---|
Transform(java.util.Vector aFuns,
Complex aXOffCompl,
Complex aYOffCompl)
Creates a new Transform instance. |
|
Transform(java.util.Vector aFuns,
Complex aXOffCompl,
Complex aYOffCompl,
Complex aZOffCompl)
Creates a new Transform instance. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Needed when generating files (everyhting gets cloned to prevent any changes). |
Transform |
refresh()
Checks if the user didn't change some defintion on which our transformation depends. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.Vector mFunctions
protected Complex mXOffCompl
protected Complex mYOffCompl
protected Complex mZOffCompl
public double mXOff
mXOff
.
public double mYOff
mYOff
.
public double mZOff
mZOff
.
Constructor Detail |
---|
public Transform(java.util.Vector aFuns, Complex aXOffCompl, Complex aYOffCompl)
Transform
instance.
aFuns
- a Vector
valueaXOffCompl
- a Complex
valueaYOffCompl
- a Complex
valuepublic Transform(java.util.Vector aFuns, Complex aXOffCompl, Complex aYOffCompl, Complex aZOffCompl)
Transform
instance.
aFuns
- a Vector
valueaXOffCompl
- a Complex
valueaYOffCompl
- a Complex
valueaZOffCompl
- a Complex
valueMethod Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
Object
value
java.lang.CloneNotSupportedException
- if an error occurspublic Transform refresh()
Transform
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |