java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.math.Sweep
de.grogra.math.ProfileSweep
- All Implemented Interfaces:
ContextDependent
,BSplineCurveList
,Manageable
,Shareable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProfileSweep.Type
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.int
getDegree
(int curve, GraphState gs) float
getKnot
(int curve, int index, GraphState gs) int
getSize
(int curve, GraphState gs) protected BSplineCurve
protected int
getVertexImpl
(float[] out, int curve, int index, Object[] cache, GraphState gs) protected Object[]
initCache
(GraphState gs) void
setProfile
(BSplineCurve value) void
setTrajectory
(BSplineCurve value) void
writeStamp
(Cache.Entry cache, GraphState gs) Writes a stamp of the context intocache
.Methods inherited from class de.grogra.math.Sweep
areCurvesCompatible, calculateLocalX, computeTrajectory, getCache, 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
-
profile$FIELD
-
trajectory$FIELD
-
-
Constructor Details
-
ProfileSweep
public ProfileSweep() -
ProfileSweep
-
-
Method Details
-
getManageableType
-
getProfile
-
setProfile
-
getTrajectory
-
setTrajectory
-
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
-
getTrajectory
- Specified by:
getTrajectory
in classSweep
-
initCache
-
getVertexImpl
- Specified by:
getVertexImpl
in classSweep
-
getKnot
-
getSize
-
getDegree
-