include
rtabmap_rviz_plugins
MapGraphDisplay.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
29
#ifndef MAP_GRAPH_DISPLAY_H
30
#define MAP_GRAPH_DISPLAY_H
31
32
#include <rtabmap_msgs/MapGraph.h>
33
34
#include <
rviz/message_filter_display.h
>
35
36
namespace
Ogre
37
{
38
class
ManualObject;
39
}
40
41
namespace
rviz
42
{
43
class
ColorProperty
;
44
class
FloatProperty
;
45
}
46
47
using namespace
rviz
;
48
49
namespace
rtabmap_rviz_plugins
50
{
51
56
class
MapGraphDisplay
:
public
MessageFilterDisplay
<rtabmap_msgs::MapGraph>
57
{
58
Q_OBJECT
59
public
:
60
MapGraphDisplay
();
61
virtual
~
MapGraphDisplay
();
62
64
virtual
void
reset();
65
66
protected
:
68
virtual
void
onInitialize();
69
71
void
processMessage(
const
rtabmap_msgs::MapGraph::ConstPtr&
msg
);
72
73
private
:
74
void
destroyObjects();
75
76
std::vector<Ogre::ManualObject*>
manual_objects_
;
77
78
ColorProperty
*
color_neighbor_property_
;
79
ColorProperty
*
color_neighbor_merged_property_
;
80
ColorProperty
*
color_global_property_
;
81
ColorProperty
*
color_local_property_
;
82
ColorProperty
*
color_landmark_property_
;
83
ColorProperty
*
color_user_property_
;
84
ColorProperty
*
color_virtual_property_
;
85
FloatProperty
*
alpha_property_
;
86
};
87
88
}
// namespace rtabmap_rviz_plugins
89
90
#endif
/* MAP_GRAPH_DISPLAY_H */
91
rtabmap_rviz_plugins::MapGraphDisplay::color_global_property_
ColorProperty * color_global_property_
Definition:
MapGraphDisplay.h:80
rviz::MessageFilterDisplay
Ogre
rtabmap_rviz_plugins::MapGraphDisplay::color_neighbor_property_
ColorProperty * color_neighbor_property_
Definition:
MapGraphDisplay.h:78
rtabmap_rviz_plugins
Definition:
InfoDisplay.h:37
rtabmap_rviz_plugins::MapGraphDisplay::color_user_property_
ColorProperty * color_user_property_
Definition:
MapGraphDisplay.h:83
rviz::ColorProperty
rtabmap_rviz_plugins::MapGraphDisplay::color_local_property_
ColorProperty * color_local_property_
Definition:
MapGraphDisplay.h:81
rviz::FloatProperty
rtabmap_rviz_plugins::MapGraphDisplay
Displays the graph of rtabmap::MapGraph message.
Definition:
MapGraphDisplay.h:56
rtabmap_rviz_plugins::MapGraphDisplay::color_neighbor_merged_property_
ColorProperty * color_neighbor_merged_property_
Definition:
MapGraphDisplay.h:79
rviz
message_filter_display.h
rtabmap_rviz_plugins::MapGraphDisplay::manual_objects_
std::vector< Ogre::ManualObject * > manual_objects_
Definition:
MapGraphDisplay.h:76
rtabmap_rviz_plugins::MapGraphDisplay::color_virtual_property_
ColorProperty * color_virtual_property_
Definition:
MapGraphDisplay.h:84
rtabmap_rviz_plugins::MapGraphDisplay::color_landmark_property_
ColorProperty * color_landmark_property_
Definition:
MapGraphDisplay.h:82
rtabmap_rviz_plugins::MapGraphDisplay::alpha_property_
FloatProperty * alpha_property_
Definition:
MapGraphDisplay.h:85
msg
msg
rtabmap_rviz_plugins
Author(s): Mathieu Labbe
autogenerated on Mon Apr 28 2025 02:37:14