Class RepastTexture

  • All Implemented Interfaces:
    gov.nasa.worldwind.avlist.AVList, gov.nasa.worldwind.render.WWTexture

    public class RepastTexture
    extends gov.nasa.worldwind.render.LazilyLoadedTexture
    RepastTexture overrides the default WorldWind Texture so that it can provide options for smoothing (anti-aliasing) in cases such as raster layers.
    Author:
    Eric Tatara
    • Nested Class Summary

      • Nested classes/interfaces inherited from class gov.nasa.worldwind.render.LazilyLoadedTexture

        gov.nasa.worldwind.render.LazilyLoadedTexture.RequestTask
    • Field Summary

      • Fields inherited from class gov.nasa.worldwind.render.LazilyLoadedTexture

        fileLock, fileStore, hasMipmapData, height, imageSource, listener, texCoords, textureData, textureInitializationFailed, useAnisotropy, useMipMaps, width
    • Constructor Summary

      Constructors 
      Constructor Description
      RepastTexture​(Object imageSource, boolean useMipMaps)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setDrawSmooth​(boolean drawSmooth)
      Toggles smooth (anti-aliased) rendering of texture images.
      protected void setTextureParameters​(gov.nasa.worldwind.render.DrawContext dc, com.jogamp.opengl.util.texture.Texture texture)  
      • Methods inherited from class gov.nasa.worldwind.render.LazilyLoadedTexture

        applyInternalTransform, bind, createRequestTask, equals, getHeight, getHeight, getImageSource, getTexCoords, getTexture, getTextureData, getWidth, getWidth, hashCode, initialize, isBufferedImageSource, isTextureCurrent, isTextureInitializationFailed, isUseAnisotropy, isUseMipMaps, loadTextureData, makeBufferedImageTexture, makeTextureFromTextureData, notifyTextureLoaded, readImage, requestTexture, setTextureData, setUseAnisotropy
      • Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl

        addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
    • Constructor Detail

      • RepastTexture

        public RepastTexture​(Object imageSource,
                             boolean useMipMaps)
    • Method Detail

      • setTextureParameters

        protected void setTextureParameters​(gov.nasa.worldwind.render.DrawContext dc,
                                            com.jogamp.opengl.util.texture.Texture texture)
        Overrides:
        setTextureParameters in class gov.nasa.worldwind.render.LazilyLoadedTexture
      • setDrawSmooth

        public void setDrawSmooth​(boolean drawSmooth)
        Toggles smooth (anti-aliased) rendering of texture images.
        Parameters:
        drawSmooth -