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.Type
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
Fields inherited from class de.grogra.math.Sweep
useRail$FIELD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines whether this object actually depends on context.protected Object[]
getCache
(GraphState state) getName()
int
getPath()
float
protected BSplineCurve
init
(Int2ObjectMap profiles, GraphState gs) boolean
void
setHermite
(boolean value) void
void
setPath
(int value) void
setTangentLength
(float value) void
writeStamp
(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, initCache
Methods inherited from class de.grogra.math.Sweep
areCurvesCompatible, calculateLocalX, computeTrajectory, getCacheImpl, getDimension, getSize, getVertex, initLocalX, isRational, setUseRail
Methods 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:ContextDependent
Determines whether this object actually depends on context.- 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
-
init
- Specified by:
init
in classExtendedSweep
-
getCache
-