Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
GUI for surface-based interpolation. More...
#include <QmitkSurfaceBasedInterpolatorWidget.h>
Public Slots | |
void | OnToggleWidgetActivation (bool) |
Reaction to "Start/Stop" button click. More... | |
Public Member Functions | |
QmitkSurfaceBasedInterpolatorWidget (QWidget *parent=0, const char *name=0) | |
virtual | ~QmitkSurfaceBasedInterpolatorWidget () |
void | SetDataStorage (mitk::DataStorage &storage) |
void | OnToolManagerWorkingDataModified () |
void | OnSurfaceInterpolationInfoChanged (const itk::EventObject &) |
void | ShowInterpolationResult (bool) |
Set the visibility of the interpolation. More... | |
Public Attributes | |
Ui::QmitkSurfaceBasedInterpolatorWidgetGUIControls | m_Controls |
Protected Slots | |
void | OnAcceptInterpolationClicked () |
void | OnSurfaceInterpolationFinished () |
void | OnRunInterpolation () |
void | OnShowMarkers (bool) |
void | StartUpdateInterpolationTimer () |
void | StopUpdateInterpolationTimer () |
void | ChangeSurfaceColor () |
GUI for surface-based interpolation.
There is a separate page describing the general design of QmitkInteractiveSegmentation: QmitkInteractiveSegmentationTechnicalPage
QmitkSurfaceBasedInterpolatorWidgetController is responsible to watch the GUI, to notice, which slice is currently visible. It triggers generation of interpolation suggestions and also triggers acception of suggestions.
Definition at line 58 of file QmitkSurfaceBasedInterpolatorWidget.h.
QmitkSurfaceBasedInterpolatorWidget::QmitkSurfaceBasedInterpolatorWidget | ( | QWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
Definition at line 39 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
References ChangeSurfaceColor(), mitk::ToolManagerProvider::GetInstance(), mitk::BaseRenderer::GetInstance(), mitk::BaseRenderer::GetRenderWindowByName(), mitk::ToolManagerProvider::GetToolManager(), m_Controls, mitk::BoolProperty::New(), mitk::FloatProperty::New(), mitk::VtkRepresentationProperty::New(), mitk::New(), mitk::ColorProperty::New(), mitk::DataNode::New(), OnAcceptInterpolationClicked(), OnShowMarkers(), OnSurfaceInterpolationFinished(), OnSurfaceInterpolationInfoChanged(), OnToggleWidgetActivation(), OnToolManagerWorkingDataModified(), StartUpdateInterpolationTimer(), StopUpdateInterpolationTimer(), and mitk::ToolManager::WorkingDataChanged.
|
virtual |
Definition at line 106 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
References OnToolManagerWorkingDataModified(), and mitk::ToolManager::WorkingDataChanged.
|
protectedslot |
Definition at line 192 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
References mitk::BaseRenderer::GetInstance(), mitk::RenderingManager::GetInstance(), mitk::BaseRenderer::GetRenderWindowByName(), mitk::ColorProperty::New(), and mitk::RenderingManager::RequestUpdate().
Referenced by QmitkSurfaceBasedInterpolatorWidget().
|
protectedslot |
Definition at line 341 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
References ShowInterpolationResult().
Referenced by QmitkSurfaceBasedInterpolatorWidget().
|
protectedslot |
Definition at line 241 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
Referenced by OnSurfaceInterpolationInfoChanged(), and OnToggleWidgetActivation().
|
protectedslot |
Definition at line 153 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
References mitk::ToolManager::GetToolById(), mitk::ToolManager::GetTools(), mitk::BoolProperty::New(), and mitk::NodePredicateProperty::New().
Referenced by QmitkSurfaceBasedInterpolatorWidget().
|
protectedslot |
Definition at line 135 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
References ShowInterpolationResult().
Referenced by QmitkSurfaceBasedInterpolatorWidget().
void QmitkSurfaceBasedInterpolatorWidget::OnSurfaceInterpolationInfoChanged | ( | const itk::EventObject & | ) |
Just public because it is called by itk::Commands. You should not need to call this.
Definition at line 350 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
References OnRunInterpolation().
Referenced by QmitkSurfaceBasedInterpolatorWidget().
|
slot |
Reaction to "Start/Stop" button click.
Definition at line 246 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
References mitk::UndoModel::Clear(), mitk::UndoController::GetCurrentUndoModel(), mitk::RenderingManager::GetInstance(), mitk::ToolManager::GetToolById(), mitk::ToolManager::GetTools(), mitk::ToolManager::GetWorkingData(), m_Controls, OnRunInterpolation(), mitk::RenderingManager::RequestUpdateAll(), and mitk::SegTool2D::SetEnable3DInterpolation().
Referenced by QmitkSurfaceBasedInterpolatorWidget().
void QmitkSurfaceBasedInterpolatorWidget::OnToolManagerWorkingDataModified | ( | ) |
Definition at line 212 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
References mitk::DataNode::GetData(), mitk::Image::GetDimension(), and mitk::ToolManager::GetWorkingData().
Referenced by QmitkSurfaceBasedInterpolatorWidget(), and ~QmitkSurfaceBasedInterpolatorWidget().
void QmitkSurfaceBasedInterpolatorWidget::SetDataStorage | ( | mitk::DataStorage & | storage | ) |
Definition at line 101 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
void QmitkSurfaceBasedInterpolatorWidget::ShowInterpolationResult | ( | bool | status | ) |
Set the visibility of the interpolation.
Definition at line 123 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
References mitk::BaseRenderer::GetInstance(), mitk::RenderingManager::GetInstance(), mitk::BaseRenderer::GetRenderWindowByName(), and mitk::RenderingManager::RequestUpdateAll().
Referenced by OnAcceptInterpolationClicked(), and OnSurfaceInterpolationFinished().
|
protectedslot |
Definition at line 179 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
Referenced by QmitkSurfaceBasedInterpolatorWidget().
|
protectedslot |
Definition at line 184 of file QmitkSurfaceBasedInterpolatorWidget.cpp.
References mitk::BaseRenderer::GetInstance(), mitk::RenderingManager::GetInstance(), mitk::BaseRenderer::GetRenderWindowByName(), mitk::ColorProperty::New(), and mitk::RenderingManager::RequestUpdate().
Referenced by QmitkSurfaceBasedInterpolatorWidget().
Ui::QmitkSurfaceBasedInterpolatorWidgetGUIControls QmitkSurfaceBasedInterpolatorWidget::m_Controls |
Definition at line 80 of file QmitkSurfaceBasedInterpolatorWidget.h.
Referenced by OnToggleWidgetActivation(), and QmitkSurfaceBasedInterpolatorWidget().