A C D G I M P R S T W

A

addParameter(String) - Method in class TreeString
Method to set the parameters of a parametric string
addRule(String) - Method in class TreeString
method to set the production rules
addTurtleToStack() - Method in class DrawTree3D
method to add the current sate of the turtle to a stack so that it can be retrieved when ']' is found

C

CylinderAppearance() - Method in class DrawTree3D
 
create3DImage() - Method in class DrawTree3D
create 3D image the image is constructed from 1 branch group and all objects are added as childs of this branch group
createBackground() - Method in class DrawTree3D
method to create a background of the scene
createCylSection() - Method in class DrawTree3D
method to create a new section the new section is rotated and placed to the current turtle position
createRotationAxisAngle() - Method in class Turtle3D
method to create the rotation of the object given a specific axis-angle The axis and the angle of rotation are derived from the cross product of the current vector heading and the required direction vector

D

DrawTree - class DrawTree.
 
DrawTree(String, double, float, boolean, boolean) - Constructor for class DrawTree
Creates a new instance of Class the inputs are the generation string the angle change, the length of the drawn section and booleans to set leaves and colour
DrawTree3D - class DrawTree3D.
 
DrawTree3D(String, double, float, float, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, int, int, String) - Constructor for class DrawTree3D
Creates a new instance of DrawTree3D
decrAlpha(double) - Method in class Turtle
 
decreaseLength(double) - Method in class Turtle3D
 
decreaseWidth(double) - Method in class Turtle3D
 
detail - Variable in class DrawTree3D
 

G

generateParametricString() - Method in class TreeString
Method to generate a parametric sting
generateString() - Method in class TreeString
method to generate the production string
getAlpha() - Method in class Turtle
 
getAlpha() - Method in class Turtle3D
 
getD() - Method in class Turtle
 
getH() - Method in class Turtle3D
 
getHeadingX() - Method in class Turtle3D
 
getHeadingY() - Method in class Turtle3D
 
getHeadingZ() - Method in class Turtle3D
 
getL() - Method in class Turtle3D
 
getLeftX() - Method in class Turtle3D
 
getLeftY() - Method in class Turtle3D
 
getLeftZ() - Method in class Turtle3D
 
getLength() - Method in class Turtle3D
 
getTempWidth() - Method in class Turtle3D
 
getU() - Method in class Turtle3D
 
getUpX() - Method in class Turtle3D
 
getUpY() - Method in class Turtle3D
 
getUpZ() - Method in class Turtle3D
 
getWidth() - Method in class Turtle3D
 
getX() - Method in class Turtle
Set of accessor methods Used to get turtle values
getX() - Method in class Turtle3D
Set of accessor methods Used to get turtle values
getY() - Method in class Turtle
 
getY() - Method in class Turtle3D
 
getZ() - Method in class Turtle3D
 

I

InputWindow - class InputWindow.
 
InputWindow() - Constructor for class InputWindow
Creates a new instance of InputWindow
incrAlpha(double) - Method in class Turtle
 

M

main(String[]) - Static method in class InputWindow
the main method to run the program

P

paint(Graphics) - Method in class DrawTree
this method draws the corresponding image for the given L-System
pitchDownL() - Method in class Turtle3D
method to pitch the heading of the turtle down
pitchUpL() - Method in class Turtle3D
the same as for pitchDownL but the head is turn upwards
popTurtleFromStack() - Method in class DrawTree3D
method to replace the current state of the turtle with the top turtle of the stack
printData() - Method in class TreeString
method to print L-system details on the screen

R

rollLeftH() - Method in class Turtle3D
method to roll the turtle to the left
rollRightH() - Method in class Turtle3D
the same as rollRigthH but the turtle turns to the right
rotateToVertical() - Method in class Turtle3D
method to move the turtle heading to the horizontal position

S

setAlpha(double) - Method in class Turtle
 
setAlpha(double) - Method in class Turtle3D
 
setAxiom(String) - Method in class TreeString
,ethod to get the axim of the system
setD(double) - Method in class Turtle
 
setDerivations(int) - Method in class TreeString
,ethod to get the derivations number from the user
setH(Vector3d) - Method in class Turtle3D
 
setHLU(Vector3d, Vector3d, Vector3d) - Method in class Turtle3D
 
setL(Vector3d) - Method in class Turtle3D
 
setLength(float) - Method in class Turtle3D
 
setNewPosition() - Method in class Turtle3D
Set of mutator methods that change the orientation of the turtle method to move the turtle position to the next position The method calculates the next position by myltiplying the unit vector by the length of the segment
setTempWidth(float) - Method in class Turtle3D
 
setU(Vector3d) - Method in class Turtle3D
 
setWidth(float) - Method in class Turtle3D
 
setX(double) - Method in class Turtle
Set of mutator methods used to change turtle values
setX(double) - Method in class Turtle3D
Set of mutator methods used to change turtle values
setXYZ(double, double, double) - Method in class Turtle3D
 
setY(double) - Method in class Turtle
 
setY(double) - Method in class Turtle3D
 
setZ(double) - Method in class Turtle3D
 

T

TreeString - class TreeString.
 
TreeString() - Constructor for class TreeString
Creates a new instance of TreeString
Turtle - class Turtle.
 
Turtle() - Constructor for class Turtle
Creates a new instance of Turtle
Turtle(double, double, double, double) - Constructor for class Turtle
Initiating a turtle object given the values of x-coordinate, y-coordinate, the direction angle and the drawing distance
Turtle3D - class Turtle3D.
 
Turtle3D() - Constructor for class Turtle3D
Creates a new instance of Turtle3D
Turtle3D(double, double, double) - Constructor for class Turtle3D
Creates a new instance of Turtle3D
Turtle3D(double, double, double, double, float, float) - Constructor for class Turtle3D
Creates a new instance of Turtle3D
turnAroundU() - Method in class Turtle3D
method to turn the turtle around the u-axis by 180
turnLeftU() - Method in class Turtle3D
method to rotate the turtle heading to the left
turnRightU() - Method in class Turtle3D
this is the same as the turnLeftU method by the heading turns right

W

WireFrameAppearance() - Method in class DrawTree3D
this method creates the appearance of a geometric object the triangula strip object is shown like a frame of its vertices

A C D G I M P R S T W