|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.bio.SliceManager
public class SliceManager
SliceManager is the class encapsulating VisBio's slice logic.
Constructor Summary | |
---|---|
SliceManager(VisBio biovis)
Constructs a slice manager. |
Method Summary | |
---|---|
void |
controlChanged(ControlEvent e)
ControlListener method used for programmatically updating GUI. |
void |
displayChanged(DisplayEvent e)
DisplayListener method used for mouse activity in 3-D display. |
FieldImpl |
getField()
Returns the field data currently in memory. |
boolean |
getFilesAsSlices()
Returns whether each file is a single slice of one timestep. |
int |
getIndex()
Gets the currently displayed timestep index. |
int |
getNumberOfIndices()
Gets the number of timestep indices. |
int |
getNumberOfSlices()
Gets the number of image slices. |
boolean |
getPlaneSelect()
Gets whether arbitrary plane selection is in effect. |
java.io.File[] |
getSeries()
Returns the current data series file list. |
int |
getSlice()
Gets the currently displayed image slice. |
boolean |
hasThumbnails()
Gets whether the currently loaded data has low-resolution thumbnails. |
void |
planeChanged()
PlaneListener method used for detecting PlaneSelector changes. |
void |
setAutoSwitch(boolean value)
Sets whether to auto-switch resolutions when certain events occur. |
void |
setIndex(int index)
Sets the currently displayed timestep index. |
void |
setMode(boolean lowres)
Sets the display detail (low-resolution or full resolution). |
void |
setPlaneContinuous(boolean value)
Sets whether arbitrary plane is continuously updated. |
void |
setPlaneSelect(boolean value)
Sets whether to do arbitrary plane selection. |
void |
setSeries(java.io.File[] files)
Links the data series to the given list of files. |
void |
setSeries(java.io.File[] files,
boolean filesAsSlices)
Links the data series to the given list of files, treating each file as a slice (instead of a timestep) if specified. |
void |
setSlice(int slice)
Sets the currently displayed image slice. |
void |
setThumbnails(boolean thumbnails,
int xres,
int yres)
Sets whether to create low-resolution thumbnails of the data. |
void |
setVolumeRender(boolean volume)
Sets whether 3-D display should use image stack or volume rendering. |
void |
setVolumeResolution(int res)
Sets the resolution at which volume rendering occurs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SliceManager(VisBio biovis) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
Method Detail |
---|
public int getIndex()
public int getSlice()
public int getNumberOfIndices()
public int getNumberOfSlices()
public boolean hasThumbnails()
public void setMode(boolean lowres)
public void setIndex(int index)
public void setSlice(int slice)
public void setAutoSwitch(boolean value)
public void setThumbnails(boolean thumbnails, int xres, int yres)
public void setPlaneSelect(boolean value)
public void setPlaneContinuous(boolean value)
public void setVolumeRender(boolean volume)
public void setVolumeResolution(int res)
public void setSeries(java.io.File[] files)
public void setSeries(java.io.File[] files, boolean filesAsSlices)
public java.io.File[] getSeries()
public boolean getFilesAsSlices()
public FieldImpl getField()
public boolean getPlaneSelect()
public void controlChanged(ControlEvent e)
controlChanged
in interface ControlListener
public void displayChanged(DisplayEvent e)
displayChanged
in interface DisplayListener
public void planeChanged()
planeChanged
in interface PlaneListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |