Package hec.map

Class ElevationGlyphDataRecord

All Implemented Interfaces:
AsciiSerializable, FieldAccessor, Serializable, Cloneable, Comparable, Observer, Modifiable, ColorContourRecord
Direct Known Subclasses:
AiDemGlyphDataRecord, DemGlyphDataRecord, GridGlyphDataRecord, NetTinGlyphDataRec, RasterGlyphDataRecord, TmsGlyphDataRecord

public class ElevationGlyphDataRecord extends GlyphDataRecord implements Cloneable, ColorContourRecord, Serializable, AsciiSerializable
See Also:
  • Field Details

    • _set

      protected boolean _set
    • _autoContour

      protected boolean _autoContour
    • _colorContour

      protected ColorContour _colorContour
    • _aspectEnabled

      protected boolean _aspectEnabled
    • _aspectAngle

      protected double _aspectAngle
    • _asimuthAngle

      protected double _asimuthAngle
    • _elevFactor

      protected double _elevFactor
    • _drawEdges

      protected boolean _drawEdges
    • _numberConturs

      protected int _numberConturs
    • _alpha

      protected float _alpha
    • _ticInterval

      protected double _ticInterval
    • _units

      protected String _units
    • _unitSystem

      protected int _unitSystem
  • Constructor Details

    • ElevationGlyphDataRecord

      public ElevationGlyphDataRecord()
  • Method Details

    • setGlyph

      public void setGlyph(ElevationGlyph g)
    • setSet

      public void setSet(boolean b)
    • isSet

      public boolean isSet()
    • setMap

      public void setMap(Collection maps)
      Overrides:
      setMap in class GlyphDataRecord
    • clone

      public Object clone()
      Description copied from class: NamedType
      Creates a new object of the same class as this object.
      It then initializes each of the new object's fields by assigning it the same value as the corresponding field in this object. No
      constructor is called.
      Overrides:
      clone in class GlyphDataRecord
    • getAutoContour

      public boolean getAutoContour()
    • setAutoContour

      public void setAutoContour(boolean tf)
    • getColorContour

      public ColorContour getColorContour()
      Specified by:
      getColorContour in interface ColorContourRecord
      Returns:
    • setColorContour

      public void setColorContour(ColorContour c)
    • getBrightness

      public double getBrightness()
    • setBrightness

      public void setBrightness(double d)
    • getSaturation

      public double getSaturation()
    • setSaturation

      public void setSaturation(double d)
    • getAspectEnabled

      public boolean getAspectEnabled()
    • setAspectEnabled

      public void setAspectEnabled(boolean tf)
    • getAspectAngle

      public double getAspectAngle()
    • setAspectAngle

      public void setAspectAngle(double d)
    • getAsimuthAngle

      public double getAsimuthAngle()
    • setAsimuthAngle

      public void setAsimuthAngle(double d)
    • getElevFactor

      public double getElevFactor()
    • setElevFactor

      public void setElevFactor(double d)
    • getDrawEdges

      public boolean getDrawEdges()
    • setDrawEdges

      public void setDrawEdges(boolean d)
    • getNumberConturs

      public int getNumberConturs()
    • setNumberConturs

      public void setNumberConturs(int d)
    • getMinClipping

      public Clipping getMinClipping()
    • setMinClipping

      public void setMinClipping(Clipping c)
    • getMaxClipping

      public Clipping getMaxClipping()
    • setMaxClipping

      public void setMaxClipping(Clipping c)
    • getScaleToClipping

      public boolean getScaleToClipping()
    • setScaleToClipping

      public void setScaleToClipping(boolean b)
    • getTicInterval

      public double getTicInterval()
      Specified by:
      getTicInterval in interface ColorContourRecord
      Returns:
    • setTicInterval

      public void setTicInterval(double d)
    • getSet

      public boolean getSet()
    • getAlpha

      public float getAlpha()
      Specified by:
      getAlpha in interface ColorContourRecord
      Returns:
    • setAlpha

      public void setAlpha(float f)
    • getUnits

      public String getUnits()
      Specified by:
      getUnits in interface ColorContourRecord
      Returns:
    • setUnits

      public void setUnits(String units)
    • getUnitSystem

      public int getUnitSystem()
      Specified by:
      getUnitSystem in interface ColorContourRecord
      Returns:
    • setUnitSystem

      public void setUnitSystem(int unitSystem)
    • read0

      protected void read0(String type, String param, BufferedReader input) throws IOException
      Description copied from class: GlyphDataRecord
      The abstract read which the concrete subclass must define.
      Specified by:
      read0 in class GlyphDataRecord
      Throws:
      IOException
    • write0

      protected void write0(BufferedWriter output) throws IOException
      Description copied from class: GlyphDataRecord
      The abstract write which the concrete subclass must define.
      Specified by:
      write0 in class GlyphDataRecord
      Throws:
      IOException
    • getParamId

      public int getParamId()
      Specified by:
      getParamId in interface ColorContourRecord
      Returns:
    • getFieldObject

      public Object getFieldObject(Field fld)
      Description copied from interface: FieldAccessor
      This method allows access to java.lang.reflect.Field objects within the implementing class.
      Specified by:
      getFieldObject in interface FieldAccessor
      Overrides:
      getFieldObject in class GlyphDataRecord
      Parameters:
      fld - The field to get.
      Returns:
      The data object that is stored in the given field
    • setFieldObject

      public boolean setFieldObject(Field fld, Object fobj)
      Description copied from interface: FieldAccessor
      This allows access to fields withing the implementing object to set there data.
      Specified by:
      setFieldObject in interface FieldAccessor
      Overrides:
      setFieldObject in class GlyphDataRecord
      Parameters:
      fld - The java field object representing the member field to be set
      fobj - The data to set in that field
      Returns:
      returns true if successful