diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-06-06 08:11:28 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-06-06 08:11:28 +0200 |
commit | f7aa064edc20eafbc738271c5b53238fa4ad8361 (patch) | |
tree | a1c6c107fb82a0ba647f6f72fb24691a1e8f4bc7 /ftnoir_filter_ewma2 | |
parent | 2b83e2db9552d3f0abd3c4bb5543f72a96e4e4bf (diff) |
Remove dead code
Diffstat (limited to 'ftnoir_filter_ewma2')
-rw-r--r-- | ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp | 7 | ||||
-rw-r--r-- | ftnoir_filter_ewma2/ftnoir_filter_ewma2.h | 15 | ||||
-rw-r--r-- | ftnoir_filter_ewma2/ftnoir_filter_ewma2_dialog.cpp | 8 |
3 files changed, 4 insertions, 26 deletions
diff --git a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp index c427a2cd..019da00b 100644 --- a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp +++ b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp @@ -49,13 +49,6 @@ FTNoIR_Filter::~FTNoIR_Filter() }
-void FTNoIR_Filter::Initialize()
-{
- qDebug() << "FTNoIR_Filter::Initialize says: Starting ";
- loadSettings();
- return;
-}
-
//
// Load the current Settings from the currently 'active' INI-file.
//
diff --git a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.h b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.h index 6c2a902b..7fc9c77e 100644 --- a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.h +++ b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.h @@ -42,7 +42,6 @@ public: FTNoIR_Filter();
~FTNoIR_Filter();
- void Initialize();
void FilterHeadPoseData(double *current_camera_position, double *target_camera_position, double *new_camera_position, double *last_post_filter);
private:
@@ -74,8 +73,6 @@ public: explicit FilterControls();
virtual ~FilterControls();
void showEvent ( QShowEvent * event );
-
- void Release(); // Member functions which are accessible from outside the DLL
void Initialize(QWidget *parent, IFilter* ptr);
private:
@@ -103,15 +100,11 @@ class FTNoIR_FilterDll : public Metadata public:
FTNoIR_FilterDll();
~FTNoIR_FilterDll();
+ void getFullName(QString *strToBeFilled) { *strToBeFilled = QString("EWMA Filter Mk2"); }
+ void getShortName(QString *strToBeFilled) { *strToBeFilled = QString("EWMA"); }
+ void getDescription(QString *strToBeFilled) { *strToBeFilled = QString("Exponentially Weighted Moving Average filter with dynamic smoothing parameter"); }
- void Release();
- void Initialize();
-
- void getFullName(QString *strToBeFilled) { *strToBeFilled = QString("EWMA Filter Mk2"); };
- void getShortName(QString *strToBeFilled) { *strToBeFilled = QString("EWMA"); };
- void getDescription(QString *strToBeFilled) { *strToBeFilled = QString("Exponentially Weighted Moving Average filter with dynamic smoothing parameter"); };
-
- void getIcon(QIcon *icon){ *icon = QIcon(":/images/filter-16.png"); };
+ void getIcon(QIcon *icon){ *icon = QIcon(":/images/filter-16.png"); }
};
#endif //INCLUDED_FTN_FILTER_H
diff --git a/ftnoir_filter_ewma2/ftnoir_filter_ewma2_dialog.cpp b/ftnoir_filter_ewma2/ftnoir_filter_ewma2_dialog.cpp index 120cba27..eb259572 100644 --- a/ftnoir_filter_ewma2/ftnoir_filter_ewma2_dialog.cpp +++ b/ftnoir_filter_ewma2/ftnoir_filter_ewma2_dialog.cpp @@ -66,11 +66,6 @@ FilterControls::~FilterControls() { qDebug() << "~FilterControls() says: started";
}
-void FilterControls::Release()
-{
- delete this;
-}
-
//
// Initialize tracker-client-dialog
//
@@ -98,9 +93,6 @@ void FilterControls::Initialize(QWidget *parent, IFilter* ptr) { //
void FilterControls::doOK() {
save();
- if (pFilter) {
- pFilter->Initialize();
- }
this->close();
}
|