Widget displaying a clickable image for selecting standard anatomical view directions.
More...
#include <QmitkStandardViews.h>
Widget displaying a clickable image for selecting standard anatomical view directions.
Shows a small picture with labeled hotspots (Left, Right, Top, Bottom, Front, Back). Clicking a hotspot sets the corresponding standard view on the assigned mitk::CameraController and emits the StandardViewDefined signal.
- See also
- mitk::CameraController, QClickableLabel
Definition at line 34 of file QmitkStandardViews.h.
◆ QmitkStandardViews()
| QmitkStandardViews::QmitkStandardViews |
( |
QWidget * |
parent = nullptr, |
|
|
Qt::WindowFlags |
f = {} |
|
) |
| |
Construct the standard views widget.
- Parameters
-
| [in] | parent | The parent widget. |
| [in] | f | Window flags. |
◆ ~QmitkStandardViews()
| QmitkStandardViews::~QmitkStandardViews |
( |
| ) |
|
|
override |
◆ hotspotClicked
| void QmitkStandardViews::hotspotClicked |
( |
const QString & |
s | ) |
|
|
protectedslot |
◆ SetCameraController()
Set the camera controller to apply standard views to.
- Parameters
-
◆ SetCameraControllerFromRenderWindow()
| void QmitkStandardViews::SetCameraControllerFromRenderWindow |
( |
vtkRenderWindow * |
window | ) |
|
Set the camera controller by looking it up from a render window.
- Parameters
-
| [in] | window | The vtkRenderWindow whose camera controller to use. |
◆ StandardViewDefined
Emitted when a standard view hotspot is clicked.
- Parameters
-
| [in] | view | The selected standard view direction. |
◆ m_CameraController
| mitk::CameraController::Pointer QmitkStandardViews::m_CameraController |
|
protected |
◆ m_ClickablePicture
The documentation for this class was generated from the following file: