Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members

IDVR.ObjectDescriptionInput Class Reference

#include <ObjectDescriptionInput.h>

List of all members.


Detailed Description

GUI class for creating the Object Creation dialog window..

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.

See also:
VolumeData - represents the entire loaded volume data structure.

DataObject - is a particular volume data object.

Author:
Bernhard Pflugfelder
Version:
1.0
Date:
02-21-2005


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

DataLoaderm_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.
ProgressWinm_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.


Constructor & Destructor Documentation

IDVR.ObjectDescriptionInput.ObjectDescriptionInput DataLoader n_VolumeData,
Thread *  n_GUIElementHandler,
IRenderer *  n_Renderer,
Form *  n_ParentForm
 

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.

Parameters:
n_VolumeData the current loaded volume data structure.
n_GUIElementHandler a thread handler for update several components the main GUI window.
n_Renderer the specific render model for the new volume data object.
n_ParentForm a direct pointer to the main GUI window.


Member Function Documentation

void IDVR.ObjectDescriptionInput.Dispose Boolean  disposing  )  [protected]
 

Destroys all GUI components before this current instance will be actually discarded.

Parameters:
disposing is a flag variable which is true if the instance have to be discarded.

void IDVR.ObjectDescriptionInput.InitializeComponent void   )  [private]
 

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.

Note:
This function must not be changed in a code editor because otherwise the GUI builder could be working incorrectly.

System::Void IDVR.ObjectDescriptionInput.perform_ActionButtonClick System::Object *  sender,
System::EventArgs *  e
[private]
 

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.

Parameters:
sender the source component of the event.
e the actual event.

System::Void IDVR.ObjectDescriptionInput.setGUIElementsToObjectLoadedStatus void   )  [private]
 

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.

void IDVR.ObjectDescriptionInput.setProgressBarDisplay ProgressWin n_ProgressBarDisplay  ) 
 

Sets a new instance of the progressbar dialog window.

Parameters:
n_ProgressBarDisplay the new progressbar dialog window as an instanve of the class ProgessWin.


Member Data Documentation

Thread* IDVR.ObjectDescriptionInput.m_GUIElementHandler [private]
 

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.

ProgressWin* IDVR.ObjectDescriptionInput.m_ProgressBarDisplay [private]
 

Saves the current instance of the progressbar dialog.

This dialog will be shown during loading the mask data.


The documentation for this class was generated from the following file:
Generated on Sat Apr 9 11:50:59 2005 for RayCaster wiht Importance Driven Volume Rendering (IDVR) by  doxygen 1.4.1