org.osm2world.viewer.view.debug
Class TerrainBoundaryDebugView

Object
  extended by DebugView
      extended by TerrainBoundaryDebugView

public class TerrainBoundaryDebugView
extends DebugView

draws terrain boundaries defined by world objects


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

Constructor Detail

TerrainBoundaryDebugView

public TerrainBoundaryDebugView()
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

public 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