|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.bio.MeasurePool
public class MeasurePool
MeasurePool maintains a pool of manipulable points and a set of connecting lines, for interactive data measurement in the given display.
Constructor Summary | |
---|---|
MeasurePool(VisBio biovis,
DisplayImpl display,
int dimension)
Constructs a pool of measurements. |
Method Summary | |
---|---|
void |
displayChanged(DisplayEvent e)
Listens for mouse events in the display. |
int |
getDimension()
Gets the display's dimensionality. |
MeasureThing[] |
getSelection()
Gets the list of selected measurements in array form. |
java.awt.Color |
getSelectionColor()
Gets the color corresponding to the current selection. |
MeasureGroup |
getSelectionGroup()
Gets the group corresponding to the current selection. |
int |
getSlice()
Gets the current image slice value. |
boolean |
hasSelection()
Gets whether the measurement pool has any selected measurements. |
boolean |
hasSingleSelection()
Gets whether the measurement pool has a single selected measurement. |
void |
init()
Adds references to the associated display. |
boolean |
isSelectionStandard()
Gets whether all measurements in the current selection are standard. |
PoolPoint |
lease(MeasurePoint point)
Grants the given endpoint use of a pool point. |
void |
refresh(boolean reconstruct)
Refreshes the measurement endpoints in the pool. |
void |
release(MeasurePoint point)
Returns the given endpoint's pool point to the measurement pool. |
void |
releaseAll()
Returns all pool points to the measurement pool. |
void |
set(MeasureList list)
Creates measurement pool objects to match the given measurements. |
void |
setSlice(int slice)
Sets the current image slice value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MeasurePool(VisBio biovis, DisplayImpl display, int dimension)
Method Detail |
---|
public void init() throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
public PoolPoint lease(MeasurePoint point)
public void release(MeasurePoint point)
public void releaseAll()
public void set(MeasureList list)
public void setSlice(int slice)
public void refresh(boolean reconstruct)
public int getSlice()
public int getDimension()
public boolean hasSelection()
public boolean hasSingleSelection()
public MeasureThing[] getSelection()
public boolean isSelectionStandard()
public java.awt.Color getSelectionColor()
public MeasureGroup getSelectionGroup()
public void displayChanged(DisplayEvent e)
displayChanged
in interface DisplayListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |