#include <SliceViewer.h>
namespace: IDVR
Baseclass: System::Windows::Forms::Form
This is the GUI class for the slice viewer. It provides methods to view the whole volume dataset in slices perpendicular to the main axes.
Public Member Functions | |
SliceViewer (VolumeData *n_VolumeData, String *n_VolumeDataDescription) | |
Constructor. | |
void | setControlSubItem (TD::SandBar::MenuButtonItem *n_SubItem_SliceViewer) |
Sets the subitem for the GUI. | |
void | setControlTbSubItem (TD::SandBar::MenuButtonItem *n_TbSubItem_SliceViewer) |
Sets the toolbar subitem for the GUI. | |
void | resizeCanvas (void) |
Resizes the canvas. | |
void | drawSlice (void) |
Draws the actual slice. | |
Private Member Functions | |
void | InitializeComponent (void) |
Initializes the GUI components. | |
System::Void | SliceViewer_Closing (System::Object *sender, System::ComponentModel::CancelEventArgs *e) |
Eventhandler for window closing events. | |
System::Void | perform_ActionComboBoxSelectedIndexChanged (System::Object *sender, System::EventArgs *e) |
Eventhandler for combobax selected index changed events. | |
System::Void | perform_ActionButtonClick (System::Object *sender, System::EventArgs *e) |
Eventhandler for button click events. | |
System::Void | perform_ActionTrackBarScroll (System::Object *sender, System::EventArgs *e) |
Eventhandler for trackbar scroll events. | |
System::Void | perform_ActionTextboxKeydown (System::Object *sender, System::Windows::Forms::KeyEventArgs *e) |
Eventhandler for textbox keydown events. | |
Private Attributes | |
TD::SandBar::MenuButtonItem * | m_SubItem_SliceViewer |
the subitem for the GUI | |
TD::SandBar::MenuButtonItem * | m_TbSubItem_SliceViewer |
the toolbar subitem for the GUI | |
VolumeData * | m_VolumeData |
The volume dataset. | |
ClearCanvasGL * | m_ClearCanvas |
Object to clear the canvas. | |
LinearClassificationModelSW * | m_Classificator |
Linear classificator. | |
MipShadingModelSW * | m_Shader |
Mip shading model. | |
DrawModelGLSW * | m_DrawModel |
Object to draw on the canvas. | |
short | m_SamplingFactor |
Sampling factor. | |
Static Private Attributes | |
static String * | MAINTITLE = S"Slice Viewer" |
Title of the GUI. |
|
Constructor.
|
|
Draws the actual slice.
|
|
Eventhandler for button click events.
|
|
Eventhandler for combobax selected index changed events.
|
|
Eventhandler for textbox keydown events.
|
|
Eventhandler for trackbar scroll events.
|
|
Resizes the canvas.
|
|
Sets the subitem for the GUI.
|
|
Sets the toolbar subitem for the GUI.
|
|
Eventhandler for window closing events.
|