java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.imp3d.objects.Sequence
de.grogra.imp3d.objects.CurveSequence
- All Implemented Interfaces:
ContextDependent,BSplineCurveList,Manageable,Shareable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields 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 TypeMethodDescriptionbooleanprotected ObjectcalculateCache(Matrix4d inv, ArrayList list, GraphState gs, Object info) booleanDetermines whether this object actually depends on context.intgetDegree(int curve, GraphState gs) intgetDimension(int curve, GraphState gs) floatgetKnot(int curve, int index, GraphState gs) intgetSize(int curve, GraphState gs) intgetSize(GraphState gs) intgetVertex(float[] out, int curve, int index, GraphState gs) booleanisRational(int curve, GraphState gs) protected voidvisitNode(Object node, Object shape, ArrayList list, GraphState gs) voidwriteStamp(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, setPathMethods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
-
Field Details
-
$TYPE
-
-
Constructor Details
-
CurveSequence
public CurveSequence() -
CurveSequence
-
-
Method Details
-
getManageableType
- Specified by:
getManageableTypein interfaceManageable
-
dependsOnContext
public boolean dependsOnContext()Description copied from interface:ContextDependentDetermines whether this object actually depends on context.- Specified by:
dependsOnContextin interfaceContextDependent- Returns:
trueiff this object depends on context
-
writeStamp
Description copied from interface:ContextDependentWrites 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:
writeStampin interfaceContextDependent- Overrides:
writeStampin classContextDependentBase- Parameters:
cache- a cache entry to write the stampgs- the current graph state
-
visitNode
-
calculateCache
- Specified by:
calculateCachein classSequence
-
getSize
- Specified by:
getSizein interfaceBSplineCurveList
-
getVertex
- Specified by:
getVertexin interfaceBSplineCurveList
-
getKnot
- Specified by:
getKnotin interfaceBSplineCurveList
-
getSize
- Specified by:
getSizein interfaceBSplineCurveList
-
getDimension
- Specified by:
getDimensionin interfaceBSplineCurveList
-
getDegree
- Specified by:
getDegreein interfaceBSplineCurveList
-
isRational
- Specified by:
isRationalin interfaceBSplineCurveList
-
areCurvesCompatible
- Specified by:
areCurvesCompatiblein interfaceBSplineCurveList
-