rapid
A ROS robotics library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
scene_viz.h
Go to the documentation of this file.
1 #ifndef _RAPID_VIZ_SCENE_VIZ_H_
2 #define _RAPID_VIZ_SCENE_VIZ_H_
3 
4 #include "ros/publisher.h"
5 #include "sensor_msgs/PointCloud2.h"
6 
7 namespace rapid {
8 namespace viz {
9 // Visualizes a scene, which is just a PointCloud2.
10 class SceneViz {
11  public:
12  SceneViz(const ros::Publisher& scene_pub);
13  void set_scene(const sensor_msgs::PointCloud2& cloud);
14  void Clear();
15 
16  private:
17  ros::Publisher scene_pub_;
18 };
19 } // namespace viz
20 } // namespace rapid
21 
22 #endif // _RAPID_VIZ_SCENE_VIZ_H_
void set_scene(const sensor_msgs::PointCloud2 &cloud)
SceneViz(const ros::Publisher &scene_pub)