Package com.luciad.tea
Class TLcdTeaViewUtil
java.lang.Object
com.luciad.tea.TLcdTeaViewUtil
Deprecated.
use ALcdTerrainElevationProvider extensions to find retrieve elevation data for points.
This is a utility class to retrieve layers or rasters containing given (model)points.
To compute heights over given model points,
ALcdTerrainElevationProvider and its subclasses
are better suited.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Gets the raster level to be used when retrieving anILcdRasterfrom anILcdMultilevelRaster.booleanDeprecated.This method has been deprecated.retrieveGXYLayer(ILcdPoint aModelPoint, ILcdGXYView aGXYView) Deprecated.Returns aILcdGXYLayerthat satisfies the following conditions: It is contained in aGXYView It has a model with a model descriptor with a type name that is either "DTED" or "DMED".protected ILcdRasterretrieveRasterFromMultiLevelRaster(ILcdMultilevelRaster aMultiLevelRaster, ILcdBounds aModelBounds, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView) Deprecated.Retrieves from aMultiLevelRaster in aGXYLayer in aGXYView a single raster that is touched by aModelBounds.protected ILcdRasterretrieveRasterFromMultiLevelRaster(ILcdMultilevelRaster aMultiLevelRaster, ILcdPoint aModelPoint, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView) Deprecated.Retrieves from aMultiLevelRaster in aGXYLayer in aGXYView a single raster that is touched by aModelPoint.retrieveTouchedRaster(ILcdPoint aModelPoint, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView) Deprecated.Retrieves anILcdRasterfrom aGXYLayer in aGXYView that is touched by aModelPoint.retrieveTouchedRasters(ILcdBounds aModelBounds, ILcdGXYView aGXYView) Deprecated.Retrieves allILcdRasterin aGXYView that are touched by aModelBounds.static voidsetClassTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated.voidsetRasterLevelToUse(int aRasterLevelToUse) Deprecated.Sets the raster level to be used when retrieving anILcdRasterfrom anILcdMultilevelRaster.voidsetTraceOn(boolean aTraceOn) Deprecated.This method has been deprecated.
-
Constructor Details
-
TLcdTeaViewUtil
public TLcdTeaViewUtil()Deprecated.
-
-
Method Details
-
setClassTraceOn
public static void setClassTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for all instances of this class. If the argument istruethen all log messages are recorded, otherwise only the informative, warning and error messages are recorded.- Parameters:
aClassTraceOn- if true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
-
setTraceOn
public void setTraceOn(boolean aTraceOn) Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for this class instance. Calling this method with eithertrueorfalseas argument automatically turns off tracing for all other class instances for whichsetTraceOnhas not been called. If the argument isfalsethen only the informative, warning and error log messages are recorded.- Parameters:
aTraceOn- if true then all log messages are recorded for this instance. If false, then only the informative, warning and error log messages are recorded.
-
isTraceOn
public boolean isTraceOn()Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Returnstrueif tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
setRasterLevelToUse
public void setRasterLevelToUse(int aRasterLevelToUse) Deprecated.Sets the raster level to be used when retrieving anILcdRasterfrom anILcdMultilevelRaster.- Parameters:
aRasterLevelToUse- The raster level to use.
-
getRasterLevelToUse
public int getRasterLevelToUse()Deprecated.Gets the raster level to be used when retrieving anILcdRasterfrom anILcdMultilevelRaster. -
retrieveRasterFromMultiLevelRaster
protected ILcdRaster retrieveRasterFromMultiLevelRaster(ILcdMultilevelRaster aMultiLevelRaster, ILcdPoint aModelPoint, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView) Deprecated.Retrieves from aMultiLevelRaster in aGXYLayer in aGXYView a single raster that is touched by aModelPoint. If RasterLevelToUse has been set and is a valid index, the raster with this index is retrieved, otherwise a raster is selected depending on the zoom level of aGXYView- Parameters:
aMultiLevelRaster- TheILcdMultilevelRasterto retrieve the raster fromaModelPoint- The point that needs to be touched by the raster that is returnedaGXYLayer- TheILcdGXYLayerthat contains aMultiLevelRasteraGXYView- TheILcdGXYViewthat contains aMultiLevelRaster- Returns:
- An
ILcdRasterif one can be found that fits the conditions, null otherwise
-
retrieveRasterFromMultiLevelRaster
protected ILcdRaster retrieveRasterFromMultiLevelRaster(ILcdMultilevelRaster aMultiLevelRaster, ILcdBounds aModelBounds, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView) Deprecated.Retrieves from aMultiLevelRaster in aGXYLayer in aGXYView a single raster that is touched by aModelBounds. If RasterLevelToUse has been set and is valid, the raster with this index is retrieved, otherwise a raster is selected depending on the zoom level of aGXYView- Parameters:
aMultiLevelRaster- TheILcdMultilevelRasterto retrieve the raster fromaModelBounds- The bounds that need to be touched by the raster that is returnedaGXYLayer- TheILcdGXYLayerthat contains aMultiLevelRasteraGXYView- TheILcdGXYViewthat contains aMultiLevelRaster- Returns:
- An
ILcdRasterif one can be found that fits the conditions, null otherwise
-
retrieveTouchedRaster
public ILcdRaster retrieveTouchedRaster(ILcdPoint aModelPoint, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView) Deprecated.Retrieves anILcdRasterfrom aGXYLayer in aGXYView that is touched by aModelPoint. If anILcdRasteris touched, it is returned. If anILcdMultilevelRasteris touched, retrieveRasterFromMultiLevelRaster( ILcdGXYMultiLevelRaster ) is called- Parameters:
aModelPoint- The point that has to be touched by the returned rasteraGXYLayer- The layer that needs to contain the returned rasteraGXYView- The view that contains the returned raster- Returns:
- An
ILcdRasterif one is found, null otherwise
-
retrieveTouchedRasters
Deprecated.Retrieves allILcdRasterin aGXYView that are touched by aModelBounds. If anILcdRasteris touched, it is returned. If anILcdMultilevelRasteris touched, retrieveRasterFromMultiLevelRaster( ILcdGXYMultiLevelRaster ) is called- Parameters:
aModelBounds- The bounds that have to be touched by the returned rastersaGXYView- The view that contains the returned rasters- Returns:
- An
ILcdRaster[] if at least one raster is found, null otherwise
-
retrieveGXYLayer
Deprecated.Returns aILcdGXYLayerthat satisfies the following conditions:- It is contained in aGXYView
- It has a model with a model descriptor with a type name that is either "DTED" or "DMED".
- It contains a raster that is touched by aModelPoint.
- Returns:
- An
ILcdGXYLayerif one is found that satisfies the above conditions, null otherwise.
-