org.osm2world.viewer.view.debug
Class HelpView

Object
  extended by DebugView
      extended by HelpView
All Implemented Interfaces:
RenderableToJOGL, Renderable

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
eleData, map, mapDataPrimitiveBuffer, terrain, terrainPrimitiveBuffer
 
Constructor Summary
HelpView()
           
 
Method Summary
 boolean canBeUsed()
          returns true if this DebugView can currently be used for rendering.
protected  void renderToImpl(GL gl, Camera camera)
          implementation for the renderTo method, provided by subclasses.
 
Methods inherited from class DebugView
drawBox, drawBoxAround, drawBoxAround, getDescription, renderTo, setConversionResults, setPrimitiveBuffers
 
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

renderToImpl

protected void renderToImpl(GL gl,
                            Camera camera)
Description copied from class: DebugView
implementation for the renderTo method, provided by subclasses. Will only be called if the DebugView DebugView.canBeUsed().

Specified by:
renderToImpl in class DebugView