Module rgg
Package de.grogra.turtle
-
Interface Summary Interface Description TurtleModifier -
Class Summary Class Description AdjustLU The turtle commandAdjustLU
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 commandC0
resetsTurtleState.carbon
to its initial value (as defined inTurtleState.initialState
).CAdd CAdd.Pattern Cl Cl.Pattern ClAdd The turtle commandClAdd(x)
setsTurtleState.localCarbon
to the sum ofTurtleState.carbon
and the specifiedargument
x
.ClAdd.Pattern ClMul The turtle commandClMul(x)
setsTurtleState.localCarbon
to the product of the fieldTurtleState.carbon
and the specifiedargument
x
.ClMul.Pattern CMul CMul.Pattern D D.Pattern D0 The turtle commandD0
resetsTurtleState.diameter
to its initial value (as defined inTurtleState.initialState
).DAdd DAdd.Pattern Dl Dl.Pattern DlAdd The turtle commandDlAdd(x)
setsTurtleState.localDiameter
to the sum ofTurtleState.diameter
and the specifiedargument
x
.DlAdd.Pattern DlMul The turtle commandDlMul(x)
setsTurtleState.localDiameter
to the product of the fieldTurtleState.diameter
and the specifiedargument
x
.DlMul.Pattern DMul DMul.Pattern F The turtle commandF(x)
represents a cylinder along the local z-direction.F.Pattern F.Pattern2 F.Pattern3 F0 The turtle commandF0
represents a cylinder along the local z-direction.FAdd The turtle commandFAdd(x)
represents a cylinder along the local z-direction.FAdd.Pattern FMul The turtle commandFMul(x)
represents a cylinder along the local z-direction.FMul.Pattern GD GD.Pattern GRotation H H.Pattern H0 The turtle commandH0
resetsTurtleState.heartwood
to its initial value (as defined inTurtleState.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 commandHlAdd(x)
setsTurtleState.localHeartwood
to the sum ofTurtleState.heartwood
and the specifiedargument
x
.HlAdd.Pattern HlMul The turtle commandHlMul(x)
setsTurtleState.localHeartwood
to the product of the fieldTurtleState.heartwood
and the specifiedargument
x
.HlMul.Pattern HMul HMul.Pattern IncScale InvokeMethod InvokeMethod.Pattern K KAssignment KL L L.Pattern L0 The turtle commandL0
resetsTurtleState.length
to its initial value (as defined inTurtleState.initialState
).LAdd LAdd.Pattern Ll Ll.Pattern LlAdd The turtle commandLlAdd(x)
setsTurtleState.localLength
to the sum ofTurtleState.length
and the specifiedargument
x
.LlAdd.Pattern LlMul The turtle commandLlMul(x)
setsTurtleState.localLength
to the product of the fieldTurtleState.length
and the specifiedargument
x
.LlMul.Pattern LMul LMul.Pattern M The turtle commandM(x)
represents a movement along the local z-direction.M.Pattern M0 The turtle commandM0
represents a movement along the local z-direction.MAdd The turtle commandMAdd(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 commandMMul(x)
represents a movement along the local z-direction.MMul.Pattern Move MRel The turtle commandMRel(x)
represents a movement along the local z-direction.MRel.Pattern N N.Pattern N0 The turtle commandN0
resetsTurtleState.parameter
to its initial value (as defined inTurtleState.initialState
).NAdd NAdd.Pattern Nl Nl.Pattern NlAdd The turtle commandNlAdd(x)
setsTurtleState.localParameter
to the sum ofTurtleState.parameter
and the specifiedargument
x
.NlAdd.Pattern NlMul The turtle commandNlMul(x)
setsTurtleState.localParameter
to the product of the fieldTurtleState.parameter
and the specifiedargument
x
.NlMul.Pattern NMul NMul.Pattern OR OR.Pattern P P.Pattern P0 The turtle commandP0
resetsTurtleState.color
to its initial value (as defined inTurtleState.initialState
).Pl Pl.Pattern Plus This class implements a rotation about the local y-axis.RD AnRD(x,s)
node represents a rotation which implements a directional tropism towards the directionx
.RD.Pattern RG The turtle commandRG(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 AnRN(x,s)
node represents a rotation which implements a positional tropism towards thelocation
of nodex
.RN.Pattern RO AnRO(x,s)
node represents a rotation which implements an orthogonal tropism which moves away from a given directionx
.RO.Pattern Rotate ARotate
node rotates the local coordinate system byRotate.rotateX
degrees about the local x-axis, then byRotate.rotateY
degrees about the local y-axis, then byRotate.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 AnRP(x,s)
node represents a rotation which implements a positional tropism towards the pointx
.RP.Pattern RU This class implements a rotation about the local y-axis (the turtle's up axis).RU.Pattern RV The turtle commandRV(x)
represents a rotation which implements gravitropism.RV.Pattern RV0 The turtle commandRV0
represents a rotation which implements gravitropism.RVAdd The turtle commandRVAdd(x)
represents a rotation which implements gravitropism.RVAdd.Pattern RVMul The turtle commandRVMul(x)
represents a rotation which implements gravitropism.RVMul.Pattern Scale AScale
node scales the local coordinate system using the scaling factorsScale.scaleX
,Scale.scaleY
andScale.scaleZ
.Scale.Pattern Scale.XPattern Shoot Translate ATranslate
node translates the local coordinate system using the translation distancesTranslate.translateX
,Translate.translateY
andTranslate.translateZ
.Translate.Pattern Tropism TurtleState TurtleState.Type TurtleStateAttribute TurtleStep U U.Pattern U0 The turtle commandU0
resetsTurtleState.internodeCount
to its initial value (as defined inTurtleState.initialState
).UAdd UAdd.Pattern Ul Ul.Pattern UlAdd The turtle commandUlAdd(x)
setsTurtleState.localInternodeCount
to the sum ofTurtleState.internodeCount
and the specifiedargument
x
.UlAdd.Pattern UlMul The turtle commandUlMul(x)
setsTurtleState.localInternodeCount
to the product of the fieldTurtleState.internodeCount
and the specifiedargument
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 commandV0
resetsTurtleState.tropism
to its initial value (as defined inTurtleState.initialState
).VAdd VAdd.Pattern Vl Vl.Pattern VlAdd The turtle commandVlAdd(x)
setsTurtleState.localTropism
to the sum ofTurtleState.tropism
and the specifiedargument
x
.VlAdd.Pattern VlMul The turtle commandVlMul(x)
setsTurtleState.localTropism
to the product of the fieldTurtleState.tropism
and the specifiedargument
x
.VlMul.Pattern VMul VMul.Pattern