monitoring
v1.0.0
Loading...
Searching...
No Matches
geofence_display.hpp
Go to the documentation of this file.
1
// Copyright Institute for Automotive Engineering (ika), RWTH Aachen University
2
// SPDX-License-Identifier: Apache-2.0
3
4
/*
5
* Geofence display for geometry_msgs::msg::PolygonStamped
6
*/
7
8
#ifndef RVIZ_PLUGINS__DISPLAYS__GEOFENCE__GEOFENCE_DISPLAY_HPP_
9
#define RVIZ_PLUGINS__DISPLAYS__GEOFENCE__GEOFENCE_DISPLAY_HPP_
10
11
#include "geometry_msgs/msg/polygon_stamped.hpp"
12
13
#include "rviz_common/message_filter_display.hpp"
14
15
#include "
rviz_plugins/visibility_control.hpp
"
16
17
namespace
Ogre
{
18
class
ManualObject;
19
}
20
21
namespace
rviz_common
{
22
namespace
properties {
23
class
ColorProperty;
24
class
FloatProperty;
25
}
// namespace properties
26
}
// namespace rviz_common
27
28
namespace
rviz_plugins
{
29
namespace
displays {
30
31
class
RVIZ_PLUGINS_PUBLIC
GeofenceDisplay
:
public
rviz_common::MessageFilterDisplay<geometry_msgs::msg::PolygonStamped> {
32
Q_OBJECT
33
34
public
:
38
GeofenceDisplay
();
39
43
~GeofenceDisplay
()
override
;
44
48
void
onInitialize()
override
;
49
53
void
reset()
override
;
54
55
protected
:
61
void
processMessage(geometry_msgs::msg::PolygonStamped::ConstSharedPtr msg)
override
;
62
63
private
:
64
Ogre::ManualObject*
manual_object_
;
65
Ogre::MaterialPtr
material_
;
66
67
// Properties
68
rviz_common::properties::ColorProperty*
color_property_
;
69
rviz_common::properties::FloatProperty*
bottom_alpha_property_
;
70
rviz_common::properties::FloatProperty*
top_alpha_property_
;
71
rviz_common::properties::FloatProperty*
height_property_
;
72
rviz_common::properties::FloatProperty*
thickness_property_
;
73
};
74
75
}
// namespace displays
76
}
// namespace rviz_plugins
77
78
#endif
// RVIZ_PLUGINS__DISPLAYS__GEOFENCE__GEOFENCE_DISPLAY_HPP_
rviz_plugins::displays::GeofenceDisplay
Definition
geofence_display.hpp:31
rviz_plugins::displays::GeofenceDisplay::height_property_
rviz_common::properties::FloatProperty * height_property_
Definition
geofence_display.hpp:71
rviz_plugins::displays::GeofenceDisplay::thickness_property_
rviz_common::properties::FloatProperty * thickness_property_
Definition
geofence_display.hpp:72
rviz_plugins::displays::GeofenceDisplay::manual_object_
Ogre::ManualObject * manual_object_
Definition
geofence_display.hpp:64
rviz_plugins::displays::GeofenceDisplay::material_
Ogre::MaterialPtr material_
Definition
geofence_display.hpp:65
rviz_plugins::displays::GeofenceDisplay::color_property_
rviz_common::properties::ColorProperty * color_property_
Definition
geofence_display.hpp:68
rviz_plugins::displays::GeofenceDisplay::bottom_alpha_property_
rviz_common::properties::FloatProperty * bottom_alpha_property_
Definition
geofence_display.hpp:69
rviz_plugins::displays::GeofenceDisplay::top_alpha_property_
rviz_common::properties::FloatProperty * top_alpha_property_
Definition
geofence_display.hpp:70
Ogre
Definition
geofence_display.hpp:17
rviz_common
Definition
geofence_display.hpp:21
rviz_plugins
Definition
geofence_display.hpp:28
visibility_control.hpp
RVIZ_PLUGINS_PUBLIC
#define RVIZ_PLUGINS_PUBLIC
Definition
visibility_control.hpp:34
rviz_plugins
include
rviz_plugins
displays
geofence
geofence_display.hpp
Generated by
1.12.0