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.Typestatic 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.intgetDegree(int curve, GraphState gs) floatgetKnot(int curve, int index, GraphState gs) intgetSize(int curve, GraphState gs) protected BSplineCurveprotected intgetVertexImpl(float[] out, int curve, int index, Object[] cache, GraphState gs) protected Object[]initCache(GraphState gs) voidsetProfile(BSplineCurve value) voidsetTrajectory(BSplineCurve value) voidwriteStamp(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, setUseRailMethods 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: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
-
getTrajectory
- Specified by:
getTrajectoryin classSweep
-
initCache
-
getVertexImpl
- Specified by:
getVertexImplin classSweep
-
getKnot
-
getSize
-
getDegree
-