Vertices.h
Go to the documentation of this file.
00001 #ifndef PCL_MESSAGE_VERTICES_H
00002 #define PCL_MESSAGE_VERTICES_H
00003 #include <string>
00004 #include <vector>
00005 #include <ostream>
00006 #include <pcl/pcl_macros.h>
00007 
00008 namespace pcl
00009 {
00013   struct Vertices
00014   {
00015     Vertices () : vertices ()
00016     {}
00017 
00018     std::vector<uint32_t> vertices;
00019 
00020   public:
00021     typedef boost::shared_ptr<Vertices> Ptr;
00022     typedef boost::shared_ptr<Vertices const> ConstPtr;
00023   }; // struct Vertices
00024 
00025 
00026   typedef boost::shared_ptr<Vertices> VerticesPtr;
00027   typedef boost::shared_ptr<Vertices const> VerticesConstPtr;
00028 
00029   inline std::ostream& operator<<(std::ostream& s, const  ::pcl::Vertices & v)
00030   {
00031     s << "vertices[]" << std::endl;
00032     for (size_t i = 0; i < v.vertices.size (); ++i)
00033     {
00034       s << "  vertices[" << i << "]: ";
00035       s << "  " << v.vertices[i] << std::endl;
00036     }
00037     return (s);
00038   }
00039 } // namespace pcl
00040 
00041 #endif // PCL_MESSAGE_VERTICES_H
00042 


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:37:20