|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectperceptron.FractalMap
public class FractalMap
| Field Summary | |
|---|---|
boolean |
auto_rotate
Automatic rotation of the constant |
static int |
IMAGE_RENDERER
|
static int |
IRROTATIONAL_RENDERER
|
static complex |
lower_right
|
static int |
ROTATIONAL_RENDERER
|
static complex |
size
The upper left, lower right, and size of the rectangle in the complex plane |
static complex |
upper_left
|
| Constructor Summary | |
|---|---|
FractalMap(DoubleBuffer b,
java.util.Vector<Mapping> maps,
Perceptron parent)
Creates a new instance of FractalMap |
|
| Method Summary | |
|---|---|
complex |
get_constant()
Returns a copy of the constant |
complex |
get_map(complex z)
Applies the current mapping to the given parameter |
complex |
get_size()
Returns a copy of the size of the complex plane area covered |
void |
inc_ortho()
|
void |
inc_polar()
|
void |
increment_accent(int n)
|
void |
increment_colorfilter(int amount)
|
void |
increment_fade_weight(int n)
|
void |
increment_fader(int n)
|
void |
increment_gradient_shape(int n)
|
void |
increment_gradient(int amount)
|
void |
increment_map(int n)
|
int |
increment_noise(int amt)
|
void |
increment_offscreen(int n)
|
void |
increment_renderer(int n)
|
void |
increment_visualiser(int n)
|
boolean |
is_active()
Returns weather this FractalMap is active. |
void |
load_map(Mapping map)
|
static Mapping |
makeMap(java.lang.String equ)
|
void |
set_accent(int color_accent)
|
void |
set_active(boolean active)
Toggles active computation of the fractal map on and off |
void |
set_colorfilter(int index)
|
void |
set_constant(float real,
float imag)
Sets the constant value |
void |
set_fader(int index)
|
void |
set_gradient_param(float slope,
float offset)
|
void |
set_gradient_shape(int n)
|
void |
set_gradient(int index)
|
void |
set_input_color(int col)
Set the input color |
void |
set_interpolation(boolean s)
|
void |
set_map(int index)
|
void |
set_norm_c(float x,
float y)
Sets the constant value given an x and y location on the screen |
void |
set_normalized_rotation(float x,
float y)
sets rotation parameter of map |
void |
set_offscreen(int index)
|
void |
set_renderer(int index)
|
void |
set_visualiser(int index)
|
void |
setContrastParameters(int x,
int y)
|
void |
setMapping(java.lang.String s)
|
void |
toggle_color_inversion()
|
void |
toggle_gradient_switch()
|
void |
toggle_interpolation()
|
boolean |
toggle_noise()
|
void |
update_color()
update the default color |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean auto_rotate
public static final complex size
public static final complex upper_left
public static final complex lower_right
public static final int ROTATIONAL_RENDERER
public static final int IRROTATIONAL_RENDERER
public static final int IMAGE_RENDERER
| Constructor Detail |
|---|
public FractalMap(DoubleBuffer b, java.util.Vector<Mapping> maps, Perceptron parent)
b - maps - parent - | Method Detail |
|---|
public void inc_ortho()
public void inc_polar()
public void load_map(Mapping map)
map - public void toggle_color_inversion()
public void toggle_gradient_switch()
public void toggle_interpolation()
public complex get_map(complex z)
z -
public complex get_constant()
public complex get_size()
public boolean is_active()
public void set_active(boolean active)
active -
public void set_constant(float real,
float imag)
real - imag -
public void set_norm_c(float x,
float y)
x - y -
public void set_normalized_rotation(float x,
float y)
x - y - public void set_input_color(int col)
col - public void increment_renderer(int n)
n - public void set_renderer(int index)
index - public void increment_visualiser(int n)
n - public void set_visualiser(int index)
index - public void increment_offscreen(int n)
n - public void set_offscreen(int index)
index - public void increment_fader(int n)
n - public void set_fader(int index)
index - public void increment_gradient(int amount)
amount - public void set_gradient(int index)
index - public void increment_colorfilter(int amount)
amount - public void set_colorfilter(int index)
index - public void increment_map(int n)
n - public void set_map(int index)
index - public void increment_fade_weight(int n)
n - public void increment_accent(int n)
n -
public void setContrastParameters(int x,
int y)
x - y - public void set_accent(int color_accent)
color_accent - public void set_interpolation(boolean s)
s -
public void set_gradient_param(float slope,
float offset)
slope - offset - public void update_color()
public int increment_noise(int amt)
amt -
public boolean toggle_noise()
public static Mapping makeMap(java.lang.String equ)
equ -
public void setMapping(java.lang.String s)
s - public void increment_gradient_shape(int n)
n - public void set_gradient_shape(int n)
n -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||