org.osm2world.viewer.view.debug
Class MapDataDebugView

Object
  extended by DebugView
      extended by MapDataDebugView

public class MapDataDebugView
extends DebugView

shows the plain MapData as a network of nodes, lines and areas


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

MapDataDebugView

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