Point Cloud Library (PCL)
1.3.1
|
00001 #ifndef PCL_MESSAGE_POINTINDICES_H 00002 #define PCL_MESSAGE_POINTINDICES_H 00003 #include <string> 00004 #include <vector> 00005 #include <ostream> 00006 00007 // Include the correct Header path here 00008 #include "std_msgs/Header.h" 00009 00010 namespace pcl 00011 { 00012 struct PointIndices 00013 { 00014 PointIndices () : header (), indices () 00015 {} 00016 00017 ::std_msgs::Header header; 00018 00019 std::vector<int> indices; 00020 00021 public: 00022 typedef boost::shared_ptr< ::pcl::PointIndices> Ptr; 00023 typedef boost::shared_ptr< ::pcl::PointIndices const> ConstPtr; 00024 }; // struct PointIndices 00025 00026 typedef boost::shared_ptr< ::pcl::PointIndices> PointIndicesPtr; 00027 typedef boost::shared_ptr< ::pcl::PointIndices const> PointIndicesConstPtr; 00028 00029 inline std::ostream& operator << (std::ostream& s, const ::pcl::PointIndices &v) 00030 { 00031 s << "header: " << std::endl; 00032 s << " " << v.header; 00033 s << "indices[]" << std::endl; 00034 for (size_t i = 0; i < v.indices.size (); ++i) 00035 { 00036 s << " indices[" << i << "]: "; 00037 s << " " << v.indices[i] << std::endl; 00038 } 00039 return (s); 00040 } 00041 } // namespace pcl 00042 00043 #endif // PCL_MESSAGE_POINTINDICES_H 00044