Class RepastTexture

java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.render.LazilyLoadedTexture
repast.simphony.visualization.gis3D.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

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RepastTexture

      public RepastTexture(Object imageSource, boolean useMipMaps)
  • Method Details

    • 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 -