de.grogra.math
public class SkinnedSurface extends ContextDependentBase implements BSplineSurface
| Modifier and Type | Class and Description |
|---|---|
static class |
SkinnedSurface.Type |
| Modifier and Type | Field and Description |
|---|---|
static SkinnedSurface.Type |
$TYPE |
static SCOType.Field |
centripetalParameters$FIELD |
static SCOType.Field |
interpolateProfiles$FIELD |
static SCOType.Field |
profiles$FIELD |
static SCOType.Field |
vDegree$FIELD |
| Constructor and Description |
|---|
SkinnedSurface() |
SkinnedSurface(BSplineCurveList profiles) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dependsOnContext()
Determines whether this object actually depends on context.
|
protected float[] |
getCache(GraphState gs) |
int |
getDimension(GraphState gs) |
float |
getKnot(int dim,
int index,
GraphState gs) |
ManageableType |
getManageableType() |
BSplineCurveList |
getProfiles() |
int |
getUDegree(GraphState gs) |
int |
getUSize(GraphState gs) |
int |
getVDegree() |
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 |
isCentripetalParameters() |
boolean |
isInterpolateProfiles() |
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 into
cache. |
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferencepublic static final SkinnedSurface.Type $TYPE
public static final SCOType.Field centripetalParameters$FIELD
public static final SCOType.Field interpolateProfiles$FIELD
public static final SCOType.Field profiles$FIELD
public static final SCOType.Field vDegree$FIELD
public SkinnedSurface()
public SkinnedSurface(BSplineCurveList profiles)
public boolean dependsOnContext()
ContextDependentdependsOnContext in interface ContextDependenttrue iff this object depends on contextprotected float[] getCache(GraphState gs)
public 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 BSplineCurveList getProfiles()
public int getUDegree(GraphState gs)
getUDegree in interface BSplineSurfacepublic int getUSize(GraphState gs)
getUSize in interface VertexGridpublic int getVDegree()
public 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 isCentripetalParameters()
public boolean isInterpolateProfiles()
public boolean isRational(GraphState gs)
isRational in interface VertexSetpublic void setCentripetalParameters(boolean value)
public void setInterpolateProfiles(boolean value)
public void setProfiles(BSplineCurveList value)
public void setVDegree(int value)
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 ContextDependentwriteStamp in class ContextDependentBasecache - a cache entry to write the stampgs - the current graph state