Package ucar.unidata.idv.control
Class VerticalProfileInfo
java.lang.Object
ucar.unidata.idv.control.VerticalProfileInfo
Class VerticalProfileInfo holds information for the multiple vertical profiles
- Version:
- $Revision: 1.2 $
- Author:
- IDV Development Team
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorConstructor -
Method Summary
Modifier and TypeMethodDescriptionGet the Unit property.Get the data instanceGet the last profileGet the LineState property.Get the last profilegetProfile(LatLonPoint llp) Get the profile we last used.intGet the SamplingMode property.getUnit()Get the Unit property.voidsetAltitudeUnit(Unit value) Set the Unit property.protected voidSet the data instancevoidsetLineState(LineState value) Set the LineState property.protected voidsetProfile(FieldImpl profile, LatLonPoint llp) Set the profile we last usedvoidsetSamplingMode(int value) Set the SamplingMode property.voidSet the Unit property.
-
Constructor Details
-
VerticalProfileInfo
public VerticalProfileInfo()Default Constructor -
VerticalProfileInfo
Constructor- Parameters:
control- The control we're in. Just use it for getting the sampling mode
-
-
Method Details
-
getUnit
Get the Unit property.- Returns:
- The Unit
-
setUnit
Set the Unit property.- Parameters:
value- The new value for Unit
-
getAltitudeUnit
Get the Unit property.- Returns:
- The Unit
-
setAltitudeUnit
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
Get the data instance- Returns:
- The data instance
-
setDataInstance
Set the data instance- Parameters:
di- The data instance
-
setLineState
Set the LineState property.- Parameters:
value- The new value for LineState
-
getLineState
Get the LineState property.- Returns:
- The LineState
-
setProfile
Set the profile we last used- Parameters:
profile- profilellp- The point we sampled on
-
getProfile
Get the last profile- Returns:
- profile
-
getLastPoint
Get the last profile- Returns:
- profile
-
getProfile
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
-