java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.imp3d.objects.Sequence
de.grogra.imp3d.objects.VertexSequence
- All Implemented Interfaces:
ContextDependent
,BSplineCurve
,KnotVector
,VertexList
,VertexSet
,Manageable
,Shareable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VertexSequence.Type
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
Fields inherited from class de.grogra.imp3d.objects.Sequence
DOWNWARD, DOWNWARD_AXIS, name$FIELD, PATH_TYPE, path$FIELD, UPWARD_AXIS, UPWARD_BRANCH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
calculateCache
(Matrix4d inv, ArrayList list, GraphState gs, Object info) boolean
Determines whether this object actually depends on context.int
getDegree
(GraphState gs) int
float
getKnot
(int dim, int index, GraphState gs) int
getSize
(GraphState gs) float
int
getVertex
(float[] out, int index, GraphState gs) boolean
boolean
boolean
isRational
(GraphState gs) void
setHermite
(boolean value) void
setPeriodic
(boolean value) void
setTangentLength
(float value) protected void
visitNode
(Object node, Object shape, ArrayList list, GraphState gs) void
writeStamp
(Cache.Entry cache, GraphState gs) Writes a stamp of the context intocache
.Methods inherited from class de.grogra.imp3d.objects.Sequence
calculateCache, getCache, getName, getPath, setName, setPath
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
-
Field Details
-
$TYPE
-
hermite$FIELD
-
tangentLength$FIELD
-
periodic$FIELD
-
-
Constructor Details
-
VertexSequence
public VertexSequence() -
VertexSequence
-
-
Method Details
-
dependsOnContext
public boolean dependsOnContext()Description copied from interface:ContextDependent
Determines whether this object actually depends on context.- Specified by:
dependsOnContext
in interfaceContextDependent
- Returns:
true
iff this object depends on context
-
writeStamp
Description copied from interface:ContextDependent
Writes a stamp of the context intocache
. Based on this stamp, a cache detects whether the context of this object has changed or not.- Specified by:
writeStamp
in interfaceContextDependent
- Overrides:
writeStamp
in classContextDependentBase
- Parameters:
cache
- a cache entry to write the stampgs
- the current graph state
-
getSize
- Specified by:
getSize
in interfaceVertexList
-
getDegree
- Specified by:
getDegree
in interfaceBSplineCurve
-
visitNode
-
calculateCache
- Specified by:
calculateCache
in classSequence
-
getDimension
- Specified by:
getDimension
in interfaceVertexSet
-
isRational
- Specified by:
isRational
in interfaceVertexSet
-
getKnot
- Specified by:
getKnot
in interfaceKnotVector
-
getVertex
-
getManageableType
- Specified by:
getManageableType
in interfaceManageable
-
isHermite
public boolean isHermite() -
setHermite
public void setHermite(boolean value) -
isPeriodic
public boolean isPeriodic() -
setPeriodic
public void setPeriodic(boolean value) -
getTangentLength
public float getTangentLength() -
setTangentLength
public void setTangentLength(float value)
-