public class TLcdTeaViewUtil extends Object
ALcdTerrainElevationProvider
and its subclasses
are better suited.Constructor and Description |
---|
TLcdTeaViewUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getRasterLevelToUse()
Deprecated.
Gets the raster level to be used when retrieving an
ILcdRaster
from an ILcdMultilevelRaster . |
boolean |
isTraceOn()
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
ILcdGXYLayer |
retrieveGXYLayer(ILcdPoint aModelPoint,
ILcdGXYView aGXYView)
Deprecated.
Returns a
ILcdGXYLayer 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.
|
ILcdRaster |
retrieveTouchedRaster(ILcdPoint aModelPoint,
ILcdGXYLayer aGXYLayer,
ILcdGXYView aGXYView)
Deprecated.
Retrieves an
ILcdRaster from aGXYLayer in aGXYView that is
touched by aModelPoint. |
ILcdRaster[] |
retrieveTouchedRasters(ILcdBounds aModelBounds,
ILcdGXYView aGXYView)
Deprecated.
Retrieves all
ILcdRaster in aGXYView that are touched by
aModelBounds. |
static void |
setClassTraceOn(boolean aClassTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
void |
setRasterLevelToUse(int aRasterLevelToUse)
Deprecated.
Sets the raster level to be used when retrieving an
ILcdRaster
from an ILcdMultilevelRaster . |
void |
setTraceOn(boolean aTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
public static void setClassTraceOn(boolean aClassTraceOn)
true
then all log messages are recorded, otherwise only
the informative, warning and error messages are recorded.aClassTraceOn
- if true then all log messages are recorded,
otherwise only the informative, warning and error messages are recorded.public void setTraceOn(boolean aTraceOn)
true
or false
as argument automatically turns
off tracing for all other class instances for which
setTraceOn
has not been called.
If the argument is false
then only the informative, warning
and error log messages are recorded.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.public boolean isTraceOn()
true
if tracing is enabled for this class.public void setRasterLevelToUse(int aRasterLevelToUse)
ILcdRaster
from an ILcdMultilevelRaster
.aRasterLevelToUse
- The raster level to use.public int getRasterLevelToUse()
ILcdRaster
from an ILcdMultilevelRaster
.protected ILcdRaster retrieveRasterFromMultiLevelRaster(ILcdMultilevelRaster aMultiLevelRaster, ILcdPoint aModelPoint, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView)
aMultiLevelRaster
- The ILcdMultilevelRaster
to retrieve
the raster fromaModelPoint
- The point that needs to be touched by the raster that is
returnedaGXYLayer
- The ILcdGXYLayer
that contains aMultiLevelRasteraGXYView
- The ILcdGXYView
that contains aMultiLevelRasterILcdRaster
if one can be found that fits the conditions,
null otherwiseprotected ILcdRaster retrieveRasterFromMultiLevelRaster(ILcdMultilevelRaster aMultiLevelRaster, ILcdBounds aModelBounds, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView)
aMultiLevelRaster
- The ILcdMultilevelRaster
to retrieve
the raster fromaModelBounds
- The bounds that need to be touched by the raster that is
returnedaGXYLayer
- The ILcdGXYLayer
that contains aMultiLevelRasteraGXYView
- The ILcdGXYView
that contains aMultiLevelRasterILcdRaster
if one can be found that fits the conditions,
null otherwisepublic ILcdRaster retrieveTouchedRaster(ILcdPoint aModelPoint, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView)
ILcdRaster
from aGXYLayer in aGXYView that is
touched by aModelPoint.
If an ILcdRaster
is touched, it is returned.
If an ILcdMultilevelRaster
is touched,
retrieveRasterFromMultiLevelRaster( ILcdGXYMultiLevelRaster ) is calledaModelPoint
- 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 rasterILcdRaster
if one is found, null otherwisepublic ILcdRaster[] retrieveTouchedRasters(ILcdBounds aModelBounds, ILcdGXYView aGXYView)
ILcdRaster
in aGXYView that are touched by
aModelBounds.
If an ILcdRaster
is touched, it is returned.
If an ILcdMultilevelRaster
is touched,
retrieveRasterFromMultiLevelRaster( ILcdGXYMultiLevelRaster ) is calledaModelBounds
- The bounds that have to be touched by the returned rastersaGXYView
- The view that contains the returned rastersILcdRaster
[] if at least one raster is found,
null otherwisepublic ILcdGXYLayer retrieveGXYLayer(ILcdPoint aModelPoint, ILcdGXYView aGXYView)
ILcdGXYLayer
that satisfies the following conditions:
ILcdGXYLayer
if one is found that satisfies the
above conditions, null otherwise.