NASA World Wind

gov.nasa.worldwind.examples.analytics
Class AnalyticSurface.RenderInfo

java.lang.Object
  extended by gov.nasa.worldwind.examples.analytics.AnalyticSurface.RenderInfo
Enclosing class:
AnalyticSurface

protected static class AnalyticSurface.RenderInfo
extends java.lang.Object


Field Summary
protected  VecBuffer cartesianNormalTupleBuffer
           
protected  VecBuffer cartesianVertexTupleBuffer
           
protected  VecBuffer colorTupleBuffer
           
protected  VecBuffer geographicVertexTupleBuffer
           
protected  int gridHeight
           
protected  int gridWidth
           
protected  BufferWrapper interiorIndexBuffer
           
protected  int numVertices
           
protected  BufferWrapper outlineIndexBuffer
           
protected  VecBuffer shadowColorTupleBuffer
           
 
Constructor Summary
protected AnalyticSurface.RenderInfo(int gridWidth, int gridHeight, BufferFactory indexBufferFactory, TupleBufferFactory cartesianVertexBufferFactory, TupleBufferFactory geographicVertexBufferFactory, TupleBufferFactory colorBufferFactory)
           
 
Method Summary
static AnalyticSurface.RenderInfo allocate(int gridWidth, int gridHeight)
           
static AnalyticSurface.RenderInfo allocate(int gridWidth, int gridHeight, boolean allocteDirect)
           
 void bindShadowData(DrawContext dc)
           
 void bindSurfaceData(DrawContext dc)
           
static void copyVertexData(AnalyticSurface.RenderInfo src, AnalyticSurface.RenderInfo dest)
           
 void drawInterior(DrawContext dc)
           
 void drawOutline(DrawContext dc)
           
 int getGridHeight()
           
 int getGridWidth()
           
 int getNumVertices()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cartesianNormalTupleBuffer

protected final VecBuffer cartesianNormalTupleBuffer

cartesianVertexTupleBuffer

protected final VecBuffer cartesianVertexTupleBuffer

colorTupleBuffer

protected final VecBuffer colorTupleBuffer

geographicVertexTupleBuffer

protected final VecBuffer geographicVertexTupleBuffer

gridHeight

protected final int gridHeight

gridWidth

protected final int gridWidth

interiorIndexBuffer

protected final BufferWrapper interiorIndexBuffer

numVertices

protected final int numVertices

outlineIndexBuffer

protected final BufferWrapper outlineIndexBuffer

shadowColorTupleBuffer

protected final VecBuffer shadowColorTupleBuffer
Constructor Detail

AnalyticSurface.RenderInfo

protected AnalyticSurface.RenderInfo(int gridWidth,
                                     int gridHeight,
                                     BufferFactory indexBufferFactory,
                                     TupleBufferFactory cartesianVertexBufferFactory,
                                     TupleBufferFactory geographicVertexBufferFactory,
                                     TupleBufferFactory colorBufferFactory)
Method Detail

allocate

public static AnalyticSurface.RenderInfo allocate(int gridWidth,
                                                  int gridHeight)

allocate

public static AnalyticSurface.RenderInfo allocate(int gridWidth,
                                                  int gridHeight,
                                                  boolean allocteDirect)

bindShadowData

public void bindShadowData(DrawContext dc)

bindSurfaceData

public void bindSurfaceData(DrawContext dc)

copyVertexData

public static void copyVertexData(AnalyticSurface.RenderInfo src,
                                  AnalyticSurface.RenderInfo dest)

drawInterior

public void drawInterior(DrawContext dc)

drawOutline

public void drawOutline(DrawContext dc)

getGridHeight

public int getGridHeight()

getGridWidth

public int getGridWidth()

getNumVertices

public int getNumVertices()

NASA World Wind