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
-
-
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 classgov.nasa.worldwind.render.LazilyLoadedTexture
-
setDrawSmooth
public void setDrawSmooth(boolean drawSmooth)
Toggles smooth (anti-aliased) rendering of texture images.- Parameters:
drawSmooth
-
-
-