|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rendered3D.TreeForm
public class TreeForm
Field Summary | |
---|---|
protected float |
alpha
|
protected float |
beta
|
byte |
d_color
|
float |
d_r
|
protected float[][] |
T
|
Constructor Summary | |
---|---|
TreeForm(float new_alpha,
float new_beta,
float new_d_r,
int new_d_color)
|
Method Summary | |
---|---|
float |
get_alpha()
get the axial rotation angle |
float |
get_beta()
get the branching angle |
int |
mutate_color(byte color_index)
Safely increment of decrement the color lookup table index, wrapping around from beginning to end if the index goes out of bounds |
void |
set_alpha(float a)
Set the axial rotation angle |
void |
set_beta(float b)
Set the branching angle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float d_r
public byte d_color
protected float alpha
protected float beta
protected float[][] T
Constructor Detail |
---|
public TreeForm(float new_alpha, float new_beta, float new_d_r, int new_d_color)
new_alpha
- new_beta
- new_d_r
- new_d_color
- Method Detail |
---|
public void set_alpha(float a)
a
- public void set_beta(float b)
b
- public float get_alpha()
public float get_beta()
public int mutate_color(byte color_index)
color_index
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |