Triplanar image viewer window. More...
#include <cmtkQtTriplanarWindow.h>
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. | |
QtScrollRenderView * | ScrollRenderViewAx |
The scrolled view we display an image in. | |
QtScrollRenderView * | ScrollRenderViewSa |
QtScrollRenderView * | ScrollRenderViewCo |
Image * | PipelineImageAx |
Image * | PipelineImageSa |
Image * | PipelineImageCo |
Colormap * | m_Colormap |
ImageToImageRGB * | ImageToImageRGBAx |
ImageToImageRGB * | ImageToImageRGBSa |
ImageToImageRGB * | ImageToImageRGBCo |
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 |
QtWindowLevelControls * | WindowLevelControls |
QTabWidget * | m_ControlsTab |
QtProgress * | m_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. |
Triplanar image viewer window.
Definition at line 72 of file cmtkQtTriplanarWindow.h.
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] |
Definition at line 104 of file cmtkQtTriplanarWindowViewActions.cxx.
Referenced by QtTriplanarWindow(), and slotSetCheckerboardMode().
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] |
Definition at line 88 of file cmtkQtTriplanarWindowViewActions.cxx.
Referenced by QtTriplanarWindow(), and slotSetInterpolateMode().
QPushButton* cmtk::QtTriplanarWindow::AddLandmarkButton [protected] |
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().
QPushButton* cmtk::QtTriplanarWindow::DeleteLandmarkButton [protected] |
Definition at line 220 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), slotAddLandmark(), slotImportLandmarks(), and slotSwitchToStudy().
QPushButton* cmtk::QtTriplanarWindow::ExportLandmarksButton [protected] |
Definition at line 221 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), slotAddLandmark(), slotImportLandmarks(), and slotSwitchToStudy().
QMenu* cmtk::QtTriplanarWindow::ExportMenu [protected] |
The "Export" menu.
Definition at line 184 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow().
QPushButton* cmtk::QtTriplanarWindow::GoToLandmarkButton [protected] |
Definition at line 218 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), slotAddLandmark(), slotImportLandmarks(), and slotSwitchToStudy().
QPushButton* cmtk::QtTriplanarWindow::GoToLocationButton [protected] |
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().
QLabel* cmtk::QtTriplanarWindow::GridIndexInfo [private] |
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().
QPushButton* cmtk::QtTriplanarWindow::ImportLandmarksButton [protected] |
Definition at line 222 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow().
QComboBox* cmtk::QtTriplanarWindow::LandmarkBox [protected] |
Definition at line 224 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), slotAddLandmark(), slotGoToLandmark(), slotImportLandmarks(), and slotSwitchToStudy().
QGridLayout* cmtk::QtTriplanarWindow::LandmarksLayout [protected] |
Definition at line 208 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow().
QLineEdit* cmtk::QtTriplanarWindow::LocationEntryX [protected] |
Definition at line 209 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), slotAddLandmark(), slotGoToLocation(), and slotSwitchImageSa().
QLineEdit* cmtk::QtTriplanarWindow::LocationEntryY [protected] |
Definition at line 210 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), slotAddLandmark(), slotGoToLocation(), and slotSwitchImageCo().
QLineEdit* cmtk::QtTriplanarWindow::LocationEntryZ [protected] |
Definition at line 211 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), slotAddLandmark(), slotGoToLocation(), and slotSwitchImageAx().
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().
bool cmtk::QtTriplanarWindow::m_BatchMode [protected] |
Batch mode flag: if set, no dialog boxes are shown.
Definition at line 102 of file cmtkQtTriplanarWindow.h.
Referenced by slotExportImage(), and slotSwitchToStudy().
QAction* cmtk::QtTriplanarWindow::m_CheckerboxAction [protected] |
Fill Null data areas with a checkerbox pattern.
Definition at line 93 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), slotSetCheckerboardMode(), slotSwitchImageAx(), slotSwitchImageCo(), and slotSwitchImageSa().
Colormap* cmtk::QtTriplanarWindow::m_Colormap [protected] |
Definition at line 198 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), and slotColormapChanged().
QTabWidget* cmtk::QtTriplanarWindow::m_ControlsTab [protected] |
Definition at line 227 of file cmtkQtTriplanarWindow.h.
Referenced by cmtk::QtTriplanarViewer::QtTriplanarViewer(), QtTriplanarWindow(), cmtk::QtTriplanarViewer::slotAddStudy(), and cmtk::QtTriplanarViewer::slotLoadFile().
QAction* cmtk::QtTriplanarWindow::m_CrosshairAction [protected] |
Use (linear) interpolation when rendering slices.
Definition at line 90 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), slotSetCrosshairMode(), slotSwitchImageAx(), slotSwitchImageCo(), slotSwitchImageSa(), and UpdateDialog().
QAction* cmtk::QtTriplanarWindow::m_InterpolateAction [protected] |
Use (linear) interpolation when rendering slices.
Definition at line 87 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), slotSetInterpolateMode(), slotSwitchImageAx(), slotSwitchImageCo(), and slotSwitchImageSa().
QtProgress* cmtk::QtTriplanarWindow::m_ProgressReporter [protected] |
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().
int cmtk::QtTriplanarWindow::m_ZoomFactor [protected] |
Zoom factor in percent.
Definition at line 96 of file cmtkQtTriplanarWindow.h.
Referenced by slotSetZoom().
QMenuBar* cmtk::QtTriplanarWindow::MenuBar [protected] |
Definition at line 204 of file cmtkQtTriplanarWindow.h.
Referenced by cmtk::QtTriplanarViewer::QtTriplanarViewer(), and QtTriplanarWindow().
Image* cmtk::QtTriplanarWindow::PipelineImageAx [protected] |
Definition at line 194 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), and slotSwitchImageAx().
Image* cmtk::QtTriplanarWindow::PipelineImageCo [protected] |
Definition at line 196 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), and slotSwitchImageCo().
Image* cmtk::QtTriplanarWindow::PipelineImageSa [protected] |
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().
Definition at line 192 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), slotExportImage(), slotRenderAll(), slotSetZoom(), slotSwitchImageCo(), slotSwitchToStudyInternal(), and UpdateDialog().
Definition at line 191 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), slotExportImage(), slotRenderAll(), slotSetZoom(), slotSwitchImageSa(), slotSwitchToStudyInternal(), and UpdateDialog().
QStatusBar* cmtk::QtTriplanarWindow::StatusBar [protected] |
Definition at line 206 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow().
QMenu* cmtk::QtTriplanarWindow::ViewMenu [protected] |
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().
Definition at line 225 of file cmtkQtTriplanarWindow.h.
Referenced by QtTriplanarWindow(), slotSwitchToStudy(), and slotSwitchToStudyInternal().