-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stopped using initClick from vpMbTracker
- Loading branch information
Showing
8 changed files
with
380 additions
and
122 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
modules/tracker/rbt/include/visp3/rbt/vpRBInitializationHelper.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#ifndef VP_RB_INITIALIZATION_HELPER_H | ||
#define VP_RB_INITIALIZATION_HELPER_H | ||
|
||
#include <visp3/core/vpConfig.h> | ||
#include <visp3/core/vpHomogeneousMatrix.h> | ||
#include <visp3/core/vpCameraParameters.h> | ||
|
||
#include <string> | ||
#include <iostream> | ||
|
||
template <typename T> | ||
class vpImage; | ||
|
||
|
||
class VISP_EXPORT vpRBInitializationHelper | ||
{ | ||
public: | ||
void removeComment(std::ifstream &fileId); | ||
void savePose(const std::string &filename) const; | ||
|
||
vpHomogeneousMatrix getPose() const { return m_cMo; } | ||
|
||
void setCameraParameters(const vpCameraParameters &cam) { m_cam = cam; } | ||
|
||
#ifdef VISP_HAVE_MODULE_GUI | ||
template <typename T> | ||
void initClick(const vpImage<T> &I, const std::string &initFile, bool displayHelp); | ||
|
||
#endif | ||
|
||
private: | ||
std::string m_poseSavingFileName; | ||
|
||
vpHomogeneousMatrix m_cMo; | ||
vpCameraParameters m_cam; | ||
}; | ||
|
||
|
||
|
||
#endif |
2 changes: 1 addition & 1 deletion
2
modules/tracker/rbt/include/visp3/rbt/vpRBProbabilistic3DDriftDetector.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.