NASA World Wind

gov.nasa.worldwind.render
Class SurfaceConcaveShape

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.render.AbstractSurfaceObject
          extended by gov.nasa.worldwind.render.AbstractSurfaceShape
              extended by gov.nasa.worldwind.render.SurfaceConcaveShape
All Implemented Interfaces:
AVList, MeasurableArea, MeasurableLength, Movable, PreRenderable, Renderable, SurfaceObject, SurfaceShape, Restorable
Direct Known Subclasses:
SurfaceEllipse, SurfacePolygon, SurfaceQuad, SurfaceSector

public abstract class SurfaceConcaveShape
extends AbstractSurfaceShape


Nested Class Summary
protected static class SurfaceConcaveShape.ImmediateModeCallback
           
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.render.AbstractSurfaceShape
AbstractSurfaceShape.CachedLocations, AbstractSurfaceShape.CachedSectors, AbstractSurfaceShape.CacheEntry<T>
 
Field Summary
protected static javax.media.opengl.glu.GLU glu
           
protected static javax.media.opengl.glu.GLUtessellator tess
           
protected  WWTexture texture
           
 
Fields inherited from class gov.nasa.worldwind.render.AbstractSurfaceShape
areaMeasurer, areaMeasurerLastModifiedTime, attributes, DEFAULT_CACHE_CAPACITY, DEFAULT_MAX_EDGE_INTERVALS, DEFAULT_MIN_EDGE_INTERVALS, DEFAULT_PATH_TYPE, DEFAULT_TEXELS_PER_EDGE_INTERVAL, drawLocations, locationCache, maxEdgeIntervals, minEdgeIntervals, pathType, renderer, sectorCache, showBoundingSectors, texelsPerEdgeInterval
 
Fields inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject
lastModifiedTime, visible
 
Fields inherited from class gov.nasa.worldwind.avlist.AVListImpl
changeSupport
 
Constructor Summary
protected SurfaceConcaveShape()
           
protected SurfaceConcaveShape(ShapeAttributes attributes)
           
 
Method Summary
protected  void beginTessellation(DrawContext dc, javax.media.opengl.glu.GLU glu, javax.media.opengl.glu.GLUtessellator tess, javax.media.opengl.glu.GLUtessellatorCallback callback)
           
protected  void doRenderInteriorToRegion(DrawContext dc, Sector sector, int x, int y, int width, int height)
           
protected  void doRenderOutlineToRegion(DrawContext dc, Sector sector, int x, int y, int width, int height)
           
protected  void doTessellate(DrawContext dc, javax.media.opengl.glu.GLU glu, javax.media.opengl.glu.GLUtessellator tess, javax.media.opengl.glu.GLUtessellatorCallback callback)
           
protected  void drawInterior(DrawContext dc)
           
protected  void drawOutline(DrawContext dc, int drawMode)
           
protected  void endTessellation(DrawContext dc, javax.media.opengl.glu.GLU glu, javax.media.opengl.glu.GLUtessellator tess)
           
protected static javax.media.opengl.glu.GLU getGLU()
           
protected static javax.media.opengl.glu.GLUtessellator getGLUTessellator()
           
protected  WWTexture getTexture()
           
protected  void tessellateInterior(DrawContext dc, javax.media.opengl.glu.GLUtessellatorCallback callback)
           
 
Methods inherited from class gov.nasa.worldwind.render.AbstractSurfaceShape
assembleRenderState, beginRenderToRegion, computeEdgeIntervalsPerDegree, doGetRestorableState, doGetSectors, doMoveTo, doRenderBoundingSectors, doRenderShape, doRenderToRegion, doRestoreState, endRenderToRegion, getArea, getArea, getAttributes, getCachedLocations, getCachedLocations, getHeight, getLength, getLocations, getMinAndMaxEdgeIntervals, getPathType, getPerimeter, getReferencePosition, getRenderer, getRestorableState, getSectors, getSurfaceShapeSupport, getTexelsPerEdgeInterval, getWidth, isShowBoundingSectors, legacyRestoreState, move, moveTo, onShapeChanged, pathTypeFromString, preRender, render, restoreState, setAttributes, setMinAndMaxEdgeIntervals, setPathType, setShowBoundingSectors, setTexelsPerEdgeInterval, setupAreaMeasurer
 
Methods inherited from class gov.nasa.worldwind.render.AbstractSurfaceObject
getLastModifiedTime, isVisible, renderToRegion, setVisible, updateModifiedTime
 
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.nasa.worldwind.render.SurfaceShape
getLocations
 
Methods inherited from interface gov.nasa.worldwind.render.SurfaceObject
getLastModifiedTime, isVisible, renderToRegion, setVisible
 
Methods inherited from interface gov.nasa.worldwind.avlist.AVList
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
 

Field Detail

glu

protected static javax.media.opengl.glu.GLU glu

tess

protected static javax.media.opengl.glu.GLUtessellator tess

texture

protected WWTexture texture
Constructor Detail

SurfaceConcaveShape

protected SurfaceConcaveShape()

SurfaceConcaveShape

protected SurfaceConcaveShape(ShapeAttributes attributes)
Method Detail

beginTessellation

protected void beginTessellation(DrawContext dc,
                                 javax.media.opengl.glu.GLU glu,
                                 javax.media.opengl.glu.GLUtessellator tess,
                                 javax.media.opengl.glu.GLUtessellatorCallback callback)

doRenderInteriorToRegion

protected void doRenderInteriorToRegion(DrawContext dc,
                                        Sector sector,
                                        int x,
                                        int y,
                                        int width,
                                        int height)
Specified by:
doRenderInteriorToRegion in class AbstractSurfaceShape

doRenderOutlineToRegion

protected void doRenderOutlineToRegion(DrawContext dc,
                                       Sector sector,
                                       int x,
                                       int y,
                                       int width,
                                       int height)
Specified by:
doRenderOutlineToRegion in class AbstractSurfaceShape

doTessellate

protected void doTessellate(DrawContext dc,
                            javax.media.opengl.glu.GLU glu,
                            javax.media.opengl.glu.GLUtessellator tess,
                            javax.media.opengl.glu.GLUtessellatorCallback callback)

drawInterior

protected void drawInterior(DrawContext dc)

drawOutline

protected void drawOutline(DrawContext dc,
                           int drawMode)

endTessellation

protected void endTessellation(DrawContext dc,
                               javax.media.opengl.glu.GLU glu,
                               javax.media.opengl.glu.GLUtessellator tess)

getGLU

protected static javax.media.opengl.glu.GLU getGLU()

getGLUTessellator

protected static javax.media.opengl.glu.GLUtessellator getGLUTessellator()

getTexture

protected WWTexture getTexture()

tessellateInterior

protected void tessellateInterior(DrawContext dc,
                                  javax.media.opengl.glu.GLUtessellatorCallback callback)

NASA World Wind