de.grogra.rgg
public class SurfaceRef extends ItemReference implements BSplineSurface
| Modifier and Type | Class and Description |
|---|---|
static class |
SurfaceRef.Type |
| Modifier and Type | Field and Description |
|---|---|
static SurfaceRef.Type |
$TYPE |
item, itemResolved, name$FIELD, object, objectResolved| Constructor and Description |
|---|
SurfaceRef(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dependsOnContext()
Determines whether this object actually depends on context.
|
int |
getDimension(GraphState gs) |
float |
getKnot(int dim,
int index,
GraphState gs) |
ManageableType |
getManageableType() |
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) |
java.lang.Object |
manageableWriteReplace() |
BSplineSurface |
resolve() |
void |
writeStamp(Cache.Entry cache,
GraphState gs)
Writes a stamp of the context into
cache. |
createItem, equals, getName, hashCode, resolveItem, resolveObjectaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, removeReferencepublic static final SurfaceRef.Type $TYPE
public boolean dependsOnContext()
ContextDependentdependsOnContext in interface ContextDependenttrue iff this object depends on contextpublic int getDimension(GraphState gs)
getDimension in interface VertexSetpublic float getKnot(int dim,
int index,
GraphState gs)
getKnot in interface KnotVectorpublic ManageableType getManageableType()
getManageableType in interface Manageablepublic int getUDegree(GraphState gs)
getUDegree in interface BSplineSurfacepublic int getUSize(GraphState gs)
getUSize in interface VertexGridpublic int getVDegree(GraphState gs)
getVDegree in interface BSplineSurfacepublic int getVertex(float[] out,
int index,
GraphState gs)
public int getVertexIndex(int u,
int v,
GraphState gs)
getVertexIndex in interface VertexGridpublic int getVSize(GraphState gs)
getVSize in interface VertexGridpublic boolean isRational(GraphState gs)
isRational in interface VertexSetpublic java.lang.Object manageableWriteReplace()
manageableWriteReplace in interface ManageablemanageableWriteReplace in class ShareableBasepublic BSplineSurface resolve()
public void writeStamp(Cache.Entry cache, GraphState gs)
ContextDependentcache. Based on
this stamp, a cache detects whether the context of this
object has changed or not.writeStamp in interface ContextDependentcache - a cache entry to write the stampgs - the current graph state