public interface ImageLoader extends MangoPluginType
Modifier and Type | Field and Description |
---|---|
static String |
NO_DATA_MESSAGE |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
(Not yet implemented.)
|
JPanel |
getImageSelectionPanel(JButton loadButton)
This method should return a GUI allowing the user to select a base image.
|
InputStream |
getInputStream()
(Not yet implemented.)
|
JPanel |
getOverlaySelectionPanel(String imageName,
ImageDimensions id,
VoxelDimensions vd,
JButton loadButton)
This method should return a GUI allowing the user to select an overlay image.
|
JPanel |
getROISelectionPanel(String imageName,
ImageDimensions id,
VoxelDimensions vd,
JButton loadButton)
This method should return a GUI allowing the user to select a ROI.
|
String |
getSelectedAbsolutePath()
This method is called after the dialog has been closed using the load button.
|
String |
getSelectedRelativePath()
This method is called after the dialog has been closed using the load button (applet use only).
|
boolean |
isImportingInWorldSpace()
In the case of ROIs, this method should return true if the ROI is to be imported in world space.
|
boolean |
isImportingROI()
In the case of ROIs, this method should return true if the ROI is to be imported as an image, rather than ROI format.
|
boolean |
isParametricOverlay()
In the case of overlay, this method should return true if the overlay should load both in the positive and negative range.
|
boolean |
isPublic()
If an image is not public, its address will not be displayed (e.g., in the Image Info dialog) and it will not be added to the recent files list.
|
boolean |
isSaveable()
(Not yet implemented.)
|
getMinimumVersionSupported, getPluginName, getPluginURL, getVersion, hasNewerVersion
static final String NO_DATA_MESSAGE
byte[] getData()
JPanel getImageSelectionPanel(JButton loadButton)
loadButton
- the dialog load button is provided to intersect with the GUI (e.g., double-clicking selection can programatically click load button)InputStream getInputStream()
JPanel getOverlaySelectionPanel(String imageName, ImageDimensions id, VoxelDimensions vd, JButton loadButton)
imageName
- the name of the loaded base imageid
- the image dimensions of the loaded base imagevd
- the voxel dimensions of the loaded base imageloadButton
- the dialog load button is provided to intersect with the GUI (e.g., double-clicking selection can programatically click load button)JPanel getROISelectionPanel(String imageName, ImageDimensions id, VoxelDimensions vd, JButton loadButton)
imageName
- the name of the loaded base imageid
- the image dimensions of the loaded base imagevd
- the voxel dimensions of the loaded base imageloadButton
- the dialog load button is provided to intersect with the GUI (e.g., double-clicking selection can programatically click load button)String getSelectedAbsolutePath()
String getSelectedRelativePath()
boolean isImportingInWorldSpace()
boolean isImportingROI()
boolean isParametricOverlay()
boolean isPublic()
boolean isSaveable()