|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.graph.impl.Edge de.grogra.graph.impl.Node de.grogra.turtle.Tropism de.grogra.turtle.GRotation de.grogra.turtle.RV
public class RV
The turtle command
RV(x)
represents a rotation which implements gravitropism. Its strength is
given by the specified argument
.
This corresponds to the turtle command RV(x)
of the GROGRA software.
Nested Class Summary | |
---|---|
static class |
RV.Pattern
|
Nested classes/interfaces inherited from class de.grogra.graph.impl.Node |
---|
Node.AccessorBridge, Node.FieldAttributeAccessor, Node.NType |
Nested classes/interfaces inherited from interface de.grogra.util.Map |
---|
Map.Chain |
Field Summary | |
---|---|
static Node.NType |
$TYPE
|
float |
argument
|
static Node.NType.Field |
argument$FIELD
|
Fields inherited from class de.grogra.turtle.Tropism |
---|
strength, strength$FIELD |
Fields inherited from class de.grogra.graph.impl.Node |
---|
ADDITIONAL_FIELDS, bits, DELETED, EXTENT_BIT, EXTENT_MASK, extentIndex$FIELD, extentTail$FIELD, HAS_OBSERVERS, IS_INTERPRETIVE, isInterpretive$FIELD, LAST_EXTENT_INDEX, layer$FIELD, MARK, mark$FIELD, MIME_TYPE, MIN_UNUSED_SPECIAL_OF_SOURCE, MIN_UNUSED_SPECIAL_OF_TARGET, name$FIELD, USED_BITS |
Fields inherited from interface de.grogra.util.Map |
---|
DEFAULT_VALUE, EMPTY_MAP |
Constructor Summary | |
---|---|
RV()
|
|
RV(float argument)
|
Method Summary | |
---|---|
void |
execute(java.lang.Object node,
TurtleState state,
GraphState gs)
|
protected Node.NType |
getNTypeImpl()
This method returns the Node.NType which describes the managed
fields of the class of this node. |
float |
getTropismStrength(java.lang.Object node,
GraphState gs)
|
protected Node |
newInstance()
This method returns a new instance of the class of this node. |
Methods inherited from class de.grogra.turtle.GRotation |
---|
postTransform, preTransform |
Methods inherited from class de.grogra.graph.impl.Edge |
---|
addEdgeBits, getBitMark, getEdgeBits, getObjectMark, getSpecialEdgeDescriptor, parseEdgeKeys, remove, removeEdgeBits, setBitMark, setEdgeBits, setObjectMark, testEdgeBits |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.grogra.persistence.PersistenceCapable |
---|
getBitMark, getObjectMark, setBitMark, setObjectMark |
Field Detail |
---|
public static final Node.NType $TYPE
public float argument
public static final Node.NType.Field argument$FIELD
Constructor Detail |
---|
public RV()
public RV(float argument)
Method Detail |
---|
public void execute(java.lang.Object node, TurtleState state, GraphState gs)
execute
in interface TurtleModifier
protected Node.NType getNTypeImpl()
Node
Node.NType
which describes the managed
fields of the class of this node. This method has to be implemented
in every concrete subclass.
getNTypeImpl
in class Node
public float getTropismStrength(java.lang.Object node, GraphState gs)
getTropismStrength
in class GRotation
protected Node newInstance()
Node
newInstance
in class Node
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |