Point Cloud Library (PCL)
1.3.1
|
00001 /* Auto-generated by genmsg_cpp for file /work/ros/pkgs-trunk/point_cloud_perception/pcl/msg/PolygonMesh.msg */ 00002 #ifndef PCL_MESSAGE_POLYGONMESH_H 00003 #define PCL_MESSAGE_POLYGONMESH_H 00004 #include <string> 00005 #include <vector> 00006 #include <ostream> 00007 00008 // Include the correct Header path here 00009 #include "std_msgs/Header.h" 00010 #include "sensor_msgs/PointCloud2.h" 00011 #include "pcl/Vertices.h" 00012 00013 namespace pcl 00014 { 00015 struct PolygonMesh 00016 { 00017 PolygonMesh () : header (), cloud (), polygons () 00018 {} 00019 00020 ::std_msgs::Header header; 00021 00022 ::sensor_msgs::PointCloud2 cloud; 00023 00024 std::vector< ::pcl::Vertices> polygons; 00025 00026 00027 public: 00028 typedef boost::shared_ptr< ::pcl::PolygonMesh> Ptr; 00029 typedef boost::shared_ptr< ::pcl::PolygonMesh const> ConstPtr; 00030 }; // struct PolygonMesh 00031 00032 typedef boost::shared_ptr< ::pcl::PolygonMesh> PolygonMeshPtr; 00033 typedef boost::shared_ptr< ::pcl::PolygonMesh const> PolygonMeshConstPtr; 00034 00035 inline std::ostream& operator<<(std::ostream& s, const ::pcl::PolygonMesh &v) 00036 { 00037 s << "header: " << std::endl; 00038 s << v.header; 00039 s << "cloud: " << std::endl; 00040 s << v.cloud; 00041 s << "polygons[]" << std::endl; 00042 for (size_t i = 0; i < v.polygons.size (); ++i) 00043 { 00044 s << " polygons[" << i << "]: " << std::endl; 00045 s << v.polygons[i]; 00046 } 00047 return (s); 00048 } 00049 00050 } // namespace pcl 00051 00052 #endif // PCL_MESSAGE_POLYGONMESH_H 00053