java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.pf.registry.ItemReference
de.grogra.rgg.SurfaceRef
- All Implemented Interfaces:
ContextDependent
,BSplineSurface
,KnotVector
,VertexGrid
,VertexSet
,Manageable
,Shareable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class de.grogra.pf.registry.ItemReference
item, itemResolved, name$FIELD, object, objectResolved
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines whether this object actually depends on context.int
float
getKnot
(int dim, int index, GraphState gs) int
getUDegree
(GraphState gs) int
getUSize
(GraphState gs) 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
isRational
(GraphState gs) resolve()
void
writeStamp
(Cache.Entry cache, GraphState gs) Writes a stamp of the context intocache
.Methods inherited from class de.grogra.pf.registry.ItemReference
createItem, equals, findChildrenWithoutExtension, getName, hashCode, removeExtension, resolveItem, resolveObject
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, removeReference
-
Field Details
-
$TYPE
-
-
Constructor Details
-
SurfaceRef
-
-
Method Details
-
resolve
-
getUDegree
- Specified by:
getUDegree
in interfaceBSplineSurface
-
getVDegree
- Specified by:
getVDegree
in interfaceBSplineSurface
-
isRational
- Specified by:
isRational
in interfaceVertexSet
-
getUSize
- Specified by:
getUSize
in interfaceVertexGrid
-
getVSize
- Specified by:
getVSize
in interfaceVertexGrid
-
getDimension
- Specified by:
getDimension
in interfaceVertexSet
-
getVertex
-
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
- Parameters:
cache
- a cache entry to write the stampgs
- the current graph state
-
getKnot
- Specified by:
getKnot
in interfaceKnotVector
-
getVertexIndex
- Specified by:
getVertexIndex
in interfaceVertexGrid
-
manageableWriteReplace
- Specified by:
manageableWriteReplace
in interfaceManageable
- Overrides:
manageableWriteReplace
in classShareableBase
-
getManageableType
- Specified by:
getManageableType
in interfaceManageable
-