public class VerticalProfileInfo
extends java.lang.Object
Constructor and Description |
---|
VerticalProfileInfo()
Default Constructor
|
VerticalProfileInfo(VerticalProfileControl control)
Constructor
|
Modifier and Type | Method and Description |
---|---|
visad.Unit |
getAltitudeUnit()
Get the Unit property.
|
GridDataInstance |
getDataInstance()
Get the data instance
|
visad.georef.LatLonPoint |
getLastPoint()
Get the last profile
|
LineState |
getLineState()
Get the LineState property.
|
visad.FieldImpl |
getProfile()
Get the last profile
|
visad.FieldImpl |
getProfile(visad.georef.LatLonPoint llp)
Get the profile we last used.
|
int |
getSamplingMode()
Get the SamplingMode property.
|
visad.Unit |
getUnit()
Get the Unit property.
|
void |
setAltitudeUnit(visad.Unit value)
Set the Unit property.
|
protected void |
setDataInstance(GridDataInstance di)
Set the data instance
|
void |
setLineState(LineState value)
Set the LineState property.
|
protected void |
setProfile(visad.FieldImpl profile,
visad.georef.LatLonPoint llp)
Set the profile we last used
|
void |
setSamplingMode(int value)
Set the SamplingMode property.
|
void |
setUnit(visad.Unit value)
Set the Unit property.
|
public VerticalProfileInfo()
public VerticalProfileInfo(VerticalProfileControl control)
control
- The control we're in. Just use it for
getting the sampling modepublic visad.Unit getUnit()
public void setUnit(visad.Unit value)
value
- The new value for Unitpublic visad.Unit getAltitudeUnit()
public void setAltitudeUnit(visad.Unit value)
value
- The new value for Unitpublic int getSamplingMode()
public void setSamplingMode(int value)
value
- The new value for SamplingModepublic GridDataInstance getDataInstance()
protected void setDataInstance(GridDataInstance di)
di
- The data instancepublic void setLineState(LineState value)
value
- The new value for LineStatepublic LineState getLineState()
protected void setProfile(visad.FieldImpl profile, visad.georef.LatLonPoint llp)
profile
- profilellp
- The point we sampled onpublic visad.FieldImpl getProfile()
public visad.georef.LatLonPoint getLastPoint()
public visad.FieldImpl getProfile(visad.georef.LatLonPoint llp)
llp
- The point we want to sample on