us.ihmc.graphics3DAdapter.graphics.appearances
Class HeightBasedTerrainBlend

java.lang.Object
  extended by us.ihmc.graphics3DAdapter.graphics.appearances.YoAppearanceTransparency
      extended by us.ihmc.graphics3DAdapter.graphics.appearances.YoAppearanceTransparent
          extended by us.ihmc.graphics3DAdapter.graphics.appearances.HeightBasedTerrainBlend
All Implemented Interfaces:
AppearanceDefinition

public class HeightBasedTerrainBlend
extends YoAppearanceTransparent


Nested Class Summary
 class HeightBasedTerrainBlend.TextureDefinition
           
 
Constructor Summary
HeightBasedTerrainBlend(HeightMap heightMap)
           
 
Method Summary
 void addBlend(double min_height, double fade_dist)
           
 void addTexture(double scale, java.lang.String diffuse, java.lang.String normal)
           
 java.util.ArrayList<Pair<java.lang.Double,java.lang.Double>> getBlends()
           
 HeightMap getHeightMap()
           
 java.util.ArrayList<HeightBasedTerrainBlend.TextureDefinition> getTextures()
           
 
Methods inherited from class us.ihmc.graphics3DAdapter.graphics.appearances.YoAppearanceTransparency
getTransparency, setTransparency
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeightBasedTerrainBlend

public HeightBasedTerrainBlend(HeightMap heightMap)
Method Detail

getHeightMap

public HeightMap getHeightMap()

addTexture

public void addTexture(double scale,
                       java.lang.String diffuse,
                       java.lang.String normal)

addBlend

public void addBlend(double min_height,
                     double fade_dist)

getBlends

public java.util.ArrayList<Pair<java.lang.Double,java.lang.Double>> getBlends()

getTextures

public java.util.ArrayList<HeightBasedTerrainBlend.TextureDefinition> getTextures()