Point Cloud Library (PCL)  1.3.1
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/win32_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   typedef boost::shared_ptr<Vertices> VerticesPtr;
00026   typedef boost::shared_ptr<Vertices const> VerticesConstPtr;
00027 
00028   inline std::ostream& operator<<(std::ostream& s, const  ::pcl::Vertices & v)
00029   {
00030     s << "vertices[]" << std::endl;
00031     for (size_t i = 0; i < v.vertices.size (); ++i)
00032     {
00033       s << "  vertices[" << i << "]: ";
00034       s << "  " << v.vertices[i] << std::endl;
00035     }
00036     return (s);
00037   }
00038 } // namespace pcl
00039 
00040 #endif // PCL_MESSAGE_VERTICES_H
00041 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines