gov.nasa.worldwind.render
Class FramebufferTexture
java.lang.Object
gov.nasa.worldwind.render.FramebufferTexture
- All Implemented Interfaces:
- WWTexture
- Direct Known Subclasses:
- FBOTexture
public class FramebufferTexture
- extends Object
- implements WWTexture
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
corners
protected List<LatLon> corners
DEFAULT_TESSELLATION_DENSITY
protected static final int DEFAULT_TESSELLATION_DENSITY
- See Also:
- Constant Field Values
height
protected int height
sector
protected Sector sector
sourceTexture
protected WWTexture sourceTexture
tessellationDensity
protected int tessellationDensity
width
protected int width
FramebufferTexture
public FramebufferTexture(DrawContext dc,
WWTexture imageSource,
Sector sector,
List<LatLon> corners)
applyInternalTransform
public void applyInternalTransform(DrawContext dc)
- Specified by:
applyInternalTransform in interface WWTexture
bind
public boolean bind(DrawContext dc)
- Specified by:
bind in interface WWTexture
computeGeographicToCartesianTransform
protected Matrix computeGeographicToCartesianTransform(Sector sector)
drawQuad
protected void drawQuad(DrawContext dc,
BilinearInterpolator interp,
int slices,
int stacks)
drawQuad
protected void drawQuad(DrawContext dc,
Matrix geoToCartesian,
int slices,
int stacks)
generateTexture
protected void generateTexture(DrawContext dc,
int width,
int height)
getCorners
public List<LatLon> getCorners()
getHeight
public int getHeight()
- Specified by:
getHeight in interface WWTexture
getImageSource
public Object getImageSource()
- Specified by:
getImageSource in interface WWTexture
getSector
public Sector getSector()
getTessellationDensity
protected int getTessellationDensity()
getWidth
public int getWidth()
- Specified by:
getWidth in interface WWTexture
initialize
protected void initialize(DrawContext dc)
initializeTexture
protected Texture initializeTexture(DrawContext dc)
isTextureCurrent
public boolean isTextureCurrent(DrawContext dc)
- Specified by:
isTextureCurrent in interface WWTexture
transformToQuadCoordinates
protected Vec4 transformToQuadCoordinates(Matrix geoToCartesian,
LatLon latLon)