Point Cloud Library (PCL)  1.9.1-dev
PointIndices.h
1 #pragma once
2 
3 #include <string>
4 #include <vector>
5 #include <ostream>
6 
7 // Include the correct Header path here
8 #include <pcl/PCLHeader.h>
9 
10 namespace pcl
11 {
12  struct PointIndices
13  {
15  {}
16 
18 
19  std::vector<int> indices;
20 
21  public:
22  using Ptr = boost::shared_ptr< ::pcl::PointIndices>;
23  using ConstPtr = boost::shared_ptr<const ::pcl::PointIndices>;
24  }; // struct PointIndices
25 
28 
29  inline std::ostream& operator << (std::ostream& s, const ::pcl::PointIndices &v)
30  {
31  s << "header: " << std::endl;
32  s << " " << v.header;
33  s << "indices[]" << std::endl;
34  for (std::size_t i = 0; i < v.indices.size (); ++i)
35  {
36  s << " indices[" << i << "]: ";
37  s << " " << v.indices[i] << std::endl;
38  }
39  return (s);
40  }
41 } // namespace pcl
This file defines compatibility wrappers for low level I/O functions.
Definition: convolution.h:45
std::vector< int > indices
Definition: PointIndices.h:19
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
PointIndices::ConstPtr PointIndicesConstPtr
Definition: PointIndices.h:27
boost::shared_ptr< ::pcl::PointIndices > Ptr
Definition: PointIndices.h:22
::pcl::PCLHeader header
Definition: PointIndices.h:17
boost::shared_ptr< const ::pcl::PointIndices > ConstPtr
Definition: PointIndices.h:23
PointIndices::Ptr PointIndicesPtr
Definition: PointIndices.h:26