Class VerticalProfileInfo

java.lang.Object
ucar.unidata.idv.control.VerticalProfileInfo

public class VerticalProfileInfo extends Object
Class VerticalProfileInfo holds information for the multiple vertical profiles
Version:
$Revision: 1.2 $
Author:
IDV Development Team
  • Constructor Details

    • VerticalProfileInfo

      public VerticalProfileInfo()
      Default Constructor
    • VerticalProfileInfo

      public VerticalProfileInfo(VerticalProfileControl control)
      Constructor
      Parameters:
      control - The control we're in. Just use it for getting the sampling mode
  • Method Details

    • getUnit

      public Unit getUnit()
      Get the Unit property.
      Returns:
      The Unit
    • setUnit

      public void setUnit(Unit value)
      Set the Unit property.
      Parameters:
      value - The new value for Unit
    • getAltitudeUnit

      public Unit getAltitudeUnit()
      Get the Unit property.
      Returns:
      The Unit
    • setAltitudeUnit

      public void setAltitudeUnit(Unit value)
      Set the Unit property.
      Parameters:
      value - The new value for Unit
    • getSamplingMode

      public int getSamplingMode()
      Get the SamplingMode property.
      Returns:
      The SamplingMode
    • setSamplingMode

      public void setSamplingMode(int value)
      Set the SamplingMode property.
      Parameters:
      value - The new value for SamplingMode
    • getDataInstance

      public GridDataInstance getDataInstance()
      Get the data instance
      Returns:
      The data instance
    • setDataInstance

      protected void setDataInstance(GridDataInstance di)
      Set the data instance
      Parameters:
      di - The data instance
    • setLineState

      public void setLineState(LineState value)
      Set the LineState property.
      Parameters:
      value - The new value for LineState
    • getLineState

      public LineState getLineState()
      Get the LineState property.
      Returns:
      The LineState
    • setProfile

      protected void setProfile(FieldImpl profile, LatLonPoint llp)
      Set the profile we last used
      Parameters:
      profile - profile
      llp - The point we sampled on
    • getProfile

      public FieldImpl getProfile()
      Get the last profile
      Returns:
      profile
    • getLastPoint

      public LatLonPoint getLastPoint()
      Get the last profile
      Returns:
      profile
    • getProfile

      public FieldImpl getProfile(LatLonPoint llp)
      Get the profile we last used. If The given earth location is not the same as the location of the last point we sampled on then null out the sample and return null.
      Parameters:
      llp - The point we want to sample on
      Returns:
      sample