java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.math.Sweep
de.grogra.math.ExtendedSweep
de.grogra.imp3d.objects.SweepSequence
- All Implemented Interfaces:
ContextDependent,BSplineCurveList,Manageable,Shareable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SweepSequence.Typestatic final SCOType.Fieldstatic final SCOType.Fieldstatic final SCOType.Fieldstatic final SCOType.FieldFields inherited from class de.grogra.math.Sweep
useRail$FIELD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether this object actually depends on context.protected Object[]getCache(GraphState state) getName()intgetPath()floatprotected BSplineCurveinit(Int2ObjectMap profiles, GraphState gs) booleanvoidsetHermite(boolean value) voidvoidsetPath(int value) voidsetTangentLength(float value) voidwriteStamp(Cache.Entry cache, GraphState gs) Writes a stamp of the context intocache.Methods inherited from class de.grogra.math.ExtendedSweep
getDegree, getKnot, getSize, getTrajectory, getVertexImpl, initCacheMethods inherited from class de.grogra.math.Sweep
areCurvesCompatible, calculateLocalX, computeTrajectory, getCacheImpl, getDimension, getSize, getVertex, initLocalX, isRational, setUseRailMethods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
-
Field Details
-
$TYPE
-
name$FIELD
-
hermite$FIELD
-
tangentLength$FIELD
-
path$FIELD
-
-
Constructor Details
-
SweepSequence
public SweepSequence() -
SweepSequence
-
SweepSequence
-
-
Method Details
-
getManageableType
-
isHermite
public boolean isHermite() -
setHermite
public void setHermite(boolean value) -
getPath
public int getPath() -
setPath
public void setPath(int value) -
getTangentLength
public float getTangentLength() -
setTangentLength
public void setTangentLength(float value) -
getName
-
setName
-
dependsOnContext
public boolean dependsOnContext()Description copied from interface:ContextDependentDetermines whether this object actually depends on context.- 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
-
init
- Specified by:
initin classExtendedSweep
-
getCache
-