java.lang.Object
de.grogra.turtle.TurtleState
- All Implemented Interfaces:
Manageable
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TurtleState.Type
float
static final SCOType.Field
int
static final NodeToInt
static final SCOType.Field
static final TurtleState
float
static final NodeToFloat
static final SCOType.Field
static final NodeToInt
int
float
static final SCOType.Field
int
static final SCOType.Field
float
static final NodeToFloat
static final SCOType.Field
float
int
float
float
int
float
float
int
float
int
static final NodeToInt
float
static final NodeToFloat
static final SCOType.Field
float
float
static final SCOType.Field
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
static float
void
fieldModified
(PersistenceField field, int[] indices, Transaction t) static int
generativeDistance
(Node node) static TurtleState
getAfter
(Object node, GraphState gs) static TurtleState
getBefore
(Object node, GraphState gs) int
getStamp()
Returns a stamp for this object.void
inherit
(TurtleState state) static float
static int
static float
static float
relPosition
(Node node) static Shader
static float
-
Field Details
-
DEFAULT_TURTLE_STATE
-
LENGTH
-
DIAMETER
-
PARAMETER
-
COLOR
-
ORDER
-
GENERATIVE_DISTANCE
-
color
public int color -
localColor
public int localColor -
order
public int order -
generativeDistance
public int generativeDistance -
length
public float length -
localLength
public float localLength -
diameter
public float diameter -
localDiameter
public float localDiameter -
tropism
public float tropism -
localTropism
public float localTropism -
parameter
public float parameter -
localParameter
public float localParameter -
carbon
public float carbon -
localCarbon
public float localCarbon -
relPosition
public float relPosition -
heartwood
public float heartwood -
localHeartwood
public float localHeartwood -
internodeCount
public int internodeCount -
localInternodeCount
public int localInternodeCount -
localScale
public int localScale -
shader
-
localShader
-
initialState
-
$TYPE
-
color$FIELD
-
length$FIELD
-
diameter$FIELD
-
tropism$FIELD
-
parameter$FIELD
-
carbon$FIELD
-
heartwood$FIELD
-
internodeCount$FIELD
-
-
Constructor Details
-
TurtleState
public TurtleState()
-
-
Method Details
-
getBefore
-
getAfter
-
length
-
diameter
-
parameter
-
tropism
-
relPosition
-
color
-
shader
-
order
-
generativeDistance
-
inherit
-
fieldModified
- Specified by:
fieldModified
in interfaceManageable
-
getStamp
public int getStamp()Description copied from interface:Manageable
Returns a stamp for this object. Each modification to this object increments the stamp. The initial stamp is non-negative.- Specified by:
getStamp
in interfaceManageable
- Returns:
- a stamp
-
manageableReadResolve
- Specified by:
manageableReadResolve
in interfaceManageable
-
manageableWriteReplace
- Specified by:
manageableWriteReplace
in interfaceManageable
-
getManageableType
- Specified by:
getManageableType
in interfaceManageable
-