java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.math.SkinnedSurface
- All Implemented Interfaces:
ContextDependent
,BSplineSurface
,KnotVector
,VertexGrid
,VertexSet
,Manageable
,Shareable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SkinnedSurface.Type
static final SCOType.Field
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.protected float[]
getCache
(GraphState gs) int
float
getKnot
(int dim, int index, GraphState gs) int
getUDegree
(GraphState gs) int
getUSize
(GraphState gs) int
int
getVDegree
(GraphState gs) int
getVertex
(float[] out, int index, GraphState gs) int
getVertexIndex
(int u, int v, GraphState gs) int
getVSize
(GraphState gs) boolean
boolean
boolean
isRational
(GraphState gs) void
setCentripetalParameters
(boolean value) void
setInterpolateProfiles
(boolean value) void
setProfiles
(BSplineCurveList value) void
setVDegree
(int 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
-
profiles$FIELD
-
vDegree$FIELD
-
interpolateProfiles$FIELD
-
centripetalParameters$FIELD
-
-
Constructor Details
-
SkinnedSurface
public SkinnedSurface() -
SkinnedSurface
-
-
Method Details
-
getManageableType
- Specified by:
getManageableType
in interfaceManageable
-
isInterpolateProfiles
public boolean isInterpolateProfiles() -
setInterpolateProfiles
public void setInterpolateProfiles(boolean value) -
isCentripetalParameters
public boolean isCentripetalParameters() -
setCentripetalParameters
public void setCentripetalParameters(boolean value) -
getVDegree
public int getVDegree() -
setVDegree
public void setVDegree(int value) -
getProfiles
-
setProfiles
-
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
-
getCache
-
getUDegree
- Specified by:
getUDegree
in interfaceBSplineSurface
-
getVDegree
- Specified by:
getVDegree
in interfaceBSplineSurface
-
getUSize
- Specified by:
getUSize
in interfaceVertexGrid
-
getVSize
- Specified by:
getVSize
in interfaceVertexGrid
-
getVertexIndex
- Specified by:
getVertexIndex
in interfaceVertexGrid
-
getDimension
- Specified by:
getDimension
in interfaceVertexSet
-
getVertex
-
getKnot
- Specified by:
getKnot
in interfaceKnotVector
-
isRational
- Specified by:
isRational
in interfaceVertexSet
-