|
||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||
de.grogra.turtle contains a set of turtle commands
which can be used in the context of RGG modelling within the GroIMP software.
See:
Description
| Interface Summary | |
|---|---|
| TurtleModifier | |
| Class Summary | |
|---|---|
| AdjustLU | The turtle command AdjustLU performs
a rotation about the local z-axis (the turtle's head axis)
such that the angle between the rotated local y-axis
(the turtle's up axis) and the global z-axis becomes minimal. |
| ArgShoot | |
| Assignment | This is the base class of turtle commands which assign a value to a state variable of the turtle and have a single parameter. |
| Attributes | |
| C | The turtle command
C(x)
sets TurtleState.carbon to
the specified argument
x. |
| C.Pattern | |
| C0 | The turtle command
C0
resets TurtleState.carbon to its initial value
(as defined in TurtleState.initialState). |
| CAdd | The turtle command
CAdd(x)
increments TurtleState.carbon by
the specified argument
x. |
| CAdd.Pattern | |
| Cl | The turtle command
Cl(x)
sets TurtleState.localCarbon to
the specified argument
x. |
| Cl.Pattern | |
| ClAdd | The turtle command
ClAdd(x)
sets TurtleState.localCarbon to
the sum of TurtleState.carbon and
the specified argument
x. |
| ClAdd.Pattern | |
| ClMul | The turtle command
ClMul(x)
sets TurtleState.localCarbon to
the product of the field TurtleState.carbon and
the specified argument
x. |
| ClMul.Pattern | |
| CMul | The turtle command
CMul(x)
multiplies TurtleState.carbon by
the specified argument
x. |
| CMul.Pattern | |
| D | The turtle command
D(x)
sets TurtleState.diameter to
the specified argument
x. |
| D.Pattern | |
| D0 | The turtle command
D0
resets TurtleState.diameter to its initial value
(as defined in TurtleState.initialState). |
| DAdd | The turtle command
DAdd(x)
increments TurtleState.diameter by
the specified argument
x. |
| DAdd.Pattern | |
| Dl | The turtle command
Dl(x)
sets TurtleState.localDiameter to
the specified argument
x. |
| Dl.Pattern | |
| DlAdd | The turtle command
DlAdd(x)
sets TurtleState.localDiameter to
the sum of TurtleState.diameter and
the specified argument
x. |
| DlAdd.Pattern | |
| DlMul | The turtle command
DlMul(x)
sets TurtleState.localDiameter to
the product of the field TurtleState.diameter and
the specified argument
x. |
| DlMul.Pattern | |
| DMul | The turtle command
DMul(x)
multiplies TurtleState.diameter by
the specified argument
x. |
| DMul.Pattern | |
| F | The turtle command
F(x)
represents a cylinder along the local z-direction. |
| F.Pattern | |
| F0 | The turtle command
F0
represents a cylinder along the local z-direction. |
| FAdd | The turtle command
FAdd(x)
represents a cylinder along the local z-direction. |
| FAdd.Pattern | |
| FMul | The turtle command
FMul(x)
represents a cylinder along the local z-direction. |
| FMul.Pattern | |
| GD | The turtle command
GD(x)
sets TurtleState.generativeDistance to
the specified argument
x. |
| GD.Pattern | |
| GRotation | |
| H | The turtle command
H(x)
sets TurtleState.heartwood to
the specified argument
x. |
| H.Pattern | |
| H0 | The turtle command
H0
resets TurtleState.heartwood to its initial value
(as defined in TurtleState.initialState). |
| HAdd | The turtle command
HAdd(x)
increments TurtleState.heartwood by
the specified argument
x. |
| HAdd.Pattern | |
| HDir | Set the local z-axis (the turtle's head axis) so that it encompasses the given angle to the world's up axis. |
| HDir.Pattern | |
| Hl | The turtle command
Hl(x)
sets TurtleState.localHeartwood to
the specified argument
x. |
| Hl.Pattern | |
| HlAdd | The turtle command
HlAdd(x)
sets TurtleState.localHeartwood to
the sum of TurtleState.heartwood and
the specified argument
x. |
| HlAdd.Pattern | |
| HlMul | The turtle command
HlMul(x)
sets TurtleState.localHeartwood to
the product of the field TurtleState.heartwood and
the specified argument
x. |
| HlMul.Pattern | |
| HMul | The turtle command
HMul(x)
multiplies TurtleState.heartwood by
the specified argument
x. |
| HMul.Pattern | |
| IncScale | |
| InvokeMethod | |
| InvokeMethod.Pattern | |
| K | |
| KAssignment | |
| KL | |
| L | The turtle command
L(x)
sets TurtleState.length to
the specified argument
x. |
| L.Pattern | |
| L0 | The turtle command
L0
resets TurtleState.length to its initial value
(as defined in TurtleState.initialState). |
| LAdd | The turtle command
LAdd(x)
increments TurtleState.length by
the specified argument
x. |
| LAdd.Pattern | |
| Ll | The turtle command
Ll(x)
sets TurtleState.localLength to
the specified argument
x. |
| Ll.Pattern | |
| LlAdd | The turtle command
LlAdd(x)
sets TurtleState.localLength to
the sum of TurtleState.length and
the specified argument
x. |
| LlAdd.Pattern | |
| LlMul | The turtle command
LlMul(x)
sets TurtleState.localLength to
the product of the field TurtleState.length and
the specified argument
x. |
| LlMul.Pattern | |
| LMul | The turtle command
LMul(x)
multiplies TurtleState.length by
the specified argument
x. |
| LMul.Pattern | |
| M | The turtle command
M(x)
represents a movement along the local z-direction. |
| M.Pattern | |
| M0 | The turtle command
M0
represents a movement along the local z-direction. |
| MAdd | The turtle command
MAdd(x)
represents a movement along the local z-direction. |
| MAdd.Pattern | |
| Minus | This class implements a rotation about the local y-axis. |
| MMul | The turtle command
MMul(x)
represents a movement along the local z-direction. |
| MMul.Pattern | |
| Move | |
| MRel | The turtle command
MRel(x)
represents a movement along the local z-direction. |
| MRel.Pattern | |
| N | The turtle command
N(x)
sets TurtleState.parameter to
the specified argument
x. |
| N.Pattern | |
| N0 | The turtle command
N0
resets TurtleState.parameter to its initial value
(as defined in TurtleState.initialState). |
| NAdd | The turtle command
NAdd(x)
increments TurtleState.parameter by
the specified argument
x. |
| NAdd.Pattern | |
| Nl | The turtle command
Nl(x)
sets TurtleState.localParameter to
the specified argument
x. |
| Nl.Pattern | |
| NlAdd | The turtle command
NlAdd(x)
sets TurtleState.localParameter to
the sum of TurtleState.parameter and
the specified argument
x. |
| NlAdd.Pattern | |
| NlMul | The turtle command
NlMul(x)
sets TurtleState.localParameter to
the product of the field TurtleState.parameter and
the specified argument
x. |
| NlMul.Pattern | |
| NMul | The turtle command
NMul(x)
multiplies TurtleState.parameter by
the specified argument
x. |
| NMul.Pattern | |
| OR | The turtle command
OR(x)
sets TurtleState.order to
the specified argument
x. |
| OR.Pattern | |
| P | The turtle command
P(x)
sets TurtleState.color to
the specified argument
x. |
| P.Pattern | |
| P0 | The turtle command
P0
resets TurtleState.color to its initial value
(as defined in TurtleState.initialState). |
| Pl | The turtle command
Pl(x)
sets TurtleState.localColor to
the specified argument
x. |
| Pl.Pattern | |
| Plus | This class implements a rotation about the local y-axis. |
| RD | An RD(x,s) node represents a rotation which
implements
a directional tropism towards the direction
x. |
| RD.Pattern | |
| RG | The turtle command RG(x)
represents a rotation which implements maximal gravitropism. |
| RH | This class implements a rotation about the local z-axis (the turtle's head axis). |
| RH.Pattern | |
| RL | This class implements a rotation about the local x-axis (the turtle's left axis). |
| RL.Pattern | |
| RN | An RN(x,s) node represents a rotation which
implements
a positional tropism towards the
location of node
x. |
| RN.Pattern | |
| RO | An RO(x,s) node represents a rotation which
implements
an orthogonal tropism which moves away from a given direction
x. |
| RO.Pattern | |
| Rotate | A Rotate node rotates the local coordinate system
by Rotate.rotateX degrees about the local x-axis, then
by Rotate.rotateY degrees about the local y-axis, then
by Rotate.rotateZ degrees about the local z-axis. |
| Rotate.Pattern | |
| Rotation | This class is the base class for rotations about one of the coordinate axes. |
| RP | An RP(x,s) node represents a rotation which
implements
a positional tropism towards the point
x. |
| RP.Pattern | |
| RU | This class implements a rotation about the local y-axis (the turtle's up axis). |
| RU.Pattern | |
| RV | The turtle command
RV(x)
represents a rotation which implements gravitropism. |
| RV.Pattern | |
| RV0 | The turtle command
RV0
represents a rotation which implements gravitropism. |
| RVAdd | The turtle command
RVAdd(x)
represents a rotation which implements gravitropism. |
| RVAdd.Pattern | |
| RVMul | The turtle command
RVMul(x)
represents a rotation which implements gravitropism. |
| RVMul.Pattern | |
| Scale | A Scale node scales the local coordinate system
using the scaling factors Scale.scaleX,
Scale.scaleY and Scale.scaleZ. |
| Scale.Pattern | |
| Scale.XPattern | |
| Shoot | |
| Translate | A Translate node translates the local coordinate system
using the translation distances Translate.translateX,
Translate.translateY and Translate.translateZ. |
| Translate.Pattern | |
| Tropism | |
| TurtleState | |
| TurtleState.Type | |
| TurtleStateAttribute | |
| TurtleStep | |
| U | The turtle command
U(x)
sets TurtleState.internodeCount to
the specified argument
x. |
| U.Pattern | |
| U0 | The turtle command
U0
resets TurtleState.internodeCount to its initial value
(as defined in TurtleState.initialState). |
| UAdd | The turtle command
UAdd(x)
increments TurtleState.internodeCount by
the specified argument
x. |
| UAdd.Pattern | |
| Ul | The turtle command
Ul(x)
sets TurtleState.localInternodeCount to
the specified argument
x. |
| Ul.Pattern | |
| UlAdd | The turtle command
UlAdd(x)
sets TurtleState.localInternodeCount to
the sum of TurtleState.internodeCount and
the specified argument
x. |
| UlAdd.Pattern | |
| UlMul | The turtle command
UlMul(x)
sets TurtleState.localInternodeCount to
the product of the field TurtleState.internodeCount and
the specified argument
x. |
| UlMul.Pattern | |
| UMul | The turtle command
UMul(x)
multiplies TurtleState.internodeCount by
the specified argument
x. |
| UMul.Pattern | |
| URotation | This class implements a rotation about the local y-axis (the turtle's up axis). |
| V | The turtle command
V(x)
sets TurtleState.tropism to
the specified argument
x. |
| V.Pattern | |
| V0 | The turtle command
V0
resets TurtleState.tropism to its initial value
(as defined in TurtleState.initialState). |
| VAdd | The turtle command
VAdd(x)
increments TurtleState.tropism by
the specified argument
x. |
| VAdd.Pattern | |
| Vl | The turtle command
Vl(x)
sets TurtleState.localTropism to
the specified argument
x. |
| Vl.Pattern | |
| VlAdd | The turtle command
VlAdd(x)
sets TurtleState.localTropism to
the sum of TurtleState.tropism and
the specified argument
x. |
| VlAdd.Pattern | |
| VlMul | The turtle command
VlMul(x)
sets TurtleState.localTropism to
the product of the field TurtleState.tropism and
the specified argument
x. |
| VlMul.Pattern | |
| VMul | The turtle command
VMul(x)
multiplies TurtleState.tropism by
the specified argument
x. |
| VMul.Pattern | |
The package de.grogra.turtle contains a set of turtle commands
which can be used in the context of RGG modelling within the GroIMP software.
Most of the turtle commands of the GROGRA software are supported.
|
||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||