Classes | Functions | Public Slots | Protected Slots | Private Slots

cmtkQt Library

This library provides classes to interface lower-level CMTK classes with the Qt toolkit. More...

Classes

class  cmtk::QtIcons
 Collection of general-purpose icons for Qt applications. More...
class  cmtk::QtImageOperators
 A collection of 3D image operators with Qt menu. More...
class  cmtk::QtProgress
 Class for interface of progress meter to Qt. More...
class  cmtk::QtRenderImageRGB
 Class to render RGB images in Qt. More...
class  cmtk::QtScrollRenderView
 Widget that renders an RGB image in a scrolled viewport. More...
class  cmtk::QtSliderEntry
 Widget that combines a slider with a numerical entry field and labels. More...
class  cmtk::QtTriplanarViewer
 Stand-alone triplanar image viewer. More...
class  cmtk::QtTriplanarWindow
 Triplanar image viewer window. More...
class  cmtk::QtWindowLevelControls
 Widget for a group box with Window/Level controls. More...
class  cmtk::QtWindowLevelDialog
 Dialog with WIndow/Level and Colormap controls. More...

Functions

QMenu * cmtk::QtImageOperators::CreatePopupMenu ()
 Create and return popup menu that makes operators available.
 cmtk::QtProgress::QtProgress (QWidget *const parentWindow)
 Constructor.
virtual void cmtk::QtProgress::BeginVirtual (const double start, const double end, const double increment, const std::string &taskName=std::string(""))
 This member function initialises the Qt progress indicator.
virtual Progress::ResultEnum cmtk::QtProgress::UpdateProgress ()
 This member function sets the Qt progress indicator.
virtual void cmtk::QtProgress::DoneVirtual ()
 This member function deletes the Qt progress indicator.
 cmtk::QtRenderImageRGB::QtRenderImageRGB (QWidget *const parent=0, Qt::WFlags f=0)
 Constructor.
virtual cmtk::QtRenderImageRGB::~QtRenderImageRGB ()
 Destructor.
virtual void cmtk::QtRenderImageRGB::paintEvent (QPaintEvent *const )
 Repaint widget.
virtual void cmtk::QtRenderImageRGB::Execute ()
 The actual renderer function.
void cmtk::QtRenderImageRGB::RenderTo (QPaintDevice *pd)
 Render to given paint device.
void cmtk::QtRenderImageRGB::DrawCrosshair (QPainter &painter, const unsigned int width, const unsigned int height) const
 Draw crosshair.
QPixmap cmtk::QtRenderImageRGB::GetPixmap ()
 Return currently displayed image.
virtual void cmtk::QtRenderImageRGB::mousePressEvent (QMouseEvent *e)
 React to mouse clicks (generate a signal).
virtual void cmtk::QtRenderImageRGB::mouseMoveEvent (QMouseEvent *e)
 React to mouse dragging (generate a signal).
 cmtk::QtScrollRenderView::QtScrollRenderView (QWidget *parentWidget, const QString &title=QString::null)
 Constructor.
virtual cmtk::QtScrollRenderView::~QtScrollRenderView ()
 Destructor.
 cmtk::QtSliderEntry::QtSliderEntry (QWidget *parent)
 Constructor.
double cmtk::QtSliderEntry::GetValue () const
 Get value.
double cmtk::QtSliderEntry::GetMinValue () const
 Get minimum value.
double cmtk::QtSliderEntry::GetMaxValue () const
 Get maximum value.
 cmtk::QtTriplanarViewer::QtTriplanarViewer ()
 Constructor.
virtual int cmtk::QtTriplanarViewer::ExecuteBatchMode (const int argc, char *argv[])
 Execute in batch mode.
 cmtk::QtTriplanarWindow::QtTriplanarWindow ()
 Constructor.
void cmtk::QtTriplanarWindow::UpdateDialog ()
 Update dialog after study change.
void cmtk::QtTriplanarWindow::UpdateGridInfo ()
 Update status bar.
 cmtk::QtWindowLevelControls::QtWindowLevelControls (QWidget *const parent)
 Constructor.
 cmtk::QtWindowLevelDialog::QtWindowLevelDialog (QWidget *parent=0, bool modal=FALSE, Qt::WFlags f=0)
 Constructor.

Public Slots

void cmtk::QtImageOperators::slotOperatorMedian ()
 Slot to open selected type of fusion window.
void cmtk::QtImageOperators::slotOperatorSobel ()
void cmtk::QtImageOperators::slotOperatorHistEq ()
void cmtk::QtImageOperators::slotOperatorAbs ()
void cmtk::QtImageOperators::slotOperatorLog ()
void cmtk::QtImageOperators::slotOperatorExp ()
void cmtk::QtScrollRenderView::slotConnectImage (ImageRGB *const image)
 Connect render view to an RGB image object.
void cmtk::QtScrollRenderView::slotRender ()
 Update rendering.
void cmtk::QtScrollRenderView::slotSetNumberOfSlices (unsigned int nSlices)
 Set number of slices for the image slider.
void cmtk::QtScrollRenderView::slotSetSlice (unsigned int slice)
 Set to given slice.
void cmtk::QtSliderEntry::slotSetRange (double rangeFrom, double rangeTo)
 Set value range.
void cmtk::QtSliderEntry::slotSetPrecision (int precision)
 Set number of digits.
void cmtk::QtSliderEntry::slotSetTitle (const QString &title)
 Set title label.
void cmtk::QtSliderEntry::slotSetMinMaxLabels (const QString &minLabel, const QString &maxLabel)
 Set min/max labels.
void cmtk::QtSliderEntry::slotCenter ()
 Set to center position.
void cmtk::QtSliderEntry::slotSetValue (const double value)
 Set value.
void cmtk::QtTriplanarViewer::slotAddStudy (const char *fname)
 Add study by filesystem path.
void cmtk::QtTriplanarViewer::slotLoadFile ()
 Load image from file.
void cmtk::QtTriplanarViewer::slotReloadData ()
 Load image from file.
void cmtk::QtTriplanarViewer::slotCopyColormapToOtherImages ()
 Copy current image colormap to all other images.
void cmtk::QtTriplanarWindow::slotSwitchToStudy (Study::SmartPtr &study)
void cmtk::QtTriplanarWindow::slotSwitchToStudyInternal (Study::SmartPtr &study)
void cmtk::QtTriplanarWindow::slotDataChanged (Study::SmartPtr &study)
void cmtk::QtTriplanarWindow::slotColormapChanged (Study::SmartPtr &study)
void cmtk::QtWindowLevelControls::slotSetStudy (Study::SmartPtr &study)
 This signal tells the controls that the study object has changed.
void cmtk::QtWindowLevelDialog::slotSetStudy (Study::SmartPtr &study)
 Set study object.

Protected Slots

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

Private Slots

void cmtk::QtSliderEntry::slotEditReturnPressed ()
 Called when "Return" is pressed in the line edit field.
void cmtk::QtSliderEntry::slotSliderValueChanged (int value)
 Called when line edit value changes.
void cmtk::QtTriplanarViewer::slotSwitchStudy (const QString &study)
 Study was double-clicked in listbox.
void cmtk::QtWindowLevelControls::slotSwitchModeWL (int)
 This slot is called when the Window/Level mode is changed.
void cmtk::QtWindowLevelControls::slotControlsChanged ()
 This slot is called by the UI widgets when their values change.
void cmtk::QtWindowLevelControls::slotSelectColormap (int colormapIndex)
 This slot is called when the user picks a new colormap.

Detailed Description

This library provides classes to interface lower-level CMTK classes with the Qt toolkit.


Function Documentation

void cmtk::QtProgress::BeginVirtual ( const double  start,
const double  end,
const double  increment,
const std::string &  taskName = std::string("") 
) [virtual, inherited]

This member function initialises the Qt progress indicator.

Reimplemented from cmtk::Progress.

Definition at line 55 of file cmtkQtProgress.cxx.

QMenu * cmtk::QtImageOperators::CreatePopupMenu (  ) [inherited]

Create and return popup menu that makes operators available.

Definition at line 53 of file cmtkQtImageOperators.cxx.

Referenced by cmtk::QtTriplanarViewer::QtTriplanarViewer().

void cmtk::QtProgress::DoneVirtual (  ) [virtual, inherited]

This member function deletes the Qt progress indicator.

Reimplemented from cmtk::Progress.

Definition at line 102 of file cmtkQtProgress.cxx.

void cmtk::QtRenderImageRGB::DrawCrosshair ( QPainter &  painter,
const unsigned int  width,
const unsigned int  height 
) const [private, inherited]

Draw crosshair.

Definition at line 123 of file cmtkQtRenderImageRGB.cxx.

void cmtk::QtRenderImageRGB::Execute (  ) [virtual, inherited]

The actual renderer function.

Reimplemented from cmtk::PipelineObject.

Definition at line 81 of file cmtkQtRenderImageRGB.cxx.

References NULL.

int cmtk::QtTriplanarViewer::ExecuteBatchMode ( const int  argc,
char *  argv[] 
) [virtual, inherited]

Execute in batch mode.

Definition at line 44 of file cmtkQtTriplanarViewerBatchMode.cxx.

double cmtk::QtSliderEntry::GetMaxValue (  ) const [inherited]

Get maximum value.

Definition at line 103 of file cmtkQtSliderEntry.cxx.

References cmtk::QtSliderEntry::PrecisionFactor, and cmtk::QtSliderEntry::Slider.

double cmtk::QtSliderEntry::GetMinValue (  ) const [inherited]

Get minimum value.

Definition at line 97 of file cmtkQtSliderEntry.cxx.

References cmtk::QtSliderEntry::PrecisionFactor, and cmtk::QtSliderEntry::Slider.

QPixmap cmtk::QtRenderImageRGB::GetPixmap (  ) [inherited]

Return currently displayed image.

Definition at line 143 of file cmtkQtRenderImageRGB.cxx.

References cmtk::AXIS_X, cmtk::AXIS_Y, and NULL.

Referenced by cmtk::QtTriplanarWindow::slotExportImage().

double cmtk::QtSliderEntry::GetValue (  ) const [inherited]

Get value.

Definition at line 91 of file cmtkQtSliderEntry.cxx.

References cmtk::QtSliderEntry::Edit.

void cmtk::QtRenderImageRGB::mouseMoveEvent ( QMouseEvent *  e ) [protected, virtual, inherited]

React to mouse dragging (generate a signal).

Definition at line 178 of file cmtkQtRenderImageRGB.cxx.

References cmtk::AXIS_X, and cmtk::AXIS_Y.

void cmtk::QtRenderImageRGB::mousePressEvent ( QMouseEvent *  e ) [protected, virtual, inherited]

React to mouse clicks (generate a signal).

Definition at line 155 of file cmtkQtRenderImageRGB.cxx.

References cmtk::AXIS_X, and cmtk::AXIS_Y.

void cmtk::QtRenderImageRGB::paintEvent ( QPaintEvent * const   ) [protected, virtual, inherited]

Repaint widget.

Definition at line 71 of file cmtkQtRenderImageRGB.cxx.

cmtk::QtProgress::QtProgress ( QWidget *const   parentWindow ) [inherited]

Constructor.

Definition at line 45 of file cmtkQtProgress.cxx.

References NULL.

cmtk::QtRenderImageRGB::QtRenderImageRGB ( QWidget *const   parent = 0,
Qt::WFlags  f = 0 
) [inherited]

Constructor.

Definition at line 51 of file cmtkQtRenderImageRGB.cxx.

cmtk::QtScrollRenderView::QtScrollRenderView ( QWidget *  parentWidget,
const QString &  title = QString::null 
) [inherited]

Constructor.

This object will be child of the given parent widget.

Definition at line 48 of file cmtkQtScrollRenderView.cxx.

cmtk::QtSliderEntry::QtSliderEntry ( QWidget *  parent ) [inherited]
cmtk::QtTriplanarViewer::QtTriplanarViewer (  ) [inherited]
cmtk::QtTriplanarWindow::QtTriplanarWindow (  ) [inherited]

Constructor.

Definition at line 64 of file cmtkQtTriplanarWindow.cxx.

References cmtk::QtTriplanarWindow::AddLandmarkButton, cmtk::ImageToImageRGB::AlphaModeConst, cmtk::QtTriplanarWindow::CenterButton, cmtk::QtTriplanarWindow::DeleteLandmarkButton, cmtk::QtTriplanarWindow::ExportLandmarksButton, cmtk::QtTriplanarWindow::ExportMenu, cmtk::Source< O >::GetOutput(), cmtk::QtScrollRenderView::GetRenderImage(), cmtk::QtTriplanarWindow::GoToLandmarkButton, cmtk::QtTriplanarWindow::GoToLocationButton, cmtk::QtTriplanarWindow::GridIndex, cmtk::QtTriplanarWindow::GridIndexInfo, cmtk::QtTriplanarWindow::GridLayout, cmtk::QtTriplanarWindow::ImageToImageRGBAx, cmtk::QtTriplanarWindow::ImageToImageRGBCo, cmtk::QtTriplanarWindow::ImageToImageRGBSa, cmtk::QtTriplanarWindow::ImportLandmarksButton, cmtk::QtTriplanarWindow::LandmarkBox, cmtk::QtTriplanarWindow::LandmarksLayout, cmtk::QtTriplanarWindow::LocationEntryX, cmtk::QtTriplanarWindow::LocationEntryY, cmtk::QtTriplanarWindow::LocationEntryZ, cmtk::QtTriplanarWindow::LocationValidatorX, cmtk::QtTriplanarWindow::LocationValidatorY, cmtk::QtTriplanarWindow::LocationValidatorZ, cmtk::QtTriplanarWindow::m_CheckerboxAction, cmtk::QtTriplanarWindow::m_Colormap, cmtk::QtTriplanarWindow::m_ControlsTab, cmtk::QtTriplanarWindow::m_CrosshairAction, cmtk::QtTriplanarWindow::m_InterpolateAction, cmtk::QtTriplanarWindow::m_ProgressReporter, cmtk::QtTriplanarWindow::m_ZoomActions, cmtk::QtTriplanarWindow::MenuBar, cmtk::ImageToImageRGB::New(), cmtk::Image::New(), cmtk::Colormap::New(), cmtk::PALETTE_GRAY, cmtk::QtTriplanarWindow::PipelineImageAx, cmtk::QtTriplanarWindow::PipelineImageCo, cmtk::QtTriplanarWindow::PipelineImageSa, cmtk::QtTriplanarWindow::ScrollRenderViewAx, cmtk::QtTriplanarWindow::ScrollRenderViewCo, cmtk::QtTriplanarWindow::ScrollRenderViewSa, cmtk::ImageToImageRGB::SetColormap(), cmtk::ImageToImageRGB::SetInput(), cmtk::QtScrollRenderView::SetSliderLabelL(), cmtk::QtScrollRenderView::SetSliderLabelR(), cmtk::Colormap::SetStandardColormap(), cmtk::QtScrollRenderView::ShowSlider(), cmtk::QtTriplanarWindow::slotAddLandmark(), cmtk::QtTriplanarWindow::slotCenter(), cmtk::QtTriplanarWindow::slotColormapChanged(), cmtk::QtScrollRenderView::slotConnectImage(), cmtk::QtTriplanarWindow::slotDeleteLandmark(), cmtk::QtTriplanarWindow::slotExportLandmarks(), cmtk::QtTriplanarWindow::slotExportMenuCmd(), cmtk::QtTriplanarWindow::slotGoToLandmark(), cmtk::QtTriplanarWindow::slotGoToLocation(), cmtk::QtTriplanarWindow::slotImportLandmarks(), cmtk::QtTriplanarWindow::slotMouseAx(), cmtk::QtTriplanarWindow::slotMouseCo(), cmtk::QtTriplanarWindow::slotMouseSa(), cmtk::QtTriplanarWindow::slotSwitchImageAx(), cmtk::QtTriplanarWindow::slotSwitchImageCo(), cmtk::QtTriplanarWindow::slotSwitchImageSa(), cmtk::QtTriplanarWindow::slotView100(), cmtk::QtTriplanarWindow::slotView200(), cmtk::QtTriplanarWindow::slotView25(), cmtk::QtTriplanarWindow::slotView300(), cmtk::QtTriplanarWindow::slotView33(), cmtk::QtTriplanarWindow::slotView400(), cmtk::QtTriplanarWindow::slotView50(), cmtk::QtTriplanarWindow::slotView500(), cmtk::QtTriplanarWindow::slotViewCheckerbox(), cmtk::QtTriplanarWindow::slotViewCrosshair(), cmtk::QtTriplanarWindow::slotViewInterpolation(), cmtk::QtTriplanarWindow::StatusBar, cmtk::QtTriplanarWindow::ViewMenu, cmtk::QtIcons::WindowIcon(), and cmtk::QtTriplanarWindow::WindowLevelControls.

cmtk::QtWindowLevelControls::QtWindowLevelControls ( QWidget *const   parent ) [inherited]

Constructor.

Definition at line 47 of file cmtkQtWindowLevelControls.cxx.

cmtk::QtWindowLevelDialog::QtWindowLevelDialog ( QWidget *  parent = 0,
bool  modal = FALSE,
Qt::WFlags  f = 0 
) [inherited]

Constructor.

Definition at line 48 of file cmtkQtWindowLevelDialog.cxx.

void cmtk::QtRenderImageRGB::RenderTo ( QPaintDevice *  pd ) [inherited]

Render to given paint device.

Definition at line 87 of file cmtkQtRenderImageRGB.cxx.

References cmtk::IMAGE_RGBA, and NULL.

void cmtk::QtTriplanarWindow::UpdateDialog (  ) [protected, inherited]
void cmtk::QtTriplanarWindow::UpdateGridInfo (  ) [private, inherited]
Progress::ResultEnum cmtk::QtProgress::UpdateProgress (  ) [virtual, inherited]

This member function sets the Qt progress indicator.

Implements cmtk::Progress.

Definition at line 83 of file cmtkQtProgress.cxx.

cmtk::QtRenderImageRGB::~QtRenderImageRGB (  ) [virtual, inherited]

Destructor.

Definition at line 66 of file cmtkQtRenderImageRGB.cxx.

cmtk::QtScrollRenderView::~QtScrollRenderView (  ) [virtual, inherited]

Destructor.

Definition at line 100 of file cmtkQtScrollRenderView.cxx.


Public Slots

void cmtk::QtTriplanarViewer::slotAddStudy ( const char *  fname ) [slot, inherited]
void cmtk::QtSliderEntry::slotCenter (  ) [slot, inherited]

Set to center position.

Definition at line 195 of file cmtkQtSliderEntry.cxx.

References cmtk::QtSliderEntry::Slider.

void cmtk::QtTriplanarWindow::slotColormapChanged ( Study::SmartPtr study ) [slot, inherited]
void cmtk::QtScrollRenderView::slotConnectImage ( ImageRGB *const   image ) [slot, inherited]

Connect render view to an RGB image object.

Definition at line 104 of file cmtkQtScrollRenderView.cxx.

Referenced by cmtk::QtTriplanarWindow::QtTriplanarWindow().

void cmtk::QtTriplanarViewer::slotCopyColormapToOtherImages (  ) [slot, inherited]

Copy current image colormap to all other images.

Definition at line 160 of file cmtkQtTriplanarViewer.cxx.

References cmtk::QtTriplanarViewer::m_Studies.

Referenced by cmtk::QtTriplanarViewer::QtTriplanarViewer().

void cmtk::QtTriplanarWindow::slotDataChanged ( Study::SmartPtr study ) [slot, inherited]
void cmtk::QtTriplanarViewer::slotLoadFile (  ) [slot, inherited]
void cmtk::QtImageOperators::slotOperatorAbs (  ) [slot, inherited]

Definition at line 133 of file cmtkQtImageOperators.cxx.

References cmtk::Wrappers::Abs().

void cmtk::QtImageOperators::slotOperatorExp (  ) [slot, inherited]

Definition at line 153 of file cmtkQtImageOperators.cxx.

References cmtk::Wrappers::Exp().

void cmtk::QtImageOperators::slotOperatorHistEq (  ) [slot, inherited]

Definition at line 109 of file cmtkQtImageOperators.cxx.

void cmtk::QtImageOperators::slotOperatorLog (  ) [slot, inherited]

Definition at line 143 of file cmtkQtImageOperators.cxx.

References cmtk::Wrappers::Log().

void cmtk::QtImageOperators::slotOperatorMedian (  ) [slot, inherited]

Slot to open selected type of fusion window.

Definition at line 71 of file cmtkQtImageOperators.cxx.

void cmtk::QtImageOperators::slotOperatorSobel (  ) [slot, inherited]

Definition at line 95 of file cmtkQtImageOperators.cxx.

void cmtk::QtTriplanarViewer::slotReloadData (  ) [slot, inherited]
void cmtk::QtScrollRenderView::slotRender (  ) [slot, inherited]
void cmtk::QtSliderEntry::slotSetMinMaxLabels ( const QString &  minLabel,
const QString &  maxLabel 
) [slot, inherited]
void cmtk::QtScrollRenderView::slotSetNumberOfSlices ( unsigned int  nSlices ) [slot, inherited]

Set number of slices for the image slider.

Definition at line 128 of file cmtkQtScrollRenderView.cxx.

Referenced by cmtk::QtTriplanarWindow::UpdateDialog().

void cmtk::QtSliderEntry::slotSetPrecision ( int  precision ) [slot, inherited]
void cmtk::QtSliderEntry::slotSetRange ( double  rangeFrom,
double  rangeTo 
) [slot, inherited]
void cmtk::QtScrollRenderView::slotSetSlice ( unsigned int  slice ) [slot, inherited]

Set to given slice.

Definition at line 148 of file cmtkQtScrollRenderView.cxx.

void cmtk::QtWindowLevelControls::slotSetStudy ( Study::SmartPtr study ) [slot, inherited]

This signal tells the controls that the study object has changed.

Definition at line 93 of file cmtkQtWindowLevelControls.cxx.

References cmtk::TypedArray::GetStatistics().

Referenced by cmtk::QtTriplanarWindow::slotSwitchToStudy(), and cmtk::QtTriplanarWindow::slotSwitchToStudyInternal().

void cmtk::QtWindowLevelDialog::slotSetStudy ( Study::SmartPtr study ) [slot, inherited]

Set study object.

Definition at line 63 of file cmtkQtWindowLevelDialog.cxx.

void cmtk::QtSliderEntry::slotSetTitle ( const QString &  title ) [slot, inherited]

Set title label.

Definition at line 136 of file cmtkQtSliderEntry.cxx.

References cmtk::QtSliderEntry::Layout, and cmtk::QtSliderEntry::TitleLabel.

void cmtk::QtSliderEntry::slotSetValue ( const double  value ) [slot, inherited]
void cmtk::QtTriplanarWindow::slotSwitchToStudy ( Study::SmartPtr study ) [slot, inherited]
void cmtk::QtTriplanarWindow::slotSwitchToStudyInternal ( Study::SmartPtr study ) [slot, inherited]

Protected Slots

void cmtk::QtTriplanarWindow::slotAddLandmark (  ) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotCenter (  ) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotDeleteLandmark (  ) [protected, slot, inherited]

This slot is called when the "Delete Landmark" button is clicked.

Definition at line 855 of file cmtkQtTriplanarWindow.cxx.

Referenced by cmtk::QtTriplanarWindow::QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotExportImage ( const QString &  filename,
const int  command 
) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotExportLandmarks (  ) [protected, slot, inherited]

This slot is called when the "Export Landmarks" button is clicked.

Definition at line 860 of file cmtkQtTriplanarWindow.cxx.

References NULL.

Referenced by cmtk::QtTriplanarWindow::QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotExportMenuCmd ( QAction *  action ) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotGoToLandmark (  ) [protected, slot, inherited]

This slot is called when the "Go To Landmark" button is clicked.

Definition at line 840 of file cmtkQtTriplanarWindow.cxx.

References cmtk::LandmarkList::FindByName(), cmtk::QtTriplanarWindow::LandmarkBox, and cmtk::QtTriplanarWindow::slotMouse3D().

Referenced by cmtk::QtTriplanarWindow::QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotGoToLocation (  ) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotGoToLocation ( const QString &  xyz ) [protected, slot, inherited]

Definition at line 660 of file cmtkQtTriplanarWindow.cxx.

References cmtk::QtTriplanarWindow::slotMouse3D().

void cmtk::QtTriplanarWindow::slotGoToPixel ( const QString &  xyz ) [protected, slot, inherited]

Definition at line 644 of file cmtkQtTriplanarWindow.cxx.

void cmtk::QtTriplanarWindow::slotImportLandmarks (  ) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotMouse3D ( Qt::MouseButton  ,
const Vector3D v 
) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotMouseAx ( Qt::MouseButton  ,
const Vector3D v 
) [protected, slot, inherited]

Three-dimensional mouse event from axial slice.

Definition at line 742 of file cmtkQtTriplanarWindow.cxx.

References cmtk::AXIS_X, cmtk::AXIS_Y, and cmtk::UniformVolume::GetClosestCoordIndex().

Referenced by cmtk::QtTriplanarWindow::QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotMouseCo ( Qt::MouseButton  ,
const Vector3D v 
) [protected, slot, inherited]

Three-dimensional mouse event from coronal slice.

Definition at line 794 of file cmtkQtTriplanarWindow.cxx.

References cmtk::AXIS_X, cmtk::AXIS_Z, and cmtk::UniformVolume::GetClosestCoordIndex().

Referenced by cmtk::QtTriplanarWindow::QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotMouseSa ( Qt::MouseButton  ,
const Vector3D v 
) [protected, slot, inherited]

Three-dimensional mouse event from sagittal slice.

Definition at line 768 of file cmtkQtTriplanarWindow.cxx.

References cmtk::AXIS_Y, cmtk::AXIS_Z, and cmtk::UniformVolume::GetClosestCoordIndex().

Referenced by cmtk::QtTriplanarWindow::QtTriplanarWindow().

void cmtk::QtTriplanarWindow::slotRenderAll (  ) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotSetCheckerboardMode ( const bool  mode ) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotSetColormap ( const QString &  cmap ) [protected, slot, inherited]

Batch mode slots.

Definition at line 675 of file cmtkQtTriplanarWindow.cxx.

References cmtk::Colormap::StandardColormaps.

void cmtk::QtTriplanarWindow::slotSetCrosshairMode ( const bool  mode ) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotSetInterpolateMode ( const bool  mode ) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotSetWindowLevel ( const QString &  wl ) [protected, slot, inherited]

Definition at line 690 of file cmtkQtTriplanarWindow.cxx.

void cmtk::QtTriplanarWindow::slotSetZoom ( const int  zoomPercent ) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotSwitchImageAx ( int  imageIndex ) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotSwitchImageCo ( int  imageIndex ) [protected, slot, inherited]
void cmtk::QtTriplanarWindow::slotSwitchImageSa ( int  imageIndex ) [protected, slot, inherited]

Private Slots

void cmtk::QtWindowLevelControls::slotControlsChanged (  ) [private, slot, inherited]

This slot is called by the UI widgets when their values change.

Definition at line 157 of file cmtkQtWindowLevelControls.cxx.

void cmtk::QtSliderEntry::slotEditReturnPressed (  ) [private, slot, inherited]
void cmtk::QtWindowLevelControls::slotSelectColormap ( int  colormapIndex ) [private, slot, inherited]

This slot is called when the user picks a new colormap.

Definition at line 183 of file cmtkQtWindowLevelControls.cxx.

void cmtk::QtSliderEntry::slotSliderValueChanged ( int  value ) [private, slot, inherited]
void cmtk::QtWindowLevelControls::slotSwitchModeWL ( int  modeWindowLevel ) [private, slot, inherited]

This slot is called when the Window/Level mode is changed.

Definition at line 117 of file cmtkQtWindowLevelControls.cxx.

void cmtk::QtTriplanarViewer::slotSwitchStudy ( const QString &  study ) [private, slot, inherited]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines