guilib
include
rtabmap
gui
LinkRefiningDialog.h
Go to the documentation of this file.
1
/*
2
Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
3
All rights reserved.
4
5
Redistribution and use in source and binary forms, with or without
6
modification, are permitted provided that the following conditions are met:
7
* Redistributions of source code must retain the above copyright
8
notice, this list of conditions and the following disclaimer.
9
* Redistributions in binary form must reproduce the above copyright
10
notice, this list of conditions and the following disclaimer in the
11
documentation and/or other materials provided with the distribution.
12
* Neither the name of the Universite de Sherbrooke nor the
13
names of its contributors may be used to endorse or promote products
14
derived from this software without specific prior written permission.
15
16
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
20
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
*/
27
28
#ifndef RTABMAP_LINKREFININGDIALOG_H_
29
#define RTABMAP_LINKREFININGDIALOG_H_
30
31
#include "rtabmap/gui/rtabmap_gui_export.h"
// DLL export/import defines
32
33
#include <
rtabmap/core/Link.h
>
34
35
#include <QDialog>
36
37
class
Ui_linkRefiningDialog;
38
39
namespace
rtabmap
{
40
41
class
RTABMAP_GUI_EXPORT
LinkRefiningDialog
:
public
QDialog
42
{
43
Q_OBJECT
44
45
public
:
46
LinkRefiningDialog
(QWidget * parent = 0);
47
48
virtual
~
LinkRefiningDialog
();
49
50
void
setMinMax(
51
int
nodeIdMin,
52
int
nodeIdMax,
53
int
mapIdMin,
54
int
mapIdMax);
55
56
Link::Type
getLinkType()
const
;
57
void
getIntraInterSessions(
bool
& intra,
bool
& inter)
const
;
58
bool
isRangeByNodeId()
const
;
59
bool
isRangeByMapId()
const
;
60
void
getRangeNodeId(
int
& from,
int
& to)
const
;
61
void
getRangeMapId(
int
& from,
int
& to)
const
;
62
63
private
Q_SLOTS:
64
void
restoreDefaults();
65
void
updateIntraInterState();
66
void
setRangeToNodeId();
67
void
setRangeToMapId();
68
69
private
:
70
Ui_linkRefiningDialog *
ui_
;
71
int
defaultNodeIdMin_
;
72
int
defaultNodeIdMax_
;
73
int
defaultMapIdMin_
;
74
int
defaultMapIdMax_
;
75
};
76
77
}
78
79
#endif
/* RTABMAP_LINKREFININGDIALOG_H_ */
rtabmap::LinkRefiningDialog
Definition:
LinkRefiningDialog.h:41
rtabmap::LinkRefiningDialog::defaultNodeIdMax_
int defaultNodeIdMax_
Definition:
LinkRefiningDialog.h:72
Link.h
rtabmap::LinkRefiningDialog::defaultMapIdMin_
int defaultMapIdMin_
Definition:
LinkRefiningDialog.h:73
rtabmap::Link::Type
Type
Definition:
Link.h:41
rtabmap::LinkRefiningDialog::ui_
Ui_linkRefiningDialog * ui_
Definition:
LinkRefiningDialog.h:70
rtabmap::LinkRefiningDialog::defaultNodeIdMin_
int defaultNodeIdMin_
Definition:
LinkRefiningDialog.h:71
rtabmap
Definition:
CameraARCore.cpp:35
rtabmap::LinkRefiningDialog::defaultMapIdMax_
int defaultMapIdMax_
Definition:
LinkRefiningDialog.h:74
rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:11