Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmlMitkImageNavigator Class Reference

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>

Inheritance diagram for QmlMitkImageNavigator:
Collaboration diagram for QmlMitkImageNavigator:

Signals

void sync ()
 GetDecorationColorOfGeometry helper method to get the color of a helper geometry node. More...
 

Public Member Functions

 QmlMitkImageNavigator ()
 
 ~QmlMitkImageNavigator ()
 
void setNavigatorAxial (QmlMitkSliderNavigatorItem *item)
 
void setNavigatorSagittal (QmlMitkSliderNavigatorItem *item)
 
void setNavigatorCoronal (QmlMitkSliderNavigatorItem *item)
 
void setNavigatorTime (QmlMitkSliderNavigatorItem *item)
 
QmlMitkSliderNavigatorItemgetNavigatorAxial ()
 
QmlMitkSliderNavigatorItemgetNavigatorSagittal ()
 
QmlMitkSliderNavigatorItemgetNavigatorCoronal ()
 
QmlMitkSliderNavigatorItemgetNavigatorTime ()
 
void setWorldCoordinateX (double coordinate)
 
void setWorldCoordinateY (double coordinate)
 
void setWorldCoordinateZ (double coordinate)
 
void setWorldCoordinateXMin (double coordinate)
 
void setWorldCoordinateYMin (double coordinate)
 
void setWorldCoordinateZMin (double coordinate)
 
void setWorldCoordinateXMax (double coordinate)
 
void setWorldCoordinateYMax (double coordinate)
 
void setWorldCoordinateZMax (double coordinate)
 
double getWorldCoordinateX ()
 
double getWorldCoordinateY ()
 
double getWorldCoordinateZ ()
 
double getWorldCoordinateXMin ()
 
double getWorldCoordinateYMin ()
 
double getWorldCoordinateZMin ()
 
double getWorldCoordinateXMax ()
 
double getWorldCoordinateYMax ()
 
double getWorldCoordinateZMax ()
 

Static Public Member Functions

static void create (QQmlEngine &engine)
 

Static Public Attributes

static QmlMitkImageNavigatorinstance
 

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

QmitkStepperAdapterm_AxialStepper
 
QmitkStepperAdapterm_SagittalStepper
 
QmitkStepperAdapterm_FrontalStepper
 
QmitkStepperAdapterm_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
 

Detailed Description

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.

See also
QmitkAbstractView

Definition at line 43 of file QmlMitkImageNavigator.h.

Constructor & Destructor Documentation

QmlMitkImageNavigator::QmlMitkImageNavigator ( )

Definition at line 24 of file QmlMitkImageNavigator.cpp.

References instance.

QmlMitkImageNavigator::~QmlMitkImageNavigator ( )

Definition at line 33 of file QmlMitkImageNavigator.cpp.

Member Function Documentation

void QmlMitkImageNavigator::create ( QQmlEngine &  engine)
static

Definition at line 385 of file QmlMitkImageNavigator.cpp.

References QmlMitkSliderNavigatorItem::create().

int QmlMitkImageNavigator::GetClosestAxisIndex ( mitk::Vector3D  normal)
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.

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.

void QmlMitkImageNavigator::SetStepSize ( int  axis,
double  stepSize 
)
protected

Definition at line 293 of file QmlMitkImageNavigator.cpp.

void QmlMitkImageNavigator::SetStepSizes ( )
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.

void QmlMitkImageNavigator::sync ( )
signal

GetDecorationColorOfGeometry helper method to get the color of a helper geometry node.

Parameters
renderWindowThe renderwindow of the geometry
Returns
the color for decoration in QString format (#RRGGBB).

Referenced by OnRefetch().

Member Data Documentation

QmlMitkImageNavigator * QmlMitkImageNavigator::instance
static

Definition at line 82 of file QmlMitkImageNavigator.h.

Referenced by QmlMitkImageNavigator().

QmitkStepperAdapter* QmlMitkImageNavigator::m_AxialStepper
protected

Definition at line 137 of file QmlMitkImageNavigator.h.

Referenced by initialize().

QmitkStepperAdapter* QmlMitkImageNavigator::m_FrontalStepper
protected

Definition at line 139 of file QmlMitkImageNavigator.h.

Referenced by initialize().

QmitkStepperAdapter* QmlMitkImageNavigator::m_SagittalStepper
protected

Definition at line 138 of file QmlMitkImageNavigator.h.

Referenced by initialize().

QmitkStepperAdapter* QmlMitkImageNavigator::m_TimeStepper
protected

Definition at line 140 of file QmlMitkImageNavigator.h.

Referenced by initialize().

Property Documentation

QmlMitkSliderNavigatorItem QmlMitkImageNavigator::navigatorAxial
readwrite

Definition at line 46 of file QmlMitkImageNavigator.h.

QmlMitkSliderNavigatorItem QmlMitkImageNavigator::navigatorCoronal
readwrite

Definition at line 48 of file QmlMitkImageNavigator.h.

QmlMitkSliderNavigatorItem QmlMitkImageNavigator::navigatorSagittal
readwrite

Definition at line 47 of file QmlMitkImageNavigator.h.

QmlMitkSliderNavigatorItem QmlMitkImageNavigator::navigatorTime
readwrite

Definition at line 49 of file QmlMitkImageNavigator.h.

double QmlMitkImageNavigator::worldCoordinateX
readwrite

Definition at line 51 of file QmlMitkImageNavigator.h.

double QmlMitkImageNavigator::worldCoordinateXMax
readwrite

Definition at line 59 of file QmlMitkImageNavigator.h.

double QmlMitkImageNavigator::worldCoordinateXMin
readwrite

Definition at line 55 of file QmlMitkImageNavigator.h.

double QmlMitkImageNavigator::worldCoordinateY
readwrite

Definition at line 52 of file QmlMitkImageNavigator.h.

double QmlMitkImageNavigator::worldCoordinateYMax
readwrite

Definition at line 60 of file QmlMitkImageNavigator.h.

double QmlMitkImageNavigator::worldCoordinateYMin
readwrite

Definition at line 56 of file QmlMitkImageNavigator.h.

double QmlMitkImageNavigator::worldCoordinateZ
readwrite

Definition at line 53 of file QmlMitkImageNavigator.h.

double QmlMitkImageNavigator::worldCoordinateZMax
readwrite

Definition at line 61 of file QmlMitkImageNavigator.h.

double QmlMitkImageNavigator::worldCoordinateZMin
readwrite

Definition at line 57 of file QmlMitkImageNavigator.h.


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