org.osm2world.viewer.view.debug
Class TerrainView

Object
  extended by DebugView
      extended by TerrainView

public class TerrainView
extends DebugView


Field Summary
 
Fields inherited from class DebugView
camera, config, eleData, map, projection, terrain
 
Constructor Summary
TerrainView(RenderOptions renderOptions)
           
 
Method Summary
 boolean canBeUsed()
          returns true if this DebugView can currently be used for rendering.
protected  void fillTarget(JOGLTarget target)
          lets the subclass add all content and settings for rendering.
 String getDescription()
          returns a description of the debug view
protected  void updateTarget(JOGLTarget target, boolean viewChanged)
          lets the subclass update the target after the initial DebugView.fillTarget(JOGLTarget).
 
Methods inherited from class DebugView
drawArrow, drawBox, drawBoxAround, drawBoxAround, renderTo, setConfiguration, setConversionResults
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerrainView

public TerrainView(RenderOptions renderOptions)
Method Detail

getDescription

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

Overrides:
getDescription in class DebugView

canBeUsed

public boolean canBeUsed()
Description copied from class: DebugView
returns true if this DebugView can currently be used for rendering. By default, this checks whether all the setters have been used with non-null values, but subclasses can overwrite it with their own checks.

Overrides:
canBeUsed in class DebugView

fillTarget

protected void fillTarget(JOGLTarget target)
Description copied from class: DebugView
lets the subclass add all content and settings for rendering. Will only be called if DebugView.canBeUsed() is true.

Specified by:
fillTarget in class DebugView

updateTarget

protected void updateTarget(JOGLTarget target,
                            boolean viewChanged)
Description copied from class: DebugView
lets the subclass update the target after the initial DebugView.fillTarget(JOGLTarget).

Overrides:
updateTarget in class DebugView
viewChanged - true if camera or projection have changed