public abstract class Trajectory extends LineDrawing
DisplayableData.DragAdapter| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TRAJECTORY
The name of the trajectory property.
|
COLOR, LINE_STYLE, LINE_WIDTH, POINT_SIZEMANIPULABLE, renderer, VISIBLEDISPLAY, parent, SCALAR_MAP_SET| Modifier | Constructor and Description |
|---|---|
protected |
Trajectory(java.lang.String name,
TemperatureCalculatorFactory factory)
Constructs from a name and a factory for creating a temperature
calculator.
|
protected |
Trajectory(java.lang.String name,
TemperatureCalculatorFactory factory,
boolean descending)
Constructs from a name, a factory for creating a temperature calculator,
and whether or not the trajectory is a descending one.
|
protected |
Trajectory(Trajectory that)
Constructs from another instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the trajectory.
|
visad.RealType |
getPressureType()
Returns the type of the pressure quantity.
|
visad.RealType |
getTemperatureType()
Returns the type of the temperature quantity.
|
visad.FlatField |
getTrajectory()
Returns the trajectory.
|
protected void |
setTrajectory(visad.FlatField trajectory)
Sets the parcel's trajectory.
|
void |
setTrajectory(visad.Real startPressure,
visad.Real startTemperature,
visad.Real endPressure)
Sets the parcel's trajectory from the starting pressre and temperature,
and the ending pressure.
|
getColor, getLineStyle, getLineWidth, getPointSize, setColor, setHSV, setHSV, setLineStyle, setLineWidth, setPointSize, setRGB, setRGB, setRGBA, setRGBAaddAction, cloneForDisplay, dataChange, destroy, getActive, getAnimationSet, getData, getDataRenderer, getName, hasData, hasDataObject, isManipulable, isPickable, myAddConstantMaps, myAddDataReferences, myRemoveDataReferences, removeAction, setActive, setData, setDataReference, setDragAdapter, setManipulable, setPickable, setPointMode, setUseFastRendering, setVisible, showme, toStringaddConstantMap, addConstantMaps, addDataReferences, addPropertyChangeListener, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, isActive, isUnitCompatible, isVisible, logException, removeConstantMap, removeDataReferences, removePropertyChangeListener, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setAdjustFlow, setColorPalette, setColorPalette, setColorUnit, setConstantPosition, setContourInfo, setDisplay, setDisplayActive, setDisplayInactive, setDisplayMaster, setDisplayUnit, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange, setSelectedRange, setUseTimesInAnimation, toFrontpublic static java.lang.String TRAJECTORY
protected Trajectory(java.lang.String name,
TemperatureCalculatorFactory factory)
throws java.rmi.RemoteException,
visad.VisADException
name - The name for the displayable.factory - The factory for creating a temperature
calculator.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected Trajectory(java.lang.String name,
TemperatureCalculatorFactory factory,
boolean descending)
throws java.rmi.RemoteException,
visad.VisADException
name - The name for the displayable.factory - The factory for creating a temperature
calculator.descending - Whether or not the trajectory is a descending
one (i.e towards higher pressures).visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.protected Trajectory(Trajectory that) throws java.rmi.RemoteException, visad.VisADException
that - The other instance.visad.VisADException - if a core VisAD failure occurs.java.rmi.RemoteException - if a Java RMI failure occurs.public void setTrajectory(visad.Real startPressure,
visad.Real startTemperature,
visad.Real endPressure)
throws visad.TypeException,
visad.VisADException,
java.rmi.RemoteException
startPressure - The starting pressure.startTemperature - The starting temperature.endPressure - The ending pressure.visad.TypeException - An argument has the wrong type.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void clear()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public visad.FlatField getTrajectory()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public visad.RealType getPressureType()
public visad.RealType getTemperatureType()
protected void setTrajectory(visad.FlatField trajectory)
throws visad.VisADException,
java.rmi.RemoteException
trajectory - The parcel's (p -> T) trajectory.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.