|
||||||||
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.imp3d.objects.Null de.grogra.imp3d.objects.ShadedNull de.grogra.imp3d.objects.AxisBase de.grogra.turtle.TurtleStep de.grogra.turtle.M
public class M
The turtle command
M(x)
represents a movement along the local z-direction. The length of the movement is
defined by length
.
This corresponds to the turtle command f(x)
of the GROGRA software.
Nested Class Summary | |
---|---|
static class |
M.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 |
length
|
static Node.NType.Field |
length$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 | |
---|---|
M()
|
|
M(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
public float length
public static final Node.NType.Field length$FIELD
Constructor Detail |
---|
public M()
public M(float argument)
Method Detail |
---|
public void execute(java.lang.Object node, TurtleState state, GraphState gs)
execute
in interface TurtleModifier
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 |