Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Widget for displaying the residual between an original dwi image and the dwi estimated from a tensor image. More...
#include <QmitkResidualViewWidget.h>
Signals | |
void | pointSelected (int slice, int volume) |
Public Member Functions | |
QmitkResidualViewWidget (QWidget *parent=nullptr) | |
QmitkResidualViewWidget (QGraphicsScene *scene, QWidget *parent=nullptr) | |
void | SetResidualPixmapItem (QGraphicsPixmapItem *item) |
Protected Member Functions | |
void | wheelEvent (QWheelEvent *event) override |
void | mouseMoveEvent (QMouseEvent *event) override |
void | mousePressEvent (QMouseEvent *event) override |
void | mouseReleaseEvent (QMouseEvent *event) override |
void | SetCenter (const QPointF ¢erPoint) |
Protected Attributes | |
QPointF | m_CurrentCenterPoint |
QGraphicsPixmapItem * | m_ResidualPixmapItem |
QPoint | m_LastPanPoint |
Widget for displaying the residual between an original dwi image and the dwi estimated from a tensor image.
Definition at line 33 of file QmitkResidualViewWidget.h.
QmitkResidualViewWidget::QmitkResidualViewWidget | ( | QWidget * | parent = nullptr | ) |
Definition at line 22 of file QmitkResidualViewWidget.cpp.
QmitkResidualViewWidget::QmitkResidualViewWidget | ( | QGraphicsScene * | scene, |
QWidget * | parent = nullptr |
||
) |
Definition at line 30 of file QmitkResidualViewWidget.cpp.
|
overrideprotected |
Definition at line 64 of file QmitkResidualViewWidget.cpp.
References m_CurrentCenterPoint, m_LastPanPoint, and SetCenter().
|
overrideprotected |
Definition at line 37 of file QmitkResidualViewWidget.cpp.
References m_LastPanPoint, m_ResidualPixmapItem, and pointSelected().
|
overrideprotected |
Definition at line 59 of file QmitkResidualViewWidget.cpp.
References m_LastPanPoint.
|
signal |
Referenced by mousePressEvent().
|
protected |
Sets the current centerpoint. Also updates the scene's center point. Unlike centerOn, which has no way of getting the floating point center back, SetCenter() stores the center point. It also handles the special sidebar case. This function will claim the centerPoint to sceneRec ie. the centerPoint must be within the sceneRec.
Definition at line 112 of file QmitkResidualViewWidget.cpp.
References m_CurrentCenterPoint.
Referenced by mouseMoveEvent(), and wheelEvent().
|
inline |
Definition at line 49 of file QmitkResidualViewWidget.h.
|
overrideprotected |
Definition at line 73 of file QmitkResidualViewWidget.cpp.
References m_CurrentCenterPoint, offset, and SetCenter().
|
protected |
Definition at line 68 of file QmitkResidualViewWidget.h.
Referenced by mouseMoveEvent(), SetCenter(), and wheelEvent().
|
protected |
Definition at line 72 of file QmitkResidualViewWidget.h.
Referenced by mouseMoveEvent(), mousePressEvent(), and mouseReleaseEvent().
|
protected |
Definition at line 70 of file QmitkResidualViewWidget.h.
Referenced by mousePressEvent().