public class DisplacementHeightMap extends DelegatingHeightMap
children, constant, constantColour, constantValuename, seed| Constructor and Description | 
|---|
| DisplacementHeightMap(HeightMap baseHeightMap,
                     HeightMap angleMap,
                     HeightMap distanceMap) | 
| DisplacementHeightMap(java.lang.String name,
                     HeightMap baseHeightMap,
                     HeightMap angleMap,
                     HeightMap distanceMap) | 
| Modifier and Type | Method and Description | 
|---|---|
| DisplacementHeightMap | clone()Create a deep copy of the height map. | 
| protected int | doGetColour(int x,
           int y) | 
| protected double | doGetHeight(float x,
           float y) | 
| HeightMap | getAngleMap() | 
| HeightMap | getBaseHeightMap() | 
| HeightMap | getDistanceMap() | 
| java.awt.Rectangle | getExtent()Get the extent of the height map, if any. | 
| javax.swing.Icon | getIcon()Get a 16x16 icon representing this height map. | 
| double[] | getRange()Get the range of this height map, i.e. | 
| void | setAngleMap(HeightMap angleMap) | 
| void | setBaseHeightMap(HeightMap baseHeightMap) | 
| void | setDistanceMap(HeightMap distanceMap) | 
childrenChanged, determineConstant, doGetHeight, getColour, getConstantValue, getHeight, getHeight, getHeightMap, getHeightMap, getHeightMapCount, getIndex, getIndex, getRole, getSeed, isConstant, readResolve, recalculateConstantValue, replace, replace, setHeightMap, setHeightMap, setSeedgetBaseHeight, getName, getParent, setNamepublic DisplacementHeightMap(HeightMap baseHeightMap, HeightMap angleMap, HeightMap distanceMap)
public HeightMap getBaseHeightMap()
public HeightMap getAngleMap()
public HeightMap getDistanceMap()
public void setAngleMap(HeightMap angleMap)
public void setBaseHeightMap(HeightMap baseHeightMap)
public void setDistanceMap(HeightMap distanceMap)
protected double doGetHeight(float x,
                             float y)
doGetHeight in class DelegatingHeightMappublic java.awt.Rectangle getExtent()
HeightMapnull.getExtent in interface HeightMapgetExtent in class AbstractHeightMapnull if it is
 unbounded.protected int doGetColour(int x,
                          int y)
doGetColour in class DelegatingHeightMappublic javax.swing.Icon getIcon()
HeightMappublic double[] getRange()
HeightMapHeightMap.getBaseHeight()) and the upper bound in
 index 1.public DisplacementHeightMap clone()
HeightMapclone in interface HeightMapclone in class AbstractHeightMap