15 #ifndef PointerCalibView_h
16 #define PointerCalibView_h
18 #include "ui_PointerCalibView.h"
20 #include <service/event/ctkEvent.h>
21 #include <mitkDataStorage.h>
22 #include <mitkDataNode.h>
23 #include <mitkPointSet.h>
24 #include <mitkPointSetDataInteractor.h>
75 void OnUpdate(
const ctkEvent&
event);
77 void OnSaveToFileButtonPressed();
84 void RetrievePreferenceValues();
89 virtual void OnPreferencesChanged(
const berry::IBerryPreferences*)
override;
94 void UpdateDisplayedPoints();
99 void UpdateRegistration();
109 void OnPointRemoved();
114 mitk::Point3D GetPointerTipInSensorCoordinates()
const;
119 mitk::PointSet::PointIdentifier GetMissingPointId(
const mitk::PointSet::Pointer&
a,
120 const mitk::PointSet::Pointer&
b);
125 Ui::PointerCalibView *m_Controls;
130 mitk::DataStorage::Pointer m_DataStorage;
131 niftk::UltrasoundPointerBasedCalibration::Pointer m_Calibrator;
132 mitk::PointSet::Pointer m_ImagePoints;
133 mitk::DataNode::Pointer m_ImagePointsNode;
134 mitk::PointSet::Pointer m_SensorPoints;
135 mitk::DataNode::Pointer m_SensorPointsNode;
136 mitk::PointSetDataInteractor::Pointer m_Interactor;
137 long m_ImagePointsAddObserverTag;
138 long m_ImagePointsRemoveObserverTag;
141 #endif // PointerCalibView_h
GLdouble GLdouble GLdouble b
Definition: glew.h:7885
virtual void SetFocus() override
Called by framework, sets the focus on a specific widget.
Definition: PointerCalibView.cxx:179
GLboolean GLboolean GLboolean GLboolean a
Definition: glew.h:8272
Base view component for plugins listening to visibility change events, focus changed events and so on...
Definition: niftkBaseView.h:47
virtual std::string GetViewID() const
Returns the view ID.
Definition: PointerCalibView.cxx:96
virtual void CreateQtPartControl(QWidget *parent) override
Called by framework, this method creates all the controls for this view.
Definition: PointerCalibView.cxx:103
virtual ~PointerCalibView()
Definition: PointerCalibView.cxx:78
cl_event event
Definition: glew.h:3231
PointerCalibView()
Definition: PointerCalibView.cxx:46
static const std::string VIEW_ID
Static view ID = uk.ac.ucl.cmic.igipointercalib.
Definition: PointerCalibView.h:46
User interface for Ultrasound Pointer Based Calibration as described in Muratore 2001.
Definition: PointerCalibView.h:32
GLsizei const GLcharARB ** string
Definition: glew.h:5194