public class TransformingHeightMap extends DelegatingHeightMap
| Modifier and Type | Class and Description | 
|---|---|
| static class  | TransformingHeightMap.TransformingHeightMapBuilder | 
children, constant, constantColour, constantValuename, seed| Constructor and Description | 
|---|
| TransformingHeightMap(java.lang.String name,
                     HeightMap baseHeightMap,
                     float scaleX,
                     float scaleY,
                     int offsetX,
                     int offsetY,
                     float rotation) | 
| Modifier and Type | Method and Description | 
|---|---|
| static TransformingHeightMap.TransformingHeightMapBuilder | build() | 
| int | doGetColour(int x,
           int y) | 
| double | doGetHeight(float x,
           float y) | 
| double | doGetHeight(int x,
           int 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. | 
| int | getOffsetX() | 
| int | getOffsetY() | 
| double[] | getRange()Get the range of this height map, i.e. | 
| float | getRotation() | 
| float | getScaleX() | 
| float | getScaleY() | 
| void | setBaseHeightMap(HeightMap baseHeightMap) | 
childrenChanged, determineConstant, getColour, getConstantValue, getHeight, getHeight, getHeightMap, getHeightMap, getHeightMapCount, getIndex, getIndex, getRole, getSeed, isConstant, readResolve, recalculateConstantValue, replace, replace, setHeightMap, setHeightMap, setSeedclone, getBaseHeight, getName, getParent, setNamepublic TransformingHeightMap(java.lang.String name,
                             HeightMap baseHeightMap,
                             float scaleX,
                             float scaleY,
                             int offsetX,
                             int offsetY,
                             float rotation)
public HeightMap getBaseHeightMap()
public void setBaseHeightMap(HeightMap baseHeightMap)
public int getOffsetX()
public int getOffsetY()
public float getScaleX()
public float getScaleY()
public float getRotation()
public double doGetHeight(int x,
                          int y)
doGetHeight in class DelegatingHeightMappublic double doGetHeight(float x,
                          float y)
doGetHeight in class DelegatingHeightMappublic int doGetColour(int x,
                       int y)
doGetColour in class DelegatingHeightMappublic java.awt.Rectangle getExtent()
HeightMapnull.getExtent in interface HeightMapgetExtent in class AbstractHeightMapnull if it is
 unbounded.public javax.swing.Icon getIcon()
HeightMappublic double[] getRange()
HeightMapHeightMap.getBaseHeight()) and the upper bound in
 index 1.public static TransformingHeightMap.TransformingHeightMapBuilder build()