|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.grogra.graph.impl.Edge
de.grogra.graph.impl.Node
de.grogra.imp3d.objects.Null
de.grogra.imp3d.objects.ShadedNull
de.grogra.imp3d.objects.AxisBase
de.grogra.turtle.TurtleStep
de.grogra.turtle.Move
de.grogra.turtle.MRel
public class MRel
The turtle command
MRel(x)
represents a movement along the local z-direction. The length of the movement is
the length
of the current TurtleState
multiplied by the specified argument
minus one.
This corresponds to the turtle command @(x)
of the GROGRA software.
Nested Class Summary | |
---|---|
static class |
MRel.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
|
Fields inherited from class de.grogra.turtle.Move |
---|
argument, argument$FIELD |
Fields inherited from class de.grogra.imp3d.objects.AxisBase |
---|
SCALE_V_MASK, scaleV$FIELD, USED_BITS |
Fields inherited from class de.grogra.imp3d.objects.ShadedNull |
---|
INFINITE_MASK, interior, interior$FIELD, shader, shader$FIELD, treatedAsInfinite$FIELD |
Fields inherited from class de.grogra.imp3d.objects.Null |
---|
transform, transform$FIELD, TRANSFORMING_MASK, transforming$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 |
Fields inherited from interface de.grogra.util.Map |
---|
DEFAULT_VALUE, EMPTY_MAP |
Constructor Summary | |
---|---|
MRel()
|
|
MRel(float argument)
|
Method Summary | |
---|---|
void |
execute(java.lang.Object node,
TurtleState state,
GraphState gs)
|
float |
getLength(java.lang.Object node,
GraphState gs)
|
protected Node.NType |
getNTypeImpl()
This method returns the Node.NType which describes the managed
fields of the class of this node. |
protected Node |
newInstance()
This method returns a new instance of the class of this node. |
Methods inherited from class de.grogra.turtle.TurtleStep |
---|
getDouble, postTransform |
Methods inherited from class de.grogra.imp3d.objects.AxisBase |
---|
isScaleV, setScaleV |
Methods inherited from class de.grogra.imp3d.objects.ShadedNull |
---|
getInterior, getShader, getSymbolColor, isTreatedAsInfinite, setBackShader, setColor, setColor, setFrontShader, setInterior, setMaterial, setShader, setShaders, setTreatedAsInfinite |
Methods inherited from class de.grogra.imp3d.objects.Null |
---|
getLocalTransformation, getTransform, getTranslation, isTransforming, preTransform, setRotation, setScale, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransform, setTransforming, setTranslation |
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
Constructor Detail |
---|
public MRel()
public MRel(float argument)
Method Detail |
---|
public void execute(java.lang.Object node, TurtleState state, GraphState gs)
public float getLength(java.lang.Object node, GraphState gs)
getLength
in class TurtleStep
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 ShadedNull
protected Node newInstance()
Node
newInstance
in class ShadedNull
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |