Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Provides a means to scan quickly through a dataset via Axial, Coronal and Sagittal sliders, displaying millimetre location and stepper position. More...
#include <QmlMitkImageNavigator.h>
Signals | |
void | sync () |
GetDecorationColorOfGeometry helper method to get the color of a helper geometry node. More... | |
Static Public Member Functions | |
static void | create (QQmlEngine &engine) |
Static Public Attributes | |
static QmlMitkImageNavigator * | instance |
Protected Slots | |
void | initialize () |
void | OnMillimetreCoordinateValueChanged () |
void | OnRefetch () |
Protected Member Functions | |
void | SetStepSizes () |
void | SetStepSize (int axis) |
void | SetStepSize (int axis, double stepSize) |
int | GetClosestAxisIndex (mitk::Vector3D normal) |
Protected Attributes | |
QmitkStepperAdapter * | m_AxialStepper |
QmitkStepperAdapter * | m_SagittalStepper |
QmitkStepperAdapter * | m_FrontalStepper |
QmitkStepperAdapter * | m_TimeStepper |
Properties | |
QmlMitkSliderNavigatorItem | navigatorAxial |
QmlMitkSliderNavigatorItem | navigatorSagittal |
QmlMitkSliderNavigatorItem | navigatorCoronal |
QmlMitkSliderNavigatorItem | navigatorTime |
double | worldCoordinateX |
double | worldCoordinateY |
double | worldCoordinateZ |
double | worldCoordinateXMin |
double | worldCoordinateYMin |
double | worldCoordinateZMin |
double | worldCoordinateXMax |
double | worldCoordinateYMax |
double | worldCoordinateZMax |
Provides a means to scan quickly through a dataset via Axial, Coronal and Sagittal sliders, displaying millimetre location and stepper position.
For images, the stepper position corresponds to a voxel index. For other datasets such as a surface, it corresponds to a sub-division of the bounding box.
Definition at line 43 of file QmlMitkImageNavigator.h.
QmlMitkImageNavigator::QmlMitkImageNavigator | ( | ) |
Definition at line 24 of file QmlMitkImageNavigator.cpp.
References instance.
QmlMitkImageNavigator::~QmlMitkImageNavigator | ( | ) |
Definition at line 33 of file QmlMitkImageNavigator.cpp.
|
static |
Definition at line 385 of file QmlMitkImageNavigator.cpp.
References QmlMitkSliderNavigatorItem::create().
|
protected |
Definition at line 233 of file QmlMitkImageNavigator.cpp.
Referenced by SetStepSize().
QmlMitkSliderNavigatorItem * QmlMitkImageNavigator::getNavigatorAxial | ( | ) |
Definition at line 57 of file QmlMitkImageNavigator.cpp.
QmlMitkSliderNavigatorItem * QmlMitkImageNavigator::getNavigatorCoronal | ( | ) |
Definition at line 67 of file QmlMitkImageNavigator.cpp.
QmlMitkSliderNavigatorItem * QmlMitkImageNavigator::getNavigatorSagittal | ( | ) |
Definition at line 62 of file QmlMitkImageNavigator.cpp.
QmlMitkSliderNavigatorItem * QmlMitkImageNavigator::getNavigatorTime | ( | ) |
Definition at line 72 of file QmlMitkImageNavigator.cpp.
double QmlMitkImageNavigator::getWorldCoordinateX | ( | ) |
Definition at line 125 of file QmlMitkImageNavigator.cpp.
double QmlMitkImageNavigator::getWorldCoordinateXMax | ( | ) |
Definition at line 155 of file QmlMitkImageNavigator.cpp.
double QmlMitkImageNavigator::getWorldCoordinateXMin | ( | ) |
Definition at line 140 of file QmlMitkImageNavigator.cpp.
double QmlMitkImageNavigator::getWorldCoordinateY | ( | ) |
Definition at line 130 of file QmlMitkImageNavigator.cpp.
double QmlMitkImageNavigator::getWorldCoordinateYMax | ( | ) |
Definition at line 160 of file QmlMitkImageNavigator.cpp.
double QmlMitkImageNavigator::getWorldCoordinateYMin | ( | ) |
Definition at line 145 of file QmlMitkImageNavigator.cpp.
double QmlMitkImageNavigator::getWorldCoordinateZ | ( | ) |
Definition at line 135 of file QmlMitkImageNavigator.cpp.
double QmlMitkImageNavigator::getWorldCoordinateZMax | ( | ) |
Definition at line 165 of file QmlMitkImageNavigator.cpp.
double QmlMitkImageNavigator::getWorldCoordinateZMin | ( | ) |
Definition at line 150 of file QmlMitkImageNavigator.cpp.
|
protectedslot |
Definition at line 170 of file QmlMitkImageNavigator.cpp.
References mitk::RenderingManager::GetInstance(), mitk::BaseController::GetSlice(), mitk::RenderWindowBase::GetSliceNavigationController(), mitk::BaseController::GetTime(), mitk::RenderingManager::GetTimeNavigationController(), QmlMitkStdMultiItem::getViewerAxial(), QmlMitkStdMultiItem::getViewerCoronal(), QmlMitkStdMultiItem::getViewerSagittal(), QmlMitkStdMultiItem::instance, m_AxialStepper, m_FrontalStepper, m_SagittalStepper, m_TimeStepper, and OnRefetch().
|
protectedslot |
Definition at line 310 of file QmlMitkImageNavigator.cpp.
References mitk::SliceNavigationController::GetInputWorldTimeGeometry(), mitk::RenderWindowBase::GetSliceNavigationController(), QmlMitkStdMultiItem::getViewerAxial(), QmlMitkStdMultiItem::instance, and QmlMitkStdMultiItem::moveCrossToPosition().
Referenced by setWorldCoordinateX(), setWorldCoordinateY(), and setWorldCoordinateZ().
|
protectedslot |
Definition at line 326 of file QmlMitkImageNavigator.cpp.
References QmlMitkStdMultiItem::getCrossPosition(), mitk::SliceNavigationController::GetInputWorldGeometry3D(), mitk::SliceNavigationController::GetInputWorldTimeGeometry(), mitk::Stepper::GetPos(), mitk::RenderWindowBase::GetSliceNavigationController(), mitk::BaseController::GetTime(), QmlMitkStdMultiItem::getViewerAxial(), QmlMitkStdMultiItem::instance, max(), min(), and sync().
Referenced by initialize().
void QmlMitkImageNavigator::setNavigatorAxial | ( | QmlMitkSliderNavigatorItem * | item | ) |
Definition at line 37 of file QmlMitkImageNavigator.cpp.
void QmlMitkImageNavigator::setNavigatorCoronal | ( | QmlMitkSliderNavigatorItem * | item | ) |
Definition at line 47 of file QmlMitkImageNavigator.cpp.
void QmlMitkImageNavigator::setNavigatorSagittal | ( | QmlMitkSliderNavigatorItem * | item | ) |
Definition at line 42 of file QmlMitkImageNavigator.cpp.
void QmlMitkImageNavigator::setNavigatorTime | ( | QmlMitkSliderNavigatorItem * | item | ) |
Definition at line 52 of file QmlMitkImageNavigator.cpp.
|
protected |
Definition at line 266 of file QmlMitkImageNavigator.cpp.
References GetClosestAxisIndex(), QmlMitkStdMultiItem::getCrossPosition(), mitk::SliceNavigationController::GetInputWorldGeometry3D(), mitk::RenderWindowBase::GetSliceNavigationController(), QmlMitkStdMultiItem::getViewerAxial(), and QmlMitkStdMultiItem::instance.
Referenced by SetStepSizes().
|
protected |
Definition at line 293 of file QmlMitkImageNavigator.cpp.
|
protected |
Definition at line 259 of file QmlMitkImageNavigator.cpp.
References SetStepSize().
void QmlMitkImageNavigator::setWorldCoordinateX | ( | double | coordinate | ) |
Definition at line 77 of file QmlMitkImageNavigator.cpp.
References OnMillimetreCoordinateValueChanged().
void QmlMitkImageNavigator::setWorldCoordinateXMax | ( | double | coordinate | ) |
Definition at line 110 of file QmlMitkImageNavigator.cpp.
void QmlMitkImageNavigator::setWorldCoordinateXMin | ( | double | coordinate | ) |
Definition at line 95 of file QmlMitkImageNavigator.cpp.
void QmlMitkImageNavigator::setWorldCoordinateY | ( | double | coordinate | ) |
Definition at line 83 of file QmlMitkImageNavigator.cpp.
References OnMillimetreCoordinateValueChanged().
void QmlMitkImageNavigator::setWorldCoordinateYMax | ( | double | coordinate | ) |
Definition at line 115 of file QmlMitkImageNavigator.cpp.
void QmlMitkImageNavigator::setWorldCoordinateYMin | ( | double | coordinate | ) |
Definition at line 100 of file QmlMitkImageNavigator.cpp.
void QmlMitkImageNavigator::setWorldCoordinateZ | ( | double | coordinate | ) |
Definition at line 89 of file QmlMitkImageNavigator.cpp.
References OnMillimetreCoordinateValueChanged().
void QmlMitkImageNavigator::setWorldCoordinateZMax | ( | double | coordinate | ) |
Definition at line 120 of file QmlMitkImageNavigator.cpp.
void QmlMitkImageNavigator::setWorldCoordinateZMin | ( | double | coordinate | ) |
Definition at line 105 of file QmlMitkImageNavigator.cpp.
|
signal |
GetDecorationColorOfGeometry helper method to get the color of a helper geometry node.
renderWindow | The renderwindow of the geometry |
Referenced by OnRefetch().
|
static |
Definition at line 82 of file QmlMitkImageNavigator.h.
Referenced by QmlMitkImageNavigator().
|
protected |
Definition at line 137 of file QmlMitkImageNavigator.h.
Referenced by initialize().
|
protected |
Definition at line 139 of file QmlMitkImageNavigator.h.
Referenced by initialize().
|
protected |
Definition at line 138 of file QmlMitkImageNavigator.h.
Referenced by initialize().
|
protected |
Definition at line 140 of file QmlMitkImageNavigator.h.
Referenced by initialize().
|
readwrite |
Definition at line 46 of file QmlMitkImageNavigator.h.
|
readwrite |
Definition at line 48 of file QmlMitkImageNavigator.h.
|
readwrite |
Definition at line 47 of file QmlMitkImageNavigator.h.
|
readwrite |
Definition at line 49 of file QmlMitkImageNavigator.h.
|
readwrite |
Definition at line 51 of file QmlMitkImageNavigator.h.
|
readwrite |
Definition at line 59 of file QmlMitkImageNavigator.h.
|
readwrite |
Definition at line 55 of file QmlMitkImageNavigator.h.
|
readwrite |
Definition at line 52 of file QmlMitkImageNavigator.h.
|
readwrite |
Definition at line 60 of file QmlMitkImageNavigator.h.
|
readwrite |
Definition at line 56 of file QmlMitkImageNavigator.h.
|
readwrite |
Definition at line 53 of file QmlMitkImageNavigator.h.
|
readwrite |
Definition at line 61 of file QmlMitkImageNavigator.h.
|
readwrite |
Definition at line 57 of file QmlMitkImageNavigator.h.