#include <ObjectDescriptionInput.h>
This class is part of the main application namespace IDVR and contains the definition of the Object Creation dialog window.
During the creation of a new volume data object by loading the corresponding *.mask file the user have to input a general description name for this new volume data object (see also class DataObject). Thus this class implements the input dialog for this needed object description.
After the input the actual reading of the mask data will be performed and a new instance of the class DataObject has to be initialized with the loaded data. This instance will be also linked to the current volume data structure which is represented by the curren instance of the class VolumeData.
The API documentation for this class shows only the most important member variables and function. Event handling functions and GUI components (e.g. labels, textboxes,...) will not be included but all essential parts of the class are surely documented.
DataObject - is a particular volume data object.
Public Member Functions | |
ObjectDescriptionInput (DataLoader *n_VolumeData, Thread *n_GUIElementHandler, IRenderer *n_Renderer, Form *n_ParentForm) | |
This is the unique constructor of this class. | |
void | setProgressBarDisplay (ProgressWin *n_ProgressBarDisplay) |
Sets a new instance of the progressbar dialog window. | |
Protected Member Functions | |
void | Dispose (Boolean disposing) |
Destroys all GUI components before this current instance will be actually discarded. | |
Private Member Functions | |
void | InitializeComponent (void) |
The main function to create the all needed GUI components. | |
System::Void | perform_ActionButtonClick (System::Object *sender, System::EventArgs *e) |
Starts the actual loading precess of the mask data and creates the corresponding volume data object. | |
System::Void | setGUIElementsToObjectLoadedStatus (void) |
Starts the assigned thread handler to update several GUI components of the main GUI window. | |
Private Attributes | |
DataLoader * | m_VolumeData |
Saves the current loaded volume data structure. | |
IRenderer * | m_Renderer |
Saves the render model for the new volume data object. | |
Thread * | m_GUIElementHandler |
Saves a thread handler to control several GUI components of the Main GUI window. | |
ProgressWin * | m_ProgressBarDisplay |
Saves the current instance of the progressbar dialog. | |
Form * | m_ParentForm |
Saves a pointer to the current main GUI windon. | |
System::ComponentModel::Container * | components |
Erforderliche Designervariable. |
|
This is the unique constructor of this class. It implements the standard initialization of the GUI window and actually start a thread to create and control a specific dialog window.
|
|
Destroys all GUI components before this current instance will be actually discarded.
|
|
The main function to create the all needed GUI components. Furthermore, the linking of those created GUI components (e.g. labels, textboxes,...) to the current container is implemented. After the correct linking all GUI items will be shown on the screen.
|
|
Starts the actual loading precess of the mask data and creates the corresponding volume data object. This function is an ordinary event handler which means that it will be only called if the corresponding GUI button has been selected.
|
|
Starts the assigned thread handler to update several GUI components of the main GUI window. This function will be only used if the loading process has been finished successfully. |
|
Sets a new instance of the progressbar dialog window.
|
|
Saves a thread handler to control several GUI components of the Main GUI window. After the creation process have been successfully completed some GUI components must be updated which are summarized in a thread function. |
|
Saves the current instance of the progressbar dialog. This dialog will be shown during loading the mask data. |