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.ImmediateDrawTessellatorCallback
           
 
Nested classes/interfaces inherited from class gov.nasa.worldwind.render.AbstractSurfaceShape
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, DEFAULT_CACHE_CAPACITY, DEFAULT_MAX_EDGE_INTERVALS, DEFAULT_MIN_EDGE_INTERVALS, DEFAULT_PATH_TYPE, DEFAULT_TEXELS_PER_EDGE_INTERVAL, drawLocationCache, maxEdgeIntervals, minEdgeIntervals, pathType, renderer, sectorCache, showBoundingSectors, texelsPerEdgeInterval, vertices
 
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 tessCallback)
           
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 drawArraysAsConcavePolygon(DrawContext dc, List<? extends Vec4> vertices)
           
protected  void drawArraysAsConvexPolygon(DrawContext dc, List<? extends Vec4> vertices)
           
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  javax.media.opengl.glu.GLUtessellatorCallback getTessellatorCallback(DrawContext dc)
           
protected  WWTexture getTexture()
           
 
Methods inherited from class gov.nasa.worldwind.render.AbstractSurfaceShape
assembleShapeVertices, beginRenderToRegion, bindShapeData, computeDrawLocations, computeEdgeIntervalsPerDegree, computeLocations, doGetRestorableState, doGetSectors, doMoveTo, doRenderBoundingSectors, doRenderToRegion, doRestoreState, endRenderToRegion, getArea, getArea, getAttributes, getDrawLocations, getDrawLocations, getHeight, getLength, getLocations, getMinAndMaxEdgeIntervals, getPathType, getPerimeter, getReferencePosition, getRenderer, getRestorableState, getSectors, getSurfaceShapeSupport, getTexelsPerEdgeInterval, getWidth, isShowBoundingSectors, legacyRestoreState, move, moveTo, onShapeChanged, pathTypeFromString, preRender, render, renderBoundingSectors, renderInteriorToRegion, renderOutlineToRegion, 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.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 tessCallback)

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

drawArraysAsConcavePolygon

protected void drawArraysAsConcavePolygon(DrawContext dc,
                                          List<? extends Vec4> vertices)

drawArraysAsConvexPolygon

protected void drawArraysAsConvexPolygon(DrawContext dc,
                                         List<? extends Vec4> vertices)

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()

getTessellatorCallback

protected javax.media.opengl.glu.GLUtessellatorCallback getTessellatorCallback(DrawContext dc)

getTexture

protected WWTexture getTexture()

NASA World Wind

Hosted by docs.bugaco.com