org.osm2world.viewer.view.debug
Class TerrainView

Object
  extended by DebugView
      extended by TerrainView
All Implemented Interfaces:
RenderableToJOGL, Renderable

public class TerrainView
extends DebugView


Field Summary
 
Fields inherited from class DebugView
eleData, map, mapDataPrimitiveBuffer, terrain, terrainPrimitiveBuffer
 
Constructor Summary
TerrainView()
           
 
Method Summary
 String getDescription()
          returns a description of the debug view
protected  void renderToImpl(GL gl, Camera camera)
          implementation for the renderTo method, provided by subclasses.
 void setPrimitiveBuffers(PrimitiveBuffer gridPrimitiveBuffer, PrimitiveBuffer terrainPrimitiveBuffer)
           
 
Methods inherited from class DebugView
canBeUsed, drawBox, drawBoxAround, drawBoxAround, renderTo, setConversionResults
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerrainView

public TerrainView()
Method Detail

getDescription

public String getDescription()
Description copied from class: DebugView
returns a description of the debug view

Overrides:
getDescription in class DebugView

setPrimitiveBuffers

public void setPrimitiveBuffers(PrimitiveBuffer gridPrimitiveBuffer,
                                PrimitiveBuffer terrainPrimitiveBuffer)
Overrides:
setPrimitiveBuffers in class DebugView

renderToImpl

protected void renderToImpl(GL gl,
                            Camera camera)
Description copied from class: DebugView
implementation for the renderTo method, provided by subclasses. Will only be called if the DebugView DebugView.canBeUsed().

Specified by:
renderToImpl in class DebugView