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 | Description |
|---|---|
| TurtleModifier |
| Class | Description |
|---|---|
| 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 | |
| C.Pattern | |
| C0 |
The turtle command
C0
resets TurtleState.carbon to its initial value
(as defined in TurtleState.initialState). |
| CAdd | |
| CAdd.Pattern | |
| Cl | |
| 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 | |
| CMul.Pattern | |
| D | |
| D.Pattern | |
| D0 |
The turtle command
D0
resets TurtleState.diameter to its initial value
(as defined in TurtleState.initialState). |
| DAdd | |
| DAdd.Pattern | |
| Dl | |
| 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 | |
| DMul.Pattern | |
| F |
The turtle command
F(x)
represents a cylinder along the local z-direction. |
| F.Pattern | |
| F.Pattern2 | |
| F.Pattern3 | |
| 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 | |
| GD.Pattern | |
| GRotation | |
| H | |
| H.Pattern | |
| H0 |
The turtle command
H0
resets TurtleState.heartwood to its initial value
(as defined in TurtleState.initialState). |
| HAdd | |
| 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 | |
| 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 | |
| HMul.Pattern | |
| IncScale | |
| InvokeMethod | |
| InvokeMethod.Pattern | |
| K | |
| KAssignment | |
| KL | |
| L | |
| L.Pattern | |
| L0 |
The turtle command
L0
resets TurtleState.length to its initial value
(as defined in TurtleState.initialState). |
| LAdd | |
| LAdd.Pattern | |
| Ll | |
| 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 | |
| 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 | |
| N.Pattern | |
| N0 |
The turtle command
N0
resets TurtleState.parameter to its initial value
(as defined in TurtleState.initialState). |
| NAdd | |
| NAdd.Pattern | |
| Nl | |
| 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 | |
| NMul.Pattern | |
| OR | |
| OR.Pattern | |
| P | |
| P.Pattern | |
| P0 |
The turtle command
P0
resets TurtleState.color to its initial value
(as defined in TurtleState.initialState). |
| Pl | |
| 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 | |
| U.Pattern | |
| U0 |
The turtle command
U0
resets TurtleState.internodeCount to its initial value
(as defined in TurtleState.initialState). |
| UAdd | |
| UAdd.Pattern | |
| Ul | |
| 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 | |
| UMul.Pattern | |
| URotation |
This class implements a rotation about the local
y-axis (the turtle's up axis).
|
| V | |
| V.Pattern | |
| V0 |
The turtle command
V0
resets TurtleState.tropism to its initial value
(as defined in TurtleState.initialState). |
| VAdd | |
| VAdd.Pattern | |
| Vl | |
| 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 | |
| VMul.Pattern |
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.