VivoQuant
Public Slots | Public Member Functions | Static Public Member Functions | List of all members
WholeBodyAtlasDialog Class Reference

Object to access the Multi-Atlas Segmentation Tool (formerly known as Whole Body Atlas) functionalities. More...

Public Slots

void run ()
 Runs the segmentation.
 
void initialize ()
 Shows / initializes the hidden dialog.
 
void hide ()
 Hides the dialog.
 
void close ()
 Closes and destroys the dialog.
 

Public Member Functions

void setLibraryPath (string path)
 Sets the library path to be used. More...
 
void writeSettings (string filepath)
 Writes the UI settings to a file. More...
 
void loadSettings (string filepath)
 Loads settings from a file to the UI. More...
 
Object getWidget (string name)
 Gets a widget from the dialog widgets. More...
 
Object getROIsList ()
 Gets the list of available ROIS in the library. More...
 
Object getModalitiesList ()
 Gets the list of available modalities in the library. More...
 
Object getImagesList ()
 Gets the list of available images in the library. More...
 
string getLogText ()
 Gets the content of the log text box. More...
 
bool hasError ()
 Gets error status of the object. More...
 
void clearError ()
 Clears any error in the object.
 
string takeError ()
 Take the last error from the object. More...
 
string errorString ()
 Gets the error message of the last error that occured. More...
 

Static Public Member Functions

static string getLibraryPath ()
 Gets the library path. More...
 

Detailed Description

Object to access the Multi-Atlas Segmentation Tool (formerly known as Whole Body Atlas) functionalities.

This object can be used to configure and launch an automatic segmentation with the Multi-Atlas Segmentation Tool module.

See also ScriptMaster::wbAtlas() to obtain this object.

Member Function Documentation

◆ errorString()

string errorString ( )
inline

Gets the error message of the last error that occured.

Returns
An error message

◆ getImagesList()

Object getImagesList ( )

Gets the list of available images in the library.

Returns
A CheckListTableModel

◆ getLibraryPath()

static string getLibraryPath ( )
static

Gets the library path.

Returns
The current library path

◆ getLogText()

string getLogText ( )

Gets the content of the log text box.

Returns
The content of the log text box as string

◆ getModalitiesList()

Object getModalitiesList ( )

Gets the list of available modalities in the library.

Returns
A CheckListTableModel

◆ getROIsList()

Object getROIsList ( )

Gets the list of available ROIS in the library.

Returns
A CheckListTableModel

◆ getWidget()

Object getWidget ( string  name)

Gets a widget from the dialog widgets.

Parameters
nameThe name of the widget to get
Returns
A widget object

◆ hasError()

bool hasError ( )
inline

Gets error status of the object.

Returns
True if an arror occured, false otherwise

◆ loadSettings()

void loadSettings ( string  filepath)

Loads settings from a file to the UI.

Parameters
filepathThe file to load the settings from

◆ setLibraryPath()

void setLibraryPath ( string  path)

Sets the library path to be used.

Parameters
pathThe library path

◆ takeError()

string takeError ( )
inline

Take the last error from the object.

Returns
An error message
Note
After taking the error, the object returns to an error free state

◆ writeSettings()

void writeSettings ( string  filepath)

Writes the UI settings to a file.

Parameters
filepathThe file to write the settings to