mod_save__define.pro


Name:
mod_save
Description:
Saves images of class 'result' and 'color' in the formats DICOM3.0
and several bitmap formats.
To be able to save in Dicom format, the parent imageSet must be
present in memory.
Known bugs:
only when > 6 result images are available:
'set series numbers' will take the value of the first *displayed*
set as starting value and uses it on the first entry in the list
(which is inconsistent)

Name:
mod_save::init
Syntax:
obj = obj_new('lupemod', type, exclusive )
Arguments:
Description:

Name:
mod_save::readyToExecute
Description:
We're always ready - if there's no result/color image sets available
the lists are empty - so what?

Name:
mod_save::map
Description:
Use for 'top' and 'embedded' modules

Name:
mod_save::unmap
Arguments:
killed
If the user killed the window via Ctrl-F4 or the close handle (the
cross at the upper right), killed is set to '1'. In this case it
might be (I have not tested this) that the system's window manager
has already removed the window from screen.
Description:

Name:
mod_save::execute
Description:
Use for 'noui' modules - 'top' and 'embedded' modules use map and unmap

Name:
mod_save::fileFormatSelectEvt
Description:

Name:
mod_save::jpgQualitySelectEvt
Description:

Name:
mod_save::anonymizeButtonEvt
Description:

Name:
mod_save::scaleButtonEvt
Description:

Name:
mod_save::setSeriesNoButtonEvt
Description:

Name:
mod_save::resizeButtonEvt
Description:

Name:
mod_save::resizeFactorSelectEvt
Description:

Name:
mod_save::ipMethodSelectEvt
Description:

Name:
mod_save::sliderChangeEvt
Description:

Name:
mod_save::basenameChangeEvt
Description:

Name:
mod_save::descriptionChangeEvt
Description:

Name:
mod_save::seriesnoChangeEvt
Description:

Name:
mod_save::saveButtonEvt
Description:

Name:
mod_save::closeButtonEvt
Description:

Name:
mod_save::imgSetChangeEvt
Description:
Callback from the central image set container

Name:
mod_save::updateInternals
Description:
This method updates the internal associative arrays that keep track
of all user input. Since this function is used upon callback from
the central imageset container, existing values should be kept as
much as possible.

Name:
mod_save::display
Description:
Fill the values in the two blocks to the right. This takes the
current slider settings into account (and corrects them, if necessary)
i.e. after calls to updateInternals and display, everything on screen
should be alright.

Name:
mod_save::saveDicom
Description:
Save result image sets in dicom format
set is 0 for result images and 1 for color images
idx is the index in the respective list
name is the name of the image set

Name:
mod_save::saveBitmap
Description:
Save result image sets in bitmap formats
set is 0 for result images and 1 for color images
idx is the index in the respective list
name is the name of the image set

Name:
mod_save__define
Description:
Private Procedure (constructor)

Last modified: Fri Oct 29 07:19:18 2004