public class PointProbe extends SelectorDisplayable
PROPERTY_POSITION
cnt, label
DISPLAY, parent, SCALAR_MAP_SET
Constructor and Description |
---|
PointProbe()
Construct a point probe.
|
PointProbe(double x,
double y,
double z)
Construct a point probe at the location specified
|
PointProbe(visad.RealTuple position)
Construct a probe at the position specified.
|
Modifier and Type | Method and Description |
---|---|
float |
getPointScale()
Get the point scale
|
visad.RealTuple |
getPosition()
Get the position of the probe.
|
SelectorPoint |
getSelectorPoint()
Get the selector point
|
void |
setAutoSize(boolean yesorno)
Set whether the marker should automatically resize as the
display is zoomed.
|
void |
setFixed(boolean x,
boolean y,
boolean z)
Set if any of the axis movements are fixed
|
void |
setMarker(java.lang.String marker)
Set the type of marker used for the probe.
|
void |
setMarker(visad.VisADGeometryArray marker)
Set the type of marker used for the probe.
|
void |
setPosition(double x,
double y)
Set the probe's x/y position
|
void |
setPosition(visad.RealTuple position)
Set the probe's position.
|
addPropertyChangeListener, getAutoSize, getFiringEvent, getOkToFireEvents, getPointSize, notifyListenersOfMove, removePropertyChangeListener, setOkToFireEvents, setPointSize
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, toString
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
public PointProbe() throws visad.VisADException, java.rmi.RemoteException
java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic PointProbe(double x, double y, double z) throws visad.VisADException, java.rmi.RemoteException
x
- x positiony
- y positionz
- z positionjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic PointProbe(visad.RealTuple position) throws visad.VisADException, java.rmi.RemoteException
position
- position of the probejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic SelectorPoint getSelectorPoint()
public void setFixed(boolean x, boolean y, boolean z)
x
- x fixedy
- y fixedz
- z fixedpublic float getPointScale()
public void setMarker(visad.VisADGeometryArray marker) throws visad.VisADException, java.rmi.RemoteException
marker
- marker as a VisADGeometryArrayjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic void setMarker(java.lang.String marker) throws visad.VisADException, java.rmi.RemoteException
marker
- marker from ucar.visad.ShapeUtilityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic void setAutoSize(boolean yesorno) throws visad.VisADException, java.rmi.RemoteException
setAutoSize
in class SelectorDisplayable
yesorno
- true to automatically resize the marker.java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic visad.RealTuple getPosition() throws visad.VisADException, java.rmi.RemoteException
java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic void setPosition(double x, double y) throws visad.VisADException, java.rmi.RemoteException
x
- x positiony
- y positionjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- problem creating VisAD objectpublic void setPosition(visad.RealTuple position) throws visad.VisADException, java.rmi.RemoteException
position
- position of the probejava.rmi.RemoteException
visad.VisADException