java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.math.IsoCurve
- All Implemented Interfaces:
ContextDependent
,BSplineCurve
,KnotVector
,VertexList
,VertexSet
,Manageable
,Shareable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IsoCurve.Type
static final SCOType.Field
static final SCOType.Field
static final SCOType.Field
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines whether this object actually depends on context.int
getDegree
(GraphState gs) int
float
getKnot
(int dim, int index, GraphState gs) float
int
getSize
(GraphState gs) int
getVertex
(float[] out, int index, GraphState gs) boolean
boolean
isRational
(GraphState gs) void
setDirection
(boolean value) void
setParameter
(float value) void
setSurface
(BSplineSurface value) void
writeStamp
(Cache.Entry cache, GraphState gs) Writes a stamp of the context intocache
.Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
-
Field Details
-
$TYPE
-
surface$FIELD
-
parameter$FIELD
-
direction$FIELD
-
-
Constructor Details
-
IsoCurve
public IsoCurve() -
IsoCurve
-
-
Method Details
-
getManageableType
- Specified by:
getManageableType
in interfaceManageable
-
isDirection
public boolean isDirection() -
setDirection
public void setDirection(boolean value) -
getParameter
public float getParameter() -
setParameter
public void setParameter(float value) -
getSurface
-
setSurface
-
dependsOnContext
public boolean dependsOnContext()Description copied from interface:ContextDependent
Determines whether this object actually depends on context.- Specified by:
dependsOnContext
in interfaceContextDependent
- 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
-
getVertex
-
getSize
- Specified by:
getSize
in interfaceVertexList
-
getDegree
- Specified by:
getDegree
in interfaceBSplineCurve
-
getKnot
- Specified by:
getKnot
in interfaceKnotVector
-
isRational
- Specified by:
isRational
in interfaceVertexSet
-
getDimension
- Specified by:
getDimension
in interfaceVertexSet
-