visad.bio
Class ArbitrarySlice
java.lang.Object
visad.bio.PlaneSelector
visad.bio.ArbitrarySlice
public class ArbitrarySlice
- extends PlaneSelector
ArbitrarySlice is a plane selector that specifies
an arbitrary slice through a 3-D box.
Field Summary |
protected static double |
EPS
Error range when detecting colocated points. |
Fields inherited from class visad.bio.PlaneSelector |
btype, cell, display, domain, gtype, lines, lineValues, listeners, plane, range, refs, renderers, rtype, visible, x1, x2, x3, xtype, y1, y2, y3, ytype, z1, z2, z3, ztype |
Method Summary |
protected boolean |
computePlane(RealTuple[] tuple)
Computes the appropriate plane from the current endpoints. |
Field |
extractSlice(FieldImpl field,
int resx,
int resy,
int x2,
int y2)
Extracts a field using the current plane, at the given resolution. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EPS
protected static final double EPS
- Error range when detecting colocated points.
- See Also:
- Constant Field Values
ArbitrarySlice
public ArbitrarySlice(DisplayImpl display)
- Constructs a arbitrary slice selector.
extractSlice
public Field extractSlice(FieldImpl field,
int resx,
int resy,
int x2,
int y2)
throws VisADException,
java.rmi.RemoteException
- Extracts a field using the current plane, at the given resolution.
- Throws:
VisADException
java.rmi.RemoteException
computePlane
protected boolean computePlane(RealTuple[] tuple)
throws VisADException,
java.rmi.RemoteException
- Computes the appropriate plane from the current endpoints.
- Overrides:
computePlane
in class PlaneSelector
- Throws:
VisADException
java.rmi.RemoteException