Package ucar.visad.display
Class PointProbe
java.lang.Object
ucar.visad.display.Displayable
ucar.visad.display.CompositeDisplayable
ucar.visad.display.SelectorDisplayable
ucar.visad.display.PointProbe
Class for a probe.
- Version:
- $Revision: 1.11 $
- Author:
- Don Murray
-
Field Summary
Fields inherited from class ucar.visad.display.SelectorDisplayable
PROPERTY_POSITIONFields inherited from class ucar.visad.display.CompositeDisplayable
cnt, labelFields inherited from class ucar.visad.display.Displayable
DISPLAY, parent, SCALAR_MAP_SET -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a point probe.PointProbe(double x, double y, double z) Construct a point probe at the location specifiedPointProbe(RealTuple position) Construct a probe at the position specified. -
Method Summary
Modifier and TypeMethodDescriptionfloatGet the point scaleGet the position of the probe.Get the selector pointvoidsetAutoSize(boolean yesorno) Set whether the marker should automatically resize as the display is zoomed.voidsetFixed(boolean x, boolean y, boolean z) Set if any of the axis movements are fixedvoidSet the type of marker used for the probe.voidsetMarker(VisADGeometryArray marker) Set the type of marker used for the probe.voidsetPosition(double x, double y) Set the probe's x/y positionvoidsetPosition(RealTuple position) Set the probe's position.Methods inherited from class ucar.visad.display.SelectorDisplayable
addPropertyChangeListener, getAutoSize, getFiringEvent, getOkToFireEvents, getPointSize, notifyListenersOfMove, removePropertyChangeListener, setOkToFireEvents, setPointSizeMethods inherited from class ucar.visad.display.CompositeDisplayable
addConstantMap, addDisplayable, addListDataListener, clearDisplayables, cloneForDisplay, debug, destroy, destroyAll, displayableCount, fireListDataContentsChanged, fireListDataIntervalAdded, fireListDataIntervalRemoved, getAnimationSet, getDisplayable, indexOf, iterator, lastDisplayable, myAddDataReferences, myRemoveDataReferences, removeDisplayable, removeDisplayable, removeListDataListener, setAdjustFlow, setColor, setColorPalette, setColorUnit, setConstantPosition, setDisplay, setDisplayable, setDisplayMaster, setDisplayUnit, setLineWidth, setManipulable, setPointMode, setSelectedRange, setUseFastRendering, setUseTimesInAnimation, setVisible, setVisible, setVisible, toFront, toStringMethods inherited from class ucar.visad.display.Displayable
addConstantMaps, addDataReferences, addPropertyChangeListener, addRefsInvoked, addScalarMap, addScalarMaps, applyColorUnit, applyDisplayUnit, checkUnit, combineConstantMaps, destroyDisplayable, firePropertyChange, firePropertyChange, fireScalarMapSetChange, getColorUnit, getConstantMaps, getData, getDestroyed, getDisplay, getDisplayMaster, getDisplayUnit, getPointMode, getScalarMap, getScalarMap, getScalarMap, getScalarMapSet, getUseFastRendering, getUseTimesInAnimation, getVisible, hasDataObject, isActive, isUnitCompatible, isVisible, logException, myAddConstantMaps, removeConstantMap, removeDataReferences, removePropertyChangeListener, removeScalarMap, replaceScalarMap, setColorPalette, setContourInfo, setDisplayActive, setDisplayInactive, setOverrideAnimationSet, setOverrideAnimationSet, setParent, setRangeForColor, setRangeForColor, setScalarMapSet, setSelectedRange
-
Constructor Details
-
PointProbe
Construct a point probe.- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
PointProbe
Construct a point probe at the location specified- Parameters:
x- x positiony- y positionz- z position- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
PointProbe
Construct a probe at the position specified.- Parameters:
position- position of the probe- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
-
Method Details
-
getSelectorPoint
Get the selector point- Returns:
- the selector point
-
setFixed
public void setFixed(boolean x, boolean y, boolean z) Set if any of the axis movements are fixed- Parameters:
x- x fixedy- y fixedz- z fixed
-
getPointScale
public float getPointScale()Get the point scale- Returns:
- the point scale
-
setMarker
Set the type of marker used for the probe.- Parameters:
marker- marker as a VisADGeometryArray- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
setMarker
Set the type of marker used for the probe.- Parameters:
marker- marker from ucar.visad.ShapeUtility- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
setAutoSize
Set whether the marker should automatically resize as the display is zoomed.- Overrides:
setAutoSizein classSelectorDisplayable- Parameters:
yesorno- true to automatically resize the marker.- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
getPosition
Get the position of the probe.- Returns:
- probe's position
- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
setPosition
Set the probe's x/y position- Parameters:
x- x positiony- y position- Throws:
RemoteException- Java RMI errorVisADException- problem creating VisAD object
-
setPosition
Set the probe's position.- Parameters:
position- position of the probe- Throws:
RemoteExceptionVisADException
-