15 #ifndef UndistortView_h
16 #define UndistortView_h
18 #include <berryISelectionListener.h>
20 #include <service/event/ctkEvent.h>
21 #include "ui_UndistortViewControls.h"
26 #include <QFutureWatcher>
27 #include <mitkCameraIntrinsicsProperty.h>
28 #include <mitkImage.h>
60 void OnDeferredNodeTableUpdate();
63 void OnCellDoubleClicked(
int row,
int column);
65 void OnGoButtonClick();
70 void OnUpdate(
const ctkEvent&
event);
73 void OnRecordingStarted(
const ctkEvent&
event);
76 void OnBackgroundProcessFinished();
80 void DataStorageEventListener(
const mitk::DataNode* node);
83 void RetrievePreferenceValues();
86 std::map<mitk::Image::Pointer, niftk::Undistortion*> m_UndistortionMap;
87 std::map<std::string, mitk::CameraIntrinsicsProperty::Pointer> m_ParamFileCache;
91 QFuture<void> m_BackgroundProcess;
92 QFutureWatcher<void> m_BackgroundProcessWatcher;
95 qlonglong m_IGIUpdateSubscriptionID;
96 qlonglong m_IGIRecordingStartedSubscriptionID;
99 #endif // UndistortView_h
UndistortView()
Definition: UndistortView.cxx:42
Definition: niftkUndistortion.h:171
virtual void OnPreferencesChanged(const berry::IBerryPreferences *) override
BlueBerry's notification about preference changes (e.g. from a preferences dialog).
Definition: UndistortView.cxx:679
virtual void CreateQtPartControl(QWidget *parent) override
Definition: UndistortView.cxx:627
void UpdateNodeTable()
Definition: UndistortView.cxx:122
void SignalDeferredNodeTableUpdate()
void WriteCurrentConfig(const QString &directory) const
Definition: UndistortView.cxx:248
GLenum GLenum GLvoid GLvoid * column
Definition: glew.h:4074
Base view component for plugins listening to visibility change events, focus changed events and so on...
Definition: niftkBaseView.h:47
virtual void SetFocus() override
Definition: UndistortView.cxx:673
virtual ~UndistortView()
Definition: UndistortView.cxx:53
GLenum GLenum GLvoid * row
Definition: glew.h:4074
Definition: UndistortView.h:30
cl_event event
Definition: glew.h:3231
static const char * VIEW_ID
Definition: UndistortView.h:41