14#ifndef QmitkIGTTrackingLabView_h
15#define QmitkIGTTrackingLabView_h
17#include <berryISelectionListener.h>
19#include <QmitkAbstractView.h>
21#include "ui_QmitkIGTTrackingLabViewControls.h"
29#include <mitkSurface.h>
40#include <vtkLandmarkTransform.h>
41#include <vtkSmartPointer.h>
202bool IsTransformDifferenceHigh(mitk::NavigationData::Pointer transformA, mitk::NavigationData::Pointer transformB,
double euclideanDistanceThreshold = .8,
double angularDifferenceThreshold = .8);
mitk::NavigationDataObjectVisualizationFilter::Pointer m_Visualizer
visualization filter
void OnObjectmarkerSelected()
static const std::string VIEW_ID
mitk::NavigationDataObjectVisualizationFilter::Pointer m_PermanentRegistrationFilter
this filter transforms from tracking coordinates into mitk world coordinates if needed it is intercon...
void CreateQtPartControl(QWidget *parent) override
mitk::PointSet::Pointer m_PSRecordingPointSet
bool IsTransformDifferenceHigh(mitk::NavigationData::Pointer transformA, mitk::NavigationData::Pointer transformB, double euclideanDistanceThreshold=.8, double angularDifferenceThreshold=.8)
mitk::TrackingDeviceSource::Pointer m_Source
source that connects to the tracking device
mitk::NavigationData::Pointer m_T_MarkerRel
void OnVirtualCamera(bool on)
This method activates the virtual camera.
mitk::NavigationData::Pointer m_ObjectmarkerNavigationDataLastUpdate
this is the position of the object marker from the last call of update(); it is used to check the dif...
void OnInstrumentSelected()
void OnAddRegistrationTrackingFiducial()
This method adds a new fiducial to the tracker fiducials PointSet.
QmitkIGTTrackingLabView()
default constructor
mitk::NavigationData::Pointer m_InstrumentNavigationData
navigation data of instrument
mitk::AffineTransform3D::Pointer m_T_ImageGeo
QTimer * m_Timer
central timer which updates the IGT pipeline
void OnInitialRegistration()
This method calls the initial fiducial registration.
bool m_PermanentRegistration
void DestroyIGTPipeline()
This method destroys the filter pipeline.
mitk::NavigationData::Pointer m_T_ObjectReg
void CreateConnections()
This method creates the SIGNAL SLOT connections.
mitk::NavigationData::Pointer m_ObjectmarkerNavigationData
navigation data of object marker
mitk::NavigationData::Pointer m_PointSetRecordingNavigationData
mitk::PointSet::Pointer m_PermanentRegistrationSourcePoints
void OnPermanentRegistration(bool on)
This method activates the permanent registration based on one tool's position.
void OnPointSetRecording(bool record)
This method starts the PointSet recording.
Ui::QmitkIGTTrackingLabViewControls m_Controls
bool CheckRegistrationInitialization()
mitk::DataNode::Pointer m_TrackerFiducialsDataNode
~QmitkIGTTrackingLabView() override
default destructor
void InitializeRegistration()
This method initializes the registration for the FiducialRegistrationWidget.
mitk::AffineTransform3D::Pointer m_T_ImageReg
mitk::CameraVisualization::Pointer m_VirtualView
filter to update the vtk camera according to the reference navigation data
mitk::DataNode::Pointer m_ImageFiducialsDataNode
void CreateBundleWidgets()
This method creates all widgets this bundle needs.
void OnSetupNavigation()
This method sets up the navigation pipeline during initialization.