org.osm2world.viewer.view.debug
Class MapDataBoundsDebugView

Object
  extended by DebugView
      extended by MapDataBoundsDebugView

public class MapDataBoundsDebugView
extends DebugView

shows the bounding boxes of map data


Field Summary
 
Fields inherited from class DebugView
camera, config, eleData, map, projection, terrain
 
Constructor Summary
MapDataBoundsDebugView()
           
 
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
 
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

MapDataBoundsDebugView

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