-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathgui_view.h
69 lines (54 loc) · 1.7 KB
/
gui_view.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/**
* @author Hauke Strasdat, Steven Lovegrove
*
* Copyright (C) 2010 Hauke Strasdat, Steven Lovegrove
* Imperial College London
*
* gui_view.h is part of RobotVision.
*
* RobotVision is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or any later version.
*
* RobotVision is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* and the GNU Lesser General Public License along with this program.
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef RV_GUI_VIEW_H
#define RV_GUI_VIEW_H
#include <TooN/TooN.h>
#include <TooN/se3.h>
#include <cvd/image_io.h>
#include "gui_window.h"
#include "Camera/linear_camera.h"
#include "quadtree.h"
#include "sim3.h"
#include "abstract_view.h"
namespace RobotVision
{
class GuiView : public AbstractView
{
public:
GuiView()
{}
GuiView(const GuiView & view);
GuiView(const CVD::ImageRef & ir,
const RobotVision::LinearCamera & cam_pars);
GuiView(const CVD::ImageRef & ir,
const RobotVision::LinearCamera & cam_pars,
const TooN::Vector<3>& axis_angle,
const TooN::Vector<3>& trans );
void activate2D();
void activate3D();
void activate3D(const TooN::SE3<double> & T_cw);
protected:
RobotVision::LinearCamera cam_pars;
};
}
#endif // RV_GUI_VIEW_H