Medical Imaging Interaction Toolkit  2018.4.99-6aa36ba9
Medical Imaging Interaction Toolkit
QmitkSliceWidget Class Reference

#include <QmitkSliceWidget.h>

Inheritance diagram for QmitkSliceWidget:
Collaboration diagram for QmitkSliceWidget:

Public Slots

void SetData (mitk::DataStorage::SetOfObjects::ConstIterator it)
 
void SetData (mitk::DataStorage::SetOfObjects::ConstIterator it, mitk::SliceNavigationController::ViewDirection view)
 
void SetData (mitk::DataNode::Pointer node)
 
void SetData (mitk::DataNode::Pointer node, mitk::SliceNavigationController::ViewDirection view)
 
void InitWidget (mitk::SliceNavigationController::ViewDirection viewDirection)
 
void wheelEvent (QWheelEvent *e) override
 
void ChangeView (QAction *val)
 
void SetLevelWindowEnabled (bool enable)
 

Public Member Functions

 QmitkSliceWidget (QWidget *parent=nullptr, const char *name=nullptr, Qt::WindowFlags f=nullptr)
 
mitk::VtkPropRendererGetRenderer ()
 
QFrame * GetSelectionFrame ()
 
void UpdateGL ()
 
void mousePressEvent (QMouseEvent *e) override
 
void setPopUpEnabled (bool b)
 
void SetDataStorage (mitk::StandaloneDataStorage::Pointer storage)
 
mitk::StandaloneDataStorageGetDataStorage ()
 
QmitkSliderNavigatorWidgetGetNavigatorWidget ()
 
bool IsLevelWindowEnabled ()
 
QmitkRenderWindowGetRenderWindow ()
 
mitk::SliceNavigationControllerGetSliceNavigationController () const
 
mitk::CameraRotationControllerGetCameraRotationController () const
 
mitk::BaseControllerGetController () const
 

Protected Attributes

QmitkRenderWindowm_RenderWindow
 
mitk::SliceNavigationController::ViewDirection m_View
 

Detailed Description

Examples:
Step4.cpp, Step5.cpp, and Step6.cpp.

Definition at line 26 of file QmitkSliceWidget.h.

Constructor & Destructor Documentation

◆ QmitkSliceWidget()

QmitkSliceWidget::QmitkSliceWidget ( QWidget *  parent = nullptr,
const char *  name = nullptr,
Qt::WindowFlags  f = nullptr 
)

Member Function Documentation

◆ ChangeView

void QmitkSliceWidget::ChangeView ( QAction *  val)
slot

◆ GetCameraRotationController()

mitk::CameraRotationController * QmitkSliceWidget::GetCameraRotationController ( ) const

◆ GetController()

mitk::BaseController * QmitkSliceWidget::GetController ( ) const

◆ GetDataStorage()

mitk::StandaloneDataStorage * QmitkSliceWidget::GetDataStorage ( )

Definition at line 75 of file QmitkSliceWidget.cpp.

◆ GetNavigatorWidget()

QmitkSliderNavigatorWidget * QmitkSliceWidget::GetNavigatorWidget ( )

Definition at line 223 of file QmitkSliceWidget.cpp.

◆ GetRenderer()

mitk::VtkPropRenderer * QmitkSliceWidget::GetRenderer ( )
Examples:
Step4.cpp, Step5.cpp, and Step6.cpp.

Definition at line 59 of file QmitkSliceWidget.cpp.

Referenced by InitWidget(), main(), Step6::SetupWidgets(), and UpdateGL().

◆ GetRenderWindow()

QmitkRenderWindow * QmitkSliceWidget::GetRenderWindow ( )

Definition at line 248 of file QmitkSliceWidget.cpp.

References m_RenderWindow.

Referenced by InitWidget(), and UpdateGL().

◆ GetSelectionFrame()

QFrame * QmitkSliceWidget::GetSelectionFrame ( )

Definition at line 64 of file QmitkSliceWidget.cpp.

◆ GetSliceNavigationController()

mitk::SliceNavigationController * QmitkSliceWidget::GetSliceNavigationController ( ) const

◆ InitWidget

◆ IsLevelWindowEnabled()

bool QmitkSliceWidget::IsLevelWindowEnabled ( )

Definition at line 243 of file QmitkSliceWidget.cpp.

◆ mousePressEvent()

void QmitkSliceWidget::mousePressEvent ( QMouseEvent *  e)
override

Definition at line 179 of file QmitkSliceWidget.cpp.

◆ SetData [1/4]

void QmitkSliceWidget::SetData ( mitk::DataStorage::SetOfObjects::ConstIterator  it)
slot
Examples:
Step4.cpp, Step5.cpp, and Step6.cpp.

Definition at line 80 of file QmitkSliceWidget.cpp.

References m_View.

Referenced by main(), SetData(), and Step6::SetupWidgets().

◆ SetData [2/4]

void QmitkSliceWidget::SetData ( mitk::DataStorage::SetOfObjects::ConstIterator  it,
mitk::SliceNavigationController::ViewDirection  view 
)
slot

Definition at line 85 of file QmitkSliceWidget.cpp.

References SetData().

◆ SetData [3/4]

void QmitkSliceWidget::SetData ( mitk::DataNode::Pointer  node)
slot

Definition at line 91 of file QmitkSliceWidget.cpp.

References m_View, and SetData().

◆ SetData [4/4]

void QmitkSliceWidget::SetData ( mitk::DataNode::Pointer  node,
mitk::SliceNavigationController::ViewDirection  view 
)
slot

Definition at line 106 of file QmitkSliceWidget.cpp.

References image, InitWidget(), and MITK_WARN.

◆ SetDataStorage()

void QmitkSliceWidget::SetDataStorage ( mitk::StandaloneDataStorage::Pointer  storage)
Examples:
Step4.cpp, Step5.cpp, and Step6.cpp.

Definition at line 69 of file QmitkSliceWidget.cpp.

Referenced by main(), and Step6::SetupWidgets().

◆ SetLevelWindowEnabled

void QmitkSliceWidget::SetLevelWindowEnabled ( bool  enable)
slot
Examples:
Step4.cpp.

Definition at line 228 of file QmitkSliceWidget.cpp.

Referenced by main(), and QmitkSliceWidget().

◆ setPopUpEnabled()

void QmitkSliceWidget::setPopUpEnabled ( bool  b)

Definition at line 218 of file QmitkSliceWidget.cpp.

Referenced by QmitkSliceWidget().

◆ UpdateGL()

◆ wheelEvent

void QmitkSliceWidget::wheelEvent ( QWheelEvent *  e)
overrideslot

Definition at line 187 of file QmitkSliceWidget.cpp.

Member Data Documentation

◆ m_RenderWindow

QmitkRenderWindow* QmitkSliceWidget::m_RenderWindow
protected

◆ m_View

mitk::SliceNavigationController::ViewDirection QmitkSliceWidget::m_View
protected

Definition at line 79 of file QmitkSliceWidget.h.

Referenced by InitWidget(), QmitkSliceWidget(), and SetData().


The documentation for this class was generated from the following files: