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
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines whether this object actually depends on context.int
abstract float
getHeight
(int x, int y, GraphState gs) int
getVertex
(float[] out, int index, GraphState gs) int
getVertexIndex
(int u, int v, GraphState gs) boolean
isRational
(GraphState gs) void
setMapping
(HeightFieldMapping value) Methods inherited from class de.grogra.graph.impl.ContextDependentBase
writeStamp
Methods inherited from class de.grogra.persistence.ShareableBase
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.grogra.graph.ContextDependent
writeStamp
Methods inherited from interface de.grogra.persistence.Manageable
getManageableType
Methods inherited from interface de.grogra.math.VertexGrid
getUSize, getVSize
-
Field Details
-
$TYPE
-
mapping$FIELD
-
-
Constructor Details
-
HeightField
public HeightField()
-
-
Method Details
-
getMapping
-
setMapping
-
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
-
getHeight
-
getVertex
-
getDimension
- Specified by:
getDimension
in interfaceVertexSet
-
isRational
- Specified by:
isRational
in interfaceVertexSet
-
getVertexIndex
- Specified by:
getVertexIndex
in interfaceVertexGrid
-