de.grogra.imp3d.objects
public abstract class HeightField extends ContextDependentBase implements VertexGrid
| Modifier and Type | Class and Description |
|---|---|
static class |
HeightField.Type |
| Modifier and Type | Field and Description |
|---|---|
static HeightField.Type |
$TYPE |
static SCOType.Field |
mapping$FIELD |
| Constructor and Description |
|---|
HeightField() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dependsOnContext()
Determines whether this object actually depends on context.
|
int |
getDimension(GraphState gs) |
abstract float |
getHeight(int x,
int y,
GraphState gs) |
HeightFieldMapping |
getMapping() |
int |
getVertex(float[] out,
int index,
GraphState gs) |
int |
getVertexIndex(int u,
int v,
GraphState gs) |
boolean |
isRational(GraphState gs) |
void |
setMapping(HeightFieldMapping value) |
writeStampaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUSize, getVSizewriteStampgetManageableTypepublic static final HeightField.Type $TYPE
public static final SCOType.Field mapping$FIELD
public boolean dependsOnContext()
ContextDependentdependsOnContext in interface ContextDependenttrue iff this object depends on contextpublic int getDimension(GraphState gs)
getDimension in interface VertexSetpublic abstract float getHeight(int x,
int y,
GraphState gs)
public HeightFieldMapping getMapping()
public int getVertex(float[] out,
int index,
GraphState gs)
public int getVertexIndex(int u,
int v,
GraphState gs)
getVertexIndex in interface VertexGridpublic boolean isRational(GraphState gs)
isRational in interface VertexSetpublic void setMapping(HeightFieldMapping value)