Medical Imaging Interaction Toolkit  2016.11.0
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=0, const char *name=0, Qt::WindowFlags f=0)
 
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 30 of file QmitkSliceWidget.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void QmitkSliceWidget::ChangeView ( QAction *  val)
slot
mitk::CameraRotationController * QmitkSliceWidget::GetCameraRotationController ( ) const
mitk::BaseController * QmitkSliceWidget::GetController ( ) const
mitk::StandaloneDataStorage * QmitkSliceWidget::GetDataStorage ( )

Definition at line 79 of file QmitkSliceWidget.cpp.

QmitkSliderNavigatorWidget * QmitkSliceWidget::GetNavigatorWidget ( )

Definition at line 227 of file QmitkSliceWidget.cpp.

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

Definition at line 63 of file QmitkSliceWidget.cpp.

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

QmitkRenderWindow * QmitkSliceWidget::GetRenderWindow ( )

Definition at line 252 of file QmitkSliceWidget.cpp.

References m_RenderWindow.

Referenced by InitWidget(), and UpdateGL().

QFrame * QmitkSliceWidget::GetSelectionFrame ( )

Definition at line 68 of file QmitkSliceWidget.cpp.

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

Definition at line 247 of file QmitkSliceWidget.cpp.

void QmitkSliceWidget::mousePressEvent ( QMouseEvent *  e)
override

Definition at line 183 of file QmitkSliceWidget.cpp.

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

Definition at line 84 of file QmitkSliceWidget.cpp.

References m_View.

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

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

Definition at line 89 of file QmitkSliceWidget.cpp.

References SetData().

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

Definition at line 95 of file QmitkSliceWidget.cpp.

References m_View, and SetData().

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

Definition at line 110 of file QmitkSliceWidget.cpp.

References InitWidget(), and MITK_WARN.

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

Definition at line 73 of file QmitkSliceWidget.cpp.

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

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

Definition at line 232 of file QmitkSliceWidget.cpp.

Referenced by main(), and QmitkSliceWidget().

void QmitkSliceWidget::setPopUpEnabled ( bool  b)

Definition at line 222 of file QmitkSliceWidget.cpp.

Referenced by QmitkSliceWidget().

void QmitkSliceWidget::wheelEvent ( QWheelEvent *  e)
overrideslot

Definition at line 191 of file QmitkSliceWidget.cpp.

Member Data Documentation

QmitkRenderWindow* QmitkSliceWidget::m_RenderWindow
protected
mitk::SliceNavigationController::ViewDirection QmitkSliceWidget::m_View
protected

Definition at line 83 of file QmitkSliceWidget.h.

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


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