Public Slots | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

cmtk::QtTriplanarWindow Class Reference
[cmtkQt Library]

Triplanar image viewer window. More...

#include <cmtkQtTriplanarWindow.h>

Inheritance diagram for cmtk::QtTriplanarWindow:
Inheritance graph
[legend]
Collaboration diagram for cmtk::QtTriplanarWindow:
Collaboration graph
[legend]

List of all members.

Public Slots

void slotDataChanged (Study::SmartPtr &study)
void slotColormapChanged (Study::SmartPtr &study)
void slotSwitchToStudy (Study::SmartPtr &study)
void slotSwitchToStudyInternal (Study::SmartPtr &study)

Public Member Functions

 QtTriplanarWindow ()
 Constructor.

Protected Slots

void slotView25 ()
void slotView33 ()
void slotView50 ()
void slotView100 ()
void slotView200 ()
void slotView300 ()
void slotView400 ()
void slotView500 ()
void slotViewInterpolation ()
void slotViewCrosshair ()
void slotViewCheckerbox ()
void slotExportMenuCmd (QAction *)
void slotRenderAll ()
void slotSetColormap (const QString &cmap)
 Batch mode slots.
void slotSetWindowLevel (const QString &wl)
void slotGoToPixel (const QString &xyz)
void slotGoToLocation (const QString &xyz)
void slotExportImage (const QString &filename, const int command)
void slotSetInterpolateMode (const bool mode)
void slotSetCrosshairMode (const bool mode)
void slotSetCheckerboardMode (const bool mode)
void slotSetZoom (const int zoomPercent)
void slotSwitchImageAx (int imageIndex)
 Switch image in axial viewer.
void slotSwitchImageSa (int imageIndex)
void slotSwitchImageCo (int imageIndex)
void slotMouse3D (Qt::MouseButton, const Vector3D &)
 Three-dimensional mouse event.
void slotMouseAx (Qt::MouseButton, const Vector3D &)
 Three-dimensional mouse event from axial slice.
void slotMouseSa (Qt::MouseButton, const Vector3D &)
 Three-dimensional mouse event from sagittal slice.
void slotMouseCo (Qt::MouseButton, const Vector3D &)
 Three-dimensional mouse event from coronal slice.
void slotCenter ()
 This slot is called when the "Center" button is clicked.
void slotGoToLocation ()
 This slot is called when the "Go To Location" button is clicked.
void slotGoToLandmark ()
 This slot is called when the "Go To Landmark" button is clicked.
void slotDeleteLandmark ()
 This slot is called when the "Delete Landmark" button is clicked.
void slotAddLandmark ()
 This slot is called when the "Add Landmark" button is clicked.
void slotExportLandmarks ()
 This slot is called when the "Export Landmarks" button is clicked.
void slotImportLandmarks ()
 This slot is called when the "Import Landmarks" button is clicked.

Protected Member Functions

 cmtkGetSetMacro (Study::SmartPtr, Study)
 The Study object we're working on.
void UpdateDialog ()
 Update dialog after study change.

Protected Attributes

QAction * m_InterpolateAction
 Use (linear) interpolation when rendering slices.
QAction * m_CrosshairAction
 Use (linear) interpolation when rendering slices.
QAction * m_CheckerboxAction
 Fill Null data areas with a checkerbox pattern.
int m_ZoomFactor
 Zoom factor in percent.
bool m_BatchMode
 Batch mode flag: if set, no dialog boxes are shown.
QActionGroup * m_ZoomActions
 Action group for zoom factor adjustment.
QMenu * ViewMenu
 The "View" menu.
QMenu * ExportMenu
 The "Export" menu.
DataGrid::IndexType VolumeDims
 Store volume dimensions here for convenient access.
QtScrollRenderViewScrollRenderViewAx
 The scrolled view we display an image in.
QtScrollRenderViewScrollRenderViewSa
QtScrollRenderViewScrollRenderViewCo
ImagePipelineImageAx
ImagePipelineImageSa
ImagePipelineImageCo
Colormapm_Colormap
ImageToImageRGBImageToImageRGBAx
ImageToImageRGBImageToImageRGBSa
ImageToImageRGBImageToImageRGBCo
QMenuBar * MenuBar
QGridLayout * GridLayout
QStatusBar * StatusBar
QGridLayout * LandmarksLayout
QLineEdit * LocationEntryX
QLineEdit * LocationEntryY
QLineEdit * LocationEntryZ
QDoubleValidator * LocationValidatorX
QDoubleValidator * LocationValidatorY
QDoubleValidator * LocationValidatorZ
QPushButton * GoToLocationButton
QPushButton * CenterButton
QPushButton * GoToLandmarkButton
QPushButton * AddLandmarkButton
QPushButton * DeleteLandmarkButton
QPushButton * ExportLandmarksButton
QPushButton * ImportLandmarksButton
QComboBox * LandmarkBox
QtWindowLevelControlsWindowLevelControls
QTabWidget * m_ControlsTab
QtProgressm_ProgressReporter

Private Member Functions

void UpdateGridInfo ()
 Update status bar.

Private Attributes

DataGrid::IndexType GridIndex
 The pixel grid index of the current location.
QLabel * GridIndexInfo
 Status bar output of grid coordinate.

Detailed Description

Triplanar image viewer window.

Definition at line 72 of file cmtkQtTriplanarWindow.h.


Member Function Documentation

cmtk::QtTriplanarWindow::cmtkGetSetMacro ( Study::SmartPtr  ,
Study   
) [protected]

The Study object we're working on.

void cmtk::QtTriplanarWindow::slotView100 (  ) [protected, slot]

Definition at line 58 of file cmtkQtTriplanarWindowViewActions.cxx.

Referenced by QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotView200 (  ) [protected, slot]

Definition at line 64 of file cmtkQtTriplanarWindowViewActions.cxx.

Referenced by QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotView25 (  ) [protected, slot]

Definition at line 40 of file cmtkQtTriplanarWindowViewActions.cxx.

Referenced by QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotView300 (  ) [protected, slot]

Definition at line 70 of file cmtkQtTriplanarWindowViewActions.cxx.

Referenced by QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotView33 (  ) [protected, slot]

Definition at line 46 of file cmtkQtTriplanarWindowViewActions.cxx.

Referenced by QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotView400 (  ) [protected, slot]

Definition at line 76 of file cmtkQtTriplanarWindowViewActions.cxx.

Referenced by QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotView50 (  ) [protected, slot]

Definition at line 52 of file cmtkQtTriplanarWindowViewActions.cxx.

Referenced by QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotView500 (  ) [protected, slot]

Definition at line 82 of file cmtkQtTriplanarWindowViewActions.cxx.

Referenced by QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotViewCheckerbox (  ) [protected, slot]
void cmtk::QtTriplanarWindow::slotViewCrosshair (  ) [protected, slot]

Definition at line 94 of file cmtkQtTriplanarWindowViewActions.cxx.

Referenced by QtTriplanarWindow(), and slotSetCrosshairMode().

void cmtk::QtTriplanarWindow::slotViewInterpolation (  ) [protected, slot]

Member Data Documentation

Definition at line 219 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow().

QPushButton* cmtk::QtTriplanarWindow::CenterButton [protected]

Definition at line 217 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow().

The "Export" menu.

Definition at line 184 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow().

Definition at line 216 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow().

The pixel grid index of the current location.

Definition at line 232 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow(), slotSwitchImageAx(), slotSwitchImageCo(), slotSwitchImageSa(), and UpdateGridInfo().

Status bar output of grid coordinate.

Definition at line 235 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow(), and UpdateGridInfo().

QGridLayout* cmtk::QtTriplanarWindow::GridLayout [protected]

Definition at line 205 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow().

Definition at line 200 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow().

Definition at line 202 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow().

Definition at line 201 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow().

Definition at line 222 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow().

QComboBox* cmtk::QtTriplanarWindow::LandmarkBox [protected]
QGridLayout* cmtk::QtTriplanarWindow::LandmarksLayout [protected]

Definition at line 208 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow().

QDoubleValidator* cmtk::QtTriplanarWindow::LocationValidatorX [protected]

Definition at line 212 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow(), and UpdateDialog().

QDoubleValidator* cmtk::QtTriplanarWindow::LocationValidatorY [protected]

Definition at line 213 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow(), and UpdateDialog().

QDoubleValidator* cmtk::QtTriplanarWindow::LocationValidatorZ [protected]

Definition at line 214 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow(), and UpdateDialog().

Batch mode flag: if set, no dialog boxes are shown.

Definition at line 102 of file cmtkQtTriplanarWindow.h.

Referenced by slotExportImage(), and slotSwitchToStudy().

Fill Null data areas with a checkerbox pattern.

Definition at line 93 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow(), slotSetCheckerboardMode(), slotSwitchImageAx(), slotSwitchImageCo(), and slotSwitchImageSa().

Definition at line 198 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow(), and slotColormapChanged().

QTabWidget* cmtk::QtTriplanarWindow::m_ControlsTab [protected]

Use (linear) interpolation when rendering slices.

Definition at line 90 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow(), slotSetCrosshairMode(), slotSwitchImageAx(), slotSwitchImageCo(), slotSwitchImageSa(), and UpdateDialog().

Use (linear) interpolation when rendering slices.

Definition at line 87 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow(), slotSetInterpolateMode(), slotSwitchImageAx(), slotSwitchImageCo(), and slotSwitchImageSa().

Definition at line 228 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow().

QActionGroup* cmtk::QtTriplanarWindow::m_ZoomActions [protected]

Action group for zoom factor adjustment.

Definition at line 105 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow().

Zoom factor in percent.

Definition at line 96 of file cmtkQtTriplanarWindow.h.

Referenced by slotSetZoom().

QMenuBar* cmtk::QtTriplanarWindow::MenuBar [protected]

Definition at line 194 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow(), and slotSwitchImageAx().

Definition at line 196 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow(), and slotSwitchImageCo().

Definition at line 195 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow(), and slotSwitchImageSa().

The scrolled view we display an image in.

Definition at line 190 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow(), slotExportImage(), slotRenderAll(), slotSetZoom(), slotSwitchImageAx(), slotSwitchToStudyInternal(), and UpdateDialog().

QStatusBar* cmtk::QtTriplanarWindow::StatusBar [protected]

Definition at line 206 of file cmtkQtTriplanarWindow.h.

Referenced by QtTriplanarWindow().

The "View" menu.

Definition at line 181 of file cmtkQtTriplanarWindow.h.

Referenced by cmtk::QtTriplanarViewer::QtTriplanarViewer(), and QtTriplanarWindow().

Store volume dimensions here for convenient access.

Definition at line 187 of file cmtkQtTriplanarWindow.h.

Referenced by UpdateDialog().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines