public class SlopeHeightMap extends DelegatingHeightMap
children, constant, constantColour, constantValuename, seed| Constructor and Description | 
|---|
| SlopeHeightMap(HeightMap baseHeightMap) | 
| SlopeHeightMap(HeightMap baseHeightMap,
              float verticalScaling) | 
| SlopeHeightMap(HeightMap baseHeightMap,
              float verticalScaling,
              java.lang.String name) | 
| SlopeHeightMap(HeightMap baseHeightMap,
              java.lang.String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| SlopeHeightMap | clone()Create a deep copy of the height map. | 
| protected double | doGetHeight(float x,
           float y) | 
| HeightMap | getBaseHeightMap() | 
| 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. | 
| float | getVerticalScaling() | 
| void | setBaseHeightMap(HeightMap baseHeightMap) | 
| void | setVerticalScaling(float verticalScaling) | 
childrenChanged, determineConstant, doGetColour, doGetHeight, getColour, getConstantValue, getHeight, getHeight, getHeightMap, getHeightMap, getHeightMapCount, getIndex, getIndex, getRole, getSeed, isConstant, readResolve, recalculateConstantValue, replace, replace, setHeightMap, setHeightMap, setSeedgetBaseHeight, getName, getParent, setNamepublic SlopeHeightMap(HeightMap baseHeightMap)
public SlopeHeightMap(HeightMap baseHeightMap, java.lang.String name)
public SlopeHeightMap(HeightMap baseHeightMap, float verticalScaling)
public SlopeHeightMap(HeightMap baseHeightMap, float verticalScaling, java.lang.String name)
public HeightMap getBaseHeightMap()
public void setBaseHeightMap(HeightMap baseHeightMap)
public float getVerticalScaling()
public void setVerticalScaling(float verticalScaling)
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.public SlopeHeightMap clone()
HeightMapclone in interface HeightMapclone in class AbstractHeightMappublic javax.swing.Icon getIcon()
HeightMappublic double[] getRange()
HeightMapHeightMap.getBaseHeight()) and the upper bound in
 index 1.