org.osm2world.viewer.view.debug
Class QuadtreeDebugView

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

public class QuadtreeDebugView
extends DebugView


Field Summary
 
Fields inherited from class DebugView
eleData, map, mapDataPrimitiveBuffer, terrain, terrainPrimitiveBuffer
 
Constructor Summary
QuadtreeDebugView()
           
 
Method Summary
 boolean canBeUsed()
          returns true if this DebugView can currently be used for rendering.
 void renderToImpl(GL gl, Camera camera)
          implementation for the renderTo method, provided by subclasses.
 void setArrowsEnabled(boolean arrowsEnabled)
           
 void setConversionResults(ConversionFacade.Results conversionResults)
           
 
Methods inherited from class DebugView
drawBox, drawBoxAround, drawBoxAround, getDescription, renderTo, setPrimitiveBuffers
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuadtreeDebugView

public QuadtreeDebugView()
Method Detail

setConversionResults

public void setConversionResults(ConversionFacade.Results conversionResults)
Overrides:
setConversionResults in class DebugView

setArrowsEnabled

public void setArrowsEnabled(boolean arrowsEnabled)

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

public 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