MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
USNavigation Class Reference

USNavigation. More...

#include <USNavigation.h>

Inheritance diagram for USNavigation:

Public Member Functions

 USNavigation ()
 
virtual void CreateQtPartControl (QWidget *parent)
 

Static Public Attributes

static const std::string VIEW_ID = "org.mitk.views.usnavigation"
 

Protected Slots

void OnDeviceSelected ()
 Triggered, when the user selects a device from either the list of USDevices or Tracking Devices.
 
void OnDeviceDeselected ()
 
void OnSelectDevices ()
 Triggered, when the user has clicked "select Devices".
 
void OnStartIntervention ()
 Triggered, when the user has clicked "Load Calibration".
 
void OnFreeze ()
 
void OnReset ()
 
void OnNeedleViewToggle ()
 
void OnZoneAdded ()
 
void Update ()
 
void UpdateMeters ()
 

Protected Member Functions

void FormatZoneNode (mitk::DataNode::Pointer node, mitk::Point3D center)
 Colors the given node according to the color selected in the "Edit Zone" section, names it correctly and adjusts it's size.
 
void SetupProximityView ()
 Sets up the RangeMeter Section of the Navigation by creating and initializing all necessary Progress Bars.
 
QProgressBar * CreateRangeMeter (int i)
 
void ResetRangeMeters ()
 
virtual void SetFocus ()
 

Protected Attributes

mitk::NavigationToolStorage::Pointer m_ToolStorage
 
std::vector< mitk::DataNode::Pointer > m_Zones
 
mitk::DataNode::Pointer m_USStream
 
bool m_Freeze
 
QString m_RangeMeterStyle
 
mitk::USCombinedModality::Pointer m_USDevice
 The CombinedModality used for imaging.
 
std::string m_LoadedCalibration
 Temporary saving point for loaded calibration data.
 
mitk::NavigationDataSource::Pointer m_Tracker
 NavigationDataSource used for tracking data.
 
mitk::NodeDisplacementFilter::Pointer m_ZoneFilter
 
mitk::NavigationDataSmoothingFilter::Pointer m_SmoothingFilter
 
mitk::CameraVisualization::Pointer m_CameraVis
 
mitk::NeedleProjectionFilter::Pointer m_NeedleProjectionFilter
 Creates a Pointset that projects the needle's path.
 
std::vector< QProgressBar * > m_RangeMeters
 
QTimer * m_Timer
 
QTimer * m_RangeMeterTimer
 
bool m_UpdateImage
 
bool m_IsNeedleViewActive
 
Ui::USNavigationControls m_Controls
 
bool m_ImageAlreadySetToNode
 

Static Protected Attributes

static const int MAXRANGE = 60
 
static const int WARNRANGE = 25
 

Detailed Description

USNavigation.

Warning
This class is not yet documented. Use "git blame" and ask the author to provide basic documentation.

${}

Definition at line 41 of file USNavigation.h.

Constructor & Destructor Documentation

◆ USNavigation()

USNavigation::USNavigation ( )

Definition at line 42 of file USNavigation.cpp.

Member Function Documentation

◆ CreateQtPartControl()

void USNavigation::CreateQtPartControl ( QWidget * parent)
virtual

Definition at line 47 of file USNavigation.cpp.

◆ CreateRangeMeter()

QProgressBar * USNavigation::CreateRangeMeter ( int i)
protected

Definition at line 232 of file USNavigation.cpp.

◆ FormatZoneNode()

void USNavigation::FormatZoneNode ( mitk::DataNode::Pointer node,
mitk::Point3D center )
protected

Colors the given node according to the color selected in the "Edit Zone" section, names it correctly and adjusts it's size.

◆ OnDeviceDeselected

void USNavigation::OnDeviceDeselected ( )
protectedslot

Definition at line 99 of file USNavigation.cpp.

◆ OnDeviceSelected

void USNavigation::OnDeviceSelected ( )
protectedslot

Triggered, when the user selects a device from either the list of USDevices or Tracking Devices.

Definition at line 94 of file USNavigation.cpp.

◆ OnFreeze

void USNavigation::OnFreeze ( )
protectedslot

Definition at line 332 of file USNavigation.cpp.

◆ OnNeedleViewToggle

void USNavigation::OnNeedleViewToggle ( )
protectedslot

Definition at line 360 of file USNavigation.cpp.

◆ OnReset

void USNavigation::OnReset ( )
protectedslot

Definition at line 347 of file USNavigation.cpp.

◆ OnSelectDevices

void USNavigation::OnSelectDevices ( )
protectedslot

Triggered, when the user has clicked "select Devices".

Definition at line 107 of file USNavigation.cpp.

◆ OnStartIntervention

void USNavigation::OnStartIntervention ( )
protectedslot

Triggered, when the user has clicked "Load Calibration".

Definition at line 324 of file USNavigation.cpp.

◆ OnZoneAdded

void USNavigation::OnZoneAdded ( )
protectedslot

Definition at line 369 of file USNavigation.cpp.

◆ ResetRangeMeters()

void USNavigation::ResetRangeMeters ( )
protected

Definition at line 390 of file USNavigation.cpp.

◆ SetFocus()

void USNavigation::SetFocus ( )
protectedvirtual

Definition at line 37 of file USNavigation.cpp.

◆ SetupProximityView()

void USNavigation::SetupProximityView ( )
protected

Sets up the RangeMeter Section of the Navigation by creating and initializing all necessary Progress Bars.

Definition at line 210 of file USNavigation.cpp.

◆ Update

void USNavigation::Update ( )
protectedslot

Definition at line 176 of file USNavigation.cpp.

◆ UpdateMeters

void USNavigation::UpdateMeters ( )
protectedslot

Definition at line 259 of file USNavigation.cpp.

Member Data Documentation

◆ m_CameraVis

mitk::CameraVisualization::Pointer USNavigation::m_CameraVis
protected

Definition at line 129 of file USNavigation.h.

◆ m_Controls

Ui::USNavigationControls USNavigation::m_Controls
protected

Definition at line 163 of file USNavigation.h.

◆ m_Freeze

bool USNavigation::m_Freeze
protected

Definition at line 106 of file USNavigation.h.

◆ m_ImageAlreadySetToNode

bool USNavigation::m_ImageAlreadySetToNode
protected

Definition at line 165 of file USNavigation.h.

◆ m_IsNeedleViewActive

bool USNavigation::m_IsNeedleViewActive
protected

Definition at line 158 of file USNavigation.h.

◆ m_LoadedCalibration

std::string USNavigation::m_LoadedCalibration
protected

Temporary saving point for loaded calibration data.

Definition at line 118 of file USNavigation.h.

◆ m_NeedleProjectionFilter

mitk::NeedleProjectionFilter::Pointer USNavigation::m_NeedleProjectionFilter
protected

Creates a Pointset that projects the needle's path.

Definition at line 134 of file USNavigation.h.

◆ m_RangeMeters

std::vector< QProgressBar* > USNavigation::m_RangeMeters
protected

Definition at line 149 of file USNavigation.h.

◆ m_RangeMeterStyle

QString USNavigation::m_RangeMeterStyle
protected

Definition at line 108 of file USNavigation.h.

◆ m_RangeMeterTimer

QTimer* USNavigation::m_RangeMeterTimer
protected

Definition at line 154 of file USNavigation.h.

◆ m_SmoothingFilter

mitk::NavigationDataSmoothingFilter::Pointer USNavigation::m_SmoothingFilter
protected

Definition at line 127 of file USNavigation.h.

◆ m_Timer

QTimer* USNavigation::m_Timer
protected

Definition at line 153 of file USNavigation.h.

◆ m_ToolStorage

mitk::NavigationToolStorage::Pointer USNavigation::m_ToolStorage
protected

Definition at line 102 of file USNavigation.h.

◆ m_Tracker

mitk::NavigationDataSource::Pointer USNavigation::m_Tracker
protected

NavigationDataSource used for tracking data.

Definition at line 123 of file USNavigation.h.

◆ m_UpdateImage

bool USNavigation::m_UpdateImage
protected

Definition at line 156 of file USNavigation.h.

◆ m_USDevice

mitk::USCombinedModality::Pointer USNavigation::m_USDevice
protected

The CombinedModality used for imaging.

Definition at line 113 of file USNavigation.h.

◆ m_USStream

mitk::DataNode::Pointer USNavigation::m_USStream
protected

Definition at line 104 of file USNavigation.h.

◆ m_ZoneFilter

mitk::NodeDisplacementFilter::Pointer USNavigation::m_ZoneFilter
protected

Definition at line 125 of file USNavigation.h.

◆ m_Zones

std::vector<mitk::DataNode::Pointer> USNavigation::m_Zones
protected

Definition at line 103 of file USNavigation.h.

◆ MAXRANGE

const int USNavigation::MAXRANGE = 60
staticprotected

Definition at line 160 of file USNavigation.h.

◆ VIEW_ID

const std::string USNavigation::VIEW_ID = "org.mitk.views.usnavigation"
static

Definition at line 47 of file USNavigation.h.

◆ WARNRANGE

const int USNavigation::WARNRANGE = 25
staticprotected

Definition at line 161 of file USNavigation.h.


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