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
-
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.Gets the raster level to be used when retrieving anILcdRaster
from anILcdMultilevelRaster
.boolean
Deprecated.This method has been deprecated.retrieveGXYLayer
(ILcdPoint aModelPoint, ILcdGXYView aGXYView) Deprecated.Returns aILcdGXYLayer
that 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 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.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.retrieveTouchedRaster
(ILcdPoint aModelPoint, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView) Deprecated.Retrieves anILcdRaster
from aGXYLayer in aGXYView that is touched by aModelPoint.retrieveTouchedRasters
(ILcdBounds aModelBounds, ILcdGXYView aGXYView) Deprecated.Retrieves allILcdRaster
in aGXYView that are touched by aModelBounds.static void
setClassTraceOn
(boolean aClassTraceOn) Deprecated.This method has been deprecated.void
setRasterLevelToUse
(int aRasterLevelToUse) Deprecated.Sets the raster level to be used when retrieving anILcdRaster
from anILcdMultilevelRaster
.void
setTraceOn
(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 istrue
then 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 eithertrue
orfalse
as argument automatically turns off tracing for all other class instances for whichsetTraceOn
has not been called. If the argument isfalse
then 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.Returnstrue
if 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 anILcdRaster
from anILcdMultilevelRaster
.- Parameters:
aRasterLevelToUse
- The raster level to use.
-
getRasterLevelToUse
public int getRasterLevelToUse()Deprecated.Gets the raster level to be used when retrieving anILcdRaster
from 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
- TheILcdMultilevelRaster
to retrieve the raster fromaModelPoint
- The point that needs to be touched by the raster that is returnedaGXYLayer
- TheILcdGXYLayer
that contains aMultiLevelRasteraGXYView
- TheILcdGXYView
that contains aMultiLevelRaster- Returns:
- An
ILcdRaster
if 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
- TheILcdMultilevelRaster
to retrieve the raster fromaModelBounds
- The bounds that need to be touched by the raster that is returnedaGXYLayer
- TheILcdGXYLayer
that contains aMultiLevelRasteraGXYView
- TheILcdGXYView
that contains aMultiLevelRaster- Returns:
- An
ILcdRaster
if one can be found that fits the conditions, null otherwise
-
retrieveTouchedRaster
public ILcdRaster retrieveTouchedRaster(ILcdPoint aModelPoint, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView) Deprecated.Retrieves anILcdRaster
from aGXYLayer in aGXYView that is touched by aModelPoint. If anILcdRaster
is touched, it is returned. If anILcdMultilevelRaster
is 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
ILcdRaster
if one is found, null otherwise
-
retrieveTouchedRasters
Deprecated.Retrieves allILcdRaster
in aGXYView that are touched by aModelBounds. If anILcdRaster
is touched, it is returned. If anILcdMultilevelRaster
is 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 aILcdGXYLayer
that 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
ILcdGXYLayer
if one is found that satisfies the above conditions, null otherwise.
-