de.grogra.imp3d.objects
Class HeightField
java.lang.Object
de.grogra.persistence.ShareableBase
de.grogra.graph.impl.ContextDependentBase
de.grogra.imp3d.objects.HeightField
- All Implemented Interfaces:
- ContextDependent, VertexGrid, VertexSet, Manageable, Shareable
- Direct Known Subclasses:
- ImageHeightField, NetworkHeightField
public abstract class HeightField
- extends ContextDependentBase
- implements VertexGrid
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
$TYPE
public static final HeightField.Type $TYPE
mapping$FIELD
public static final SCOType.Field mapping$FIELD
HeightField
public HeightField()
dependsOnContext
public boolean dependsOnContext()
- Description copied from interface:
ContextDependent
- Determines whether this object actually depends on context.
- Specified by:
dependsOnContext
in interface ContextDependent
- Returns:
true
iff this object depends on context
getDimension
public int getDimension(GraphState gs)
- Specified by:
getDimension
in interface VertexSet
getHeight
public abstract float getHeight(int x,
int y,
GraphState gs)
getMapping
public HeightFieldMapping getMapping()
getVertex
public int getVertex(float[] out,
int index,
GraphState gs)
- Specified by:
getVertex
in interface VertexSet
getVertexIndex
public int getVertexIndex(int u,
int v,
GraphState gs)
- Specified by:
getVertexIndex
in interface VertexGrid
isRational
public boolean isRational(GraphState gs)
- Specified by:
isRational
in interface VertexSet
setMapping
public void setMapping(HeightFieldMapping value)