Class TLcdTeaViewUtil

java.lang.Object
com.luciad.tea.TLcdTeaViewUtil

public class TLcdTeaViewUtil extends Object
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 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 is true 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 either 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.
      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.
      Returns true 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 an ILcdRaster from an ILcdMultilevelRaster.
      Parameters:
      aRasterLevelToUse - The raster level to use.
    • getRasterLevelToUse

      public int getRasterLevelToUse()
      Deprecated.
      Gets the raster level to be used when retrieving an ILcdRaster from an ILcdMultilevelRaster.
    • 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 - The ILcdMultilevelRaster to retrieve the raster from
      aModelPoint - The point that needs to be touched by the raster that is returned
      aGXYLayer - The ILcdGXYLayer that contains aMultiLevelRaster
      aGXYView - The ILcdGXYView 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 - The ILcdMultilevelRaster to retrieve the raster from
      aModelBounds - The bounds that need to be touched by the raster that is returned
      aGXYLayer - The ILcdGXYLayer that contains aMultiLevelRaster
      aGXYView - The ILcdGXYView 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 an 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 called
      Parameters:
      aModelPoint - The point that has to be touched by the returned raster
      aGXYLayer - The layer that needs to contain the returned raster
      aGXYView - The view that contains the returned raster
      Returns:
      An ILcdRaster if one is found, null otherwise
    • retrieveTouchedRasters

      public ILcdRaster[] retrieveTouchedRasters(ILcdBounds aModelBounds, ILcdGXYView aGXYView)
      Deprecated.
      Retrieves all ILcdRaster in aGXYView that are touched by aModelBounds. If an ILcdRaster is touched, it is returned. If an ILcdMultilevelRaster is touched, retrieveRasterFromMultiLevelRaster( ILcdGXYMultiLevelRaster ) is called
      Parameters:
      aModelBounds - The bounds that have to be touched by the returned rasters
      aGXYView - The view that contains the returned rasters
      Returns:
      An ILcdRaster[] if at least one raster is found, null otherwise
    • retrieveGXYLayer

      public 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".
      • It contains a raster that is touched by aModelPoint.
      Returns:
      An ILcdGXYLayer if one is found that satisfies the above conditions, null otherwise.