Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
vpRBInitializationHelper.h
1#ifndef VP_RB_INITIALIZATION_HELPER_H
2#define VP_RB_INITIALIZATION_HELPER_H
3
4#include <visp3/core/vpConfig.h>
5#include <visp3/core/vpHomogeneousMatrix.h>
6#include <visp3/core/vpCameraParameters.h>
7
8#include <string>
9#include <iostream>
10
11
13template <typename T>
14class vpImage;
15
16class vpRBTracker;
29class VISP_EXPORT vpRBInitializationHelper
30{
31public:
32 void savePose(const std::string &filename) const;
33
34 vpHomogeneousMatrix getPose() const { return m_cMo; }
35
36 void setCameraParameters(const vpCameraParameters &cam) { m_cam = cam; }
37
39
40protected:
41 void removeCommentsAndEmptyLines(std::ifstream &fileId);
42
43private:
44#ifdef VISP_HAVE_MODULE_GUI
45 template <typename T>
46 void initClick(const vpImage<T> &I, const std::string &initFile, bool displayHelp, vpRBTracker &tracker);
47#endif
48
49 std::string m_poseSavingFileName;
50
53};
54
55END_VISP_NAMESPACE
56
57#endif
Generic class defining intrinsic camera parameters.
Implementation of an homogeneous matrix and operations on such kind of matrices.
Definition of the vpImage class member functions.
Definition vpImage.h:131
A set of utilities to perform initialization.
void removeCommentsAndEmptyLines(std::ifstream &fileId)
vpHomogeneousMatrix getPose() const
void savePose(const std::string &filename) const
void setCameraParameters(const vpCameraParameters &cam)
Class implementing the Render-Based Tracker (RBT).
Definition vpRBTracker.h:87