org.osm2world.viewer.view.debug
Class HelpView

Object
  extended by DebugView
      extended by HelpView

public class HelpView
extends DebugView

view that prints an explanation how to open OSM data. Only visible when no data is available.


Field Summary
 
Fields inherited from class DebugView
camera, config, eleData, map, projection, terrain
 
Constructor Summary
HelpView()
           
 
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.
 void renderTo(GL2 gl, Camera camera, Projection projection)
          renders the content added by DebugView.fillTarget(JOGLTarget).
 
Methods inherited from class DebugView
drawArrow, drawBox, drawBoxAround, drawBoxAround, getDescription, setConfiguration, setConversionResults, updateTarget
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelpView

public HelpView()
Method Detail

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

renderTo

public void renderTo(GL2 gl,
                     Camera camera,
                     Projection projection)
Description copied from class: DebugView
renders the content added by DebugView.fillTarget(JOGLTarget). Only has an effect if DebugView.canBeUsed() is true.

Overrides:
renderTo in class DebugView
Parameters:
gl - needs to be the same gl as in previous calls

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