org.osm2world.viewer.view.debug
Class WorldObjectView

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

public class WorldObjectView
extends DebugView


Field Summary
 
Fields inherited from class DebugView
eleData, gridPrimitiveBuffer, map, terrain, terrainPrimitiveBuffer
 
Constructor Summary
WorldObjectView()
           
 
Method Summary
 String getDescription()
          returns a description of the debug view
protected  void renderToImpl(GL gl, Camera camera)
          implementation for the renderTo method, provided by subclasses.
 void setPrimitiveBuffers(PrimitiveBuffer gridPrimitiveBuffer, PrimitiveBuffer terrainPrimitiveBuffer)
           
 
Methods inherited from class DebugView
canBeUsed, drawBox, drawBoxAround, drawBoxAround, renderTo, setConversionResults
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorldObjectView

public WorldObjectView()
Method Detail

getDescription

public String getDescription()
Description copied from class: DebugView
returns a description of the debug view

Overrides:
getDescription in class DebugView

setPrimitiveBuffers

public void setPrimitiveBuffers(PrimitiveBuffer gridPrimitiveBuffer,
                                PrimitiveBuffer terrainPrimitiveBuffer)
Overrides:
setPrimitiveBuffers 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