Displays point clouds from rtabmap::MapData. More...
#include <MapCloudDisplay.h>

Classes | |
| struct | CloudInfo |
| struct | TransformerInfo |
Public Types | |
| typedef boost::shared_ptr< CloudInfo > | CloudInfoPtr |
Public Types inherited from rviz::MessageFilterDisplay< rtabmap_msgs::MapData > | |
| typedef MessageFilterDisplay< MessageType > | MFDClass |
Public Slots | |
| void | causeRetransform () |
Public Slots inherited from rviz::Display | |
| virtual void | onEnableChanged () |
| void | queueRender () |
| void | setEnabled (bool enabled) |
| void | setIcon (const QIcon &icon) override |
Public Slots inherited from rviz::BoolProperty | |
| bool | setBool (bool value) |
Public Member Functions | |
| MapCloudDisplay () | |
| virtual void | reset () |
| virtual void | update (float wall_dt, float ros_dt) |
| virtual | ~MapCloudDisplay () |
Public Member Functions inherited from rviz::MessageFilterDisplay< rtabmap_msgs::MapData > | |
| MessageFilterDisplay () | |
| void | onInitialize () override |
| void | reset () override |
| void | setTopic (const QString &topic, const QString &) override |
| ~MessageFilterDisplay () override | |
Public Member Functions inherited from rviz::_RosTopicDisplay | |
| _RosTopicDisplay () | |
Public Member Functions inherited from rviz::Display | |
| virtual void | deleteStatus (const QString &name) |
| void | deleteStatusStd (const std::string &name) |
| Display () | |
| void | emitTimeSignal (ros::Time time) |
| QWidget * | getAssociatedWidget () const |
| PanelDockWidget * | getAssociatedWidgetPanel () |
| virtual QString | getClassId () const |
| Ogre::SceneNode * | getSceneNode () const |
| QVariant | getViewData (int column, int role) const override |
| Qt::ItemFlags | getViewFlags (int column) const override |
| uint32_t | getVisibilityBits () |
| void | initialize (DisplayContext *context) |
| bool | isEnabled () const |
| void | load (const Config &config) override |
| void | save (Config config) const override |
| void | setAssociatedWidget (QWidget *widget) |
| virtual void | setClassId (const QString &class_id) |
| void | setFixedFrame (const QString &fixed_frame) |
| void | setName (const QString &name) override |
| virtual void | setStatus (StatusProperty::Level level, const QString &name, const QString &text) |
| void | setStatusStd (StatusProperty::Level level, const std::string &name, const std::string &text) |
| void | setVisibilityBits (uint32_t bits) |
| void | unsetVisibilityBits (uint32_t bits) |
| ~Display () override | |
Public Member Functions inherited from rviz::BoolProperty | |
| BoolProperty (const QString &name, bool default_value, const QString &description, P *parent, Func &&changed_slot) | |
| BoolProperty (const QString &name, bool default_value, const QString &description, Property *parent, Func &&changed_slot, const R *receiver) | |
| BoolProperty (const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=nullptr) | |
| virtual bool | getBool () const |
| bool | getDisableChildren () override |
| bool | getDisableChildrenIfFalse () |
| void | setDisableChildrenIfFalse (bool disable) |
| ~BoolProperty () override | |
Public Member Functions inherited from rviz::Property | |
| virtual void | addChild (Property *child, int index=-1) |
| Property * | childAt (int index) const |
| virtual Property * | childAtUnchecked (int index) const |
| virtual void | collapse () |
| std::enable_if<!QtPrivate::FunctionPointer< Func >::IsPointerToMemberFunction, QMetaObject::Connection >::type | connect (const QObject *context, Func &&slot, Qt::ConnectionType type=Qt::AutoConnection) |
| QMetaObject::Connection | connect (const QObject *receiver, const char *slot, Qt::ConnectionType type=Qt::AutoConnection) |
| std::enable_if< QtPrivate::FunctionPointer< Func >::IsPointerToMemberFunction, QMetaObject::Connection >::type | connect (const R *receiver, Func &&slot, Qt::ConnectionType type=Qt::AutoConnection) |
| std::enable_if<!QtPrivate::FunctionPointer< Func >::IsPointerToMemberFunction, QMetaObject::Connection >::type | connect (Func &&slot, Qt::ConnectionType type=Qt::AutoConnection) |
| bool | contains (Property *possible_child) const |
| virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option) |
| virtual void | expand () |
| virtual QString | getDescription () const |
| virtual bool | getHidden () const |
| virtual QIcon | getIcon () const |
| PropertyTreeModel * | getModel () const |
| virtual QString | getName () const |
| std::string | getNameStd () const |
| Property * | getParent () const |
| virtual bool | getReadOnly () const |
| virtual QVariant | getValue () const |
| void | hide () |
| void | insertChildSorted (Property *child) |
| bool | isAncestorOf (Property *possible_child) const |
| virtual void | moveChild (int from_index, int to_index) |
| virtual int | numChildren () const |
| virtual bool | paint (QPainter *painter, const QStyleOptionViewItem &option) const |
| Property (const QString &name, const QVariant &default_value, const QString &description, P *parent, Func &&changed_slot) | |
| Property (const QString &name, const QVariant &default_value, const QString &description, Property *parent, Func &&changed_slot, const R *receiver) | |
| Property (const QString &name=QString(), const QVariant &default_value=QVariant(), const QString &description=QString(), Property *parent=nullptr) | |
| virtual void | removeChildren (int start_index=0, int count=-1) |
| int | rowNumberInParent () const |
| virtual void | setDescription (const QString &description) |
| virtual void | setHidden (bool hidden) |
| virtual void | setIcon (const QIcon &icon) |
| void | setModel (PropertyTreeModel *model) |
| void | setParent (Property *new_parent) |
| virtual void | setReadOnly (bool read_only) |
| void | setShouldBeSaved (bool save) |
| virtual bool | setValue (const QVariant &new_value) |
| bool | shouldBeSaved () const |
| void | show () |
| virtual Property * | subProp (const QString &sub_name) |
| Property * | takeChild (Property *child) |
| virtual Property * | takeChildAt (int index) |
| ~Property () override | |
Protected Member Functions | |
| virtual void | onInitialize () |
| Do initialization. Overridden from MessageFilterDisplay. More... | |
| virtual void | processMessage (const rtabmap_msgs::MapDataConstPtr &cloud) |
| Process a single message. Overridden from MessageFilterDisplay. More... | |
Protected Member Functions inherited from rviz::MessageFilterDisplay< rtabmap_msgs::MapData > | |
| void | fixedFrameChanged () override |
| void | incomingMessage (const typename MessageType::ConstPtr &msg) |
| void | onDisable () override |
| void | onEnable () override |
| virtual void | processMessage (const typename MessageType::ConstPtr &msg)=0 |
| void | processTypeErasedMessage (boost::shared_ptr< const void > type_erased_msg) override |
| virtual void | subscribe () |
| virtual void | unsubscribe () |
| void | updateQueueSize () override |
| void | updateTopic () override |
Protected Member Functions inherited from rviz::Display | |
| virtual void | clearStatuses () |
| bool | initialized () const |
Protected Member Functions inherited from rviz::Property | |
| void | loadValue (const Config &config) |
Private Types | |
| typedef std::map< std::string, TransformerInfo > | M_TransformerInfo |
Private Slots | |
| void | downloadGraph () |
| void | downloadMap () |
| void | downloadNamespaceChanged () |
| void | setColorTransformerOptions (EnumProperty *prop) |
| void | setXyzTransformerOptions (EnumProperty *prop) |
| void | updateAlpha () |
| void | updateBillboardSize () |
| void | updateCloudParameters () |
| void | updateColorTransformer () |
| void | updateStyle () |
| void | updateXyzTransformer () |
Private Member Functions | |
| void | downloadMap (bool graphOnly) |
| void | fillTransformerOptions (rviz::EnumProperty *prop, uint32_t mask) |
| rviz::PointCloudTransformerPtr | getColorTransformer (const sensor_msgs::PointCloud2ConstPtr &cloud) |
| rviz::PointCloudTransformerPtr | getXYZTransformer (const sensor_msgs::PointCloud2ConstPtr &cloud) |
| void | loadTransformers () |
| void | processMapData (const rtabmap_msgs::MapData &map) |
| void | retransform () |
| void | setPropertiesHidden (const QList< Property * > &props, bool hide) |
| bool | transformCloud (const CloudInfoPtr &cloud, bool fully_update_transformers) |
| Transforms the cloud into the correct frame, and sets up our renderable cloud. More... | |
| void | updateTransformers (const sensor_msgs::PointCloud2ConstPtr &cloud) |
Private Attributes | |
| ros::CallbackQueue | cbqueue_ |
| std::map< int, CloudInfoPtr > | cloud_infos_ |
| std::map< int, rtabmap::Transform > | current_map_ |
| boost::mutex | current_map_mutex_ |
| bool | current_map_updated_ |
| bool | fromScan_ |
| int | lastCloudAdded_ |
| bool | needs_retransform_ |
| std::map< int, CloudInfoPtr > | new_cloud_infos_ |
| boost::mutex | new_clouds_mutex_ |
| bool | new_color_transformer_ |
| bool | new_xyz_transformer_ |
| std::set< int > | nodeDataReceived_ |
| ros::Publisher | republishNodeDataPub_ |
| ros::AsyncSpinner | spinner_ |
| pluginlib::ClassLoader< rviz::PointCloudTransformer > * | transformer_class_loader_ |
| M_TransformerInfo | transformers_ |
| boost::recursive_mutex | transformers_mutex_ |
Displays point clouds from rtabmap::MapData.
By default it will assume channel 0 of the cloud is an intensity value, and will color them by intensity. If you set the channel's name to "rgb", it will interpret the channel as an integer rgb value, with r, g and b all being 8 bits.
Definition at line 76 of file MapCloudDisplay.h.
Definition at line 99 of file MapCloudDisplay.h.
|
private |
Definition at line 196 of file MapCloudDisplay.h.
| rtabmap_rviz_plugins::MapCloudDisplay::MapCloudDisplay | ( | ) |
Definition at line 89 of file MapCloudDisplay.cpp.
|
virtual |
Definition at line 210 of file MapCloudDisplay.cpp.
|
slot |
Definition at line 647 of file MapCloudDisplay.cpp.
|
privateslot |
Definition at line 628 of file MapCloudDisplay.cpp.
|
privateslot |
Definition at line 609 of file MapCloudDisplay.cpp.
|
private |
Definition at line 549 of file MapCloudDisplay.cpp.
|
privateslot |
Definition at line 602 of file MapCloudDisplay.cpp.
|
private |
Definition at line 870 of file MapCloudDisplay.cpp.
|
private |
Definition at line 911 of file MapCloudDisplay.cpp.
|
private |
Definition at line 895 of file MapCloudDisplay.cpp.
|
private |
Definition at line 220 of file MapCloudDisplay.cpp.
|
protectedvirtual |
Do initialization. Overridden from MessageFilterDisplay.
Reimplemented from rviz::Display.
Definition at line 255 of file MapCloudDisplay.cpp.
|
private |
Definition at line 276 of file MapCloudDisplay.cpp.
|
protectedvirtual |
Process a single message. Overridden from MessageFilterDisplay.
Definition at line 269 of file MapCloudDisplay.cpp.
|
virtual |
Reimplemented from rviz::Display.
Definition at line 821 of file MapCloudDisplay.cpp.
|
private |
Definition at line 928 of file MapCloudDisplay.cpp.
|
privateslot |
Definition at line 865 of file MapCloudDisplay.cpp.
|
private |
Definition at line 403 of file MapCloudDisplay.cpp.
|
privateslot |
Definition at line 860 of file MapCloudDisplay.cpp.
|
private |
Transforms the cloud into the correct frame, and sets up our renderable cloud.
Definition at line 941 of file MapCloudDisplay.cpp.
Reimplemented from rviz::Display.
Definition at line 652 of file MapCloudDisplay.cpp.
|
privateslot |
Definition at line 490 of file MapCloudDisplay.cpp.
|
privateslot |
Definition at line 518 of file MapCloudDisplay.cpp.
|
privateslot |
Definition at line 537 of file MapCloudDisplay.cpp.
|
privateslot |
Definition at line 849 of file MapCloudDisplay.cpp.
|
privateslot |
Definition at line 498 of file MapCloudDisplay.cpp.
|
private |
Definition at line 411 of file MapCloudDisplay.cpp.
|
privateslot |
Definition at line 838 of file MapCloudDisplay.cpp.
| rviz::FloatProperty* rtabmap_rviz_plugins::MapCloudDisplay::alpha_property_ |
Definition at line 109 of file MapCloudDisplay.h.
|
private |
Definition at line 170 of file MapCloudDisplay.h.
| rviz::IntProperty* rtabmap_rviz_plugins::MapCloudDisplay::cloud_decimation_ |
Definition at line 114 of file MapCloudDisplay.h.
| rviz::FloatProperty* rtabmap_rviz_plugins::MapCloudDisplay::cloud_filter_ceiling_height_ |
Definition at line 119 of file MapCloudDisplay.h.
| rviz::FloatProperty* rtabmap_rviz_plugins::MapCloudDisplay::cloud_filter_floor_height_ |
Definition at line 118 of file MapCloudDisplay.h.
| rviz::BoolProperty* rtabmap_rviz_plugins::MapCloudDisplay::cloud_from_scan_ |
Definition at line 113 of file MapCloudDisplay.h.
|
private |
Definition at line 173 of file MapCloudDisplay.h.
| rviz::FloatProperty* rtabmap_rviz_plugins::MapCloudDisplay::cloud_max_depth_ |
Definition at line 115 of file MapCloudDisplay.h.
| rviz::FloatProperty* rtabmap_rviz_plugins::MapCloudDisplay::cloud_min_depth_ |
Definition at line 116 of file MapCloudDisplay.h.
| rviz::FloatProperty* rtabmap_rviz_plugins::MapCloudDisplay::cloud_voxel_size_ |
Definition at line 117 of file MapCloudDisplay.h.
| rviz::EnumProperty* rtabmap_rviz_plugins::MapCloudDisplay::color_transformer_property_ |
Definition at line 111 of file MapCloudDisplay.h.
|
private |
Definition at line 181 of file MapCloudDisplay.h.
|
private |
Definition at line 182 of file MapCloudDisplay.h.
|
private |
Definition at line 183 of file MapCloudDisplay.h.
| rviz::BoolProperty* rtabmap_rviz_plugins::MapCloudDisplay::download_graph_ |
Definition at line 124 of file MapCloudDisplay.h.
| rviz::BoolProperty* rtabmap_rviz_plugins::MapCloudDisplay::download_map_ |
Definition at line 123 of file MapCloudDisplay.h.
| rviz::StringProperty* rtabmap_rviz_plugins::MapCloudDisplay::download_namespace |
Definition at line 122 of file MapCloudDisplay.h.
|
private |
Definition at line 179 of file MapCloudDisplay.h.
|
private |
Definition at line 185 of file MapCloudDisplay.h.
|
private |
Definition at line 202 of file MapCloudDisplay.h.
|
private |
Definition at line 175 of file MapCloudDisplay.h.
|
private |
Definition at line 176 of file MapCloudDisplay.h.
|
private |
Definition at line 201 of file MapCloudDisplay.h.
|
private |
Definition at line 200 of file MapCloudDisplay.h.
| rviz::FloatProperty* rtabmap_rviz_plugins::MapCloudDisplay::node_filtering_angle_ |
Definition at line 121 of file MapCloudDisplay.h.
| rviz::FloatProperty* rtabmap_rviz_plugins::MapCloudDisplay::node_filtering_radius_ |
Definition at line 120 of file MapCloudDisplay.h.
Definition at line 178 of file MapCloudDisplay.h.
| rviz::FloatProperty* rtabmap_rviz_plugins::MapCloudDisplay::point_pixel_size_property_ |
Definition at line 108 of file MapCloudDisplay.h.
| rviz::FloatProperty* rtabmap_rviz_plugins::MapCloudDisplay::point_world_size_property_ |
Definition at line 107 of file MapCloudDisplay.h.
|
private |
Definition at line 171 of file MapCloudDisplay.h.
|
private |
Definition at line 169 of file MapCloudDisplay.h.
| rviz::EnumProperty* rtabmap_rviz_plugins::MapCloudDisplay::style_property_ |
Definition at line 112 of file MapCloudDisplay.h.
|
private |
Definition at line 204 of file MapCloudDisplay.h.
|
private |
Definition at line 199 of file MapCloudDisplay.h.
|
private |
Definition at line 198 of file MapCloudDisplay.h.
| rviz::EnumProperty* rtabmap_rviz_plugins::MapCloudDisplay::xyz_transformer_property_ |
Definition at line 110 of file MapCloudDisplay.h.