|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.bio.PlaneSelector
visad.bio.AlignmentPlane
public class AlignmentPlane
AlignmentPlane maintains an arbitrary plane specifying a spatial alignment in 3-D.
Field Summary | |
---|---|
static int |
ADJUST_MODE
Mode where alignment plane can be moved but not resized. |
static int |
APPLY_MODE
Mode where alignment plane settings are applied to the display. |
protected VisBio |
bio
VisBio frame. |
protected double |
d_dist
Fixed distances between endpoints. |
protected double |
dist12
Fixed distances between endpoints. |
protected double |
dist13
Fixed distances between endpoints. |
protected double |
dist23
Fixed distances between endpoints. |
protected double |
dist34
Fixed distances between endpoints. |
protected int |
index
Current timestep value. |
protected int |
mode
Alignment plane mode. |
protected int |
numIndices
Number of timesteps. |
static int |
OFF_MODE
Mode where drift correction is off. |
protected double[][][] |
pos
Position of plane selector for each timestep. |
static int |
SET_MODE
Mode where user has free control over alignment plane endpoints. |
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 |
Constructor Summary | |
---|---|
AlignmentPlane(VisBio biovis,
DisplayImpl display)
Constructs a plane selector. |
Method Summary | |
---|---|
protected void |
alignDisplay(int old_index)
Aligns the display to match the alignment plane. |
protected double[] |
descale(double[] vals)
Convert point from scaled to non-scaled. |
protected double[] |
getScale()
Gets coordinate system scale. |
protected boolean |
refresh()
Refreshes the plane data from its endpoint locations. |
protected void |
setData(int i,
double[] vals)
Moves the given reference point. |
void |
setIndex(int index)
Sets the current timestep. |
void |
setMode(int mode)
Sets whether to lock endpoint distances to maintain size and shape. |
protected void |
setPos(int i,
double[] vals)
Updates internal position values. |
Methods inherited from class visad.bio.PlaneSelector |
---|
addListener, computePlane, init, isVisible, notifyListeners, removeListener, toggle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int OFF_MODE
public static final int SET_MODE
public static final int ADJUST_MODE
public static final int APPLY_MODE
protected VisBio bio
protected int numIndices
protected double[][][] pos
protected int index
protected int mode
protected double dist12
protected double dist13
protected double dist23
protected double dist34
protected double d_dist
Constructor Detail |
---|
public AlignmentPlane(VisBio biovis, DisplayImpl display)
Method Detail |
---|
public void setIndex(int index)
public void setMode(int mode)
protected void alignDisplay(int old_index)
protected boolean refresh()
refresh
in class PlaneSelector
protected void setData(int i, double[] vals)
setData
in class PlaneSelector
protected void setPos(int i, double[] vals)
protected double[] descale(double[] vals)
protected double[] getScale()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |