Point Cloud Library (PCL)  1.8.1-dev
PolygonMesh.h
1 /* Auto-generated by genmsg_cpp for file /work/ros/pkgs-trunk/point_cloud_perception/pcl/msg/PolygonMesh.msg */
2 #ifndef PCL_MESSAGE_POLYGONMESH_H
3 #define PCL_MESSAGE_POLYGONMESH_H
4 #include <string>
5 #include <vector>
6 #include <ostream>
7 
8 // Include the correct Header path here
9 #include <pcl/PCLHeader.h>
10 #include <pcl/PCLPointCloud2.h>
11 #include <pcl/Vertices.h>
12 
13 namespace pcl
14 {
15  struct PolygonMesh
16  {
17  PolygonMesh () : header (), cloud (), polygons ()
18  {}
19 
21 
23 
24  std::vector< ::pcl::Vertices> polygons;
25 
26 
27  public:
28  typedef boost::shared_ptr< ::pcl::PolygonMesh> Ptr;
29  typedef boost::shared_ptr< ::pcl::PolygonMesh const> ConstPtr;
30  }; // struct PolygonMesh
31 
32  typedef boost::shared_ptr< ::pcl::PolygonMesh> PolygonMeshPtr;
33  typedef boost::shared_ptr< ::pcl::PolygonMesh const> PolygonMeshConstPtr;
34 
35  inline std::ostream& operator<<(std::ostream& s, const ::pcl::PolygonMesh &v)
36  {
37  s << "header: " << std::endl;
38  s << v.header;
39  s << "cloud: " << std::endl;
40  s << v.cloud;
41  s << "polygons[]" << std::endl;
42  for (size_t i = 0; i < v.polygons.size (); ++i)
43  {
44  s << " polygons[" << i << "]: " << std::endl;
45  s << v.polygons[i];
46  }
47  return (s);
48  }
49 
50 } // namespace pcl
51 
52 #endif // PCL_MESSAGE_POLYGONMESH_H
53 
boost::shared_ptr< ::pcl::PolygonMesh > PolygonMeshPtr
Definition: PolygonMesh.h:32
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
::pcl::PCLHeader header
Definition: PolygonMesh.h:20
boost::shared_ptr< ::pcl::PolygonMesh > Ptr
Definition: PolygonMesh.h:28
std::vector< ::pcl::Vertices > polygons
Definition: PolygonMesh.h:24
::pcl::PCLPointCloud2 cloud
Definition: PolygonMesh.h:22
boost::shared_ptr< ::pcl::PolygonMesh const > PolygonMeshConstPtr
Definition: PolygonMesh.h:33
boost::shared_ptr< ::pcl::PolygonMesh const > ConstPtr
Definition: PolygonMesh.h:29