Point Cloud Library (PCL)  1.14.1-dev
PointIndices.h
1 #pragma once
2 
3 #include <ostream>
4 
5 // Include the correct Header path here
6 #include <pcl/PCLHeader.h>
7 #include <pcl/types.h>
8 
9 namespace pcl
10 {
11  struct PointIndices
12  {
13  using Ptr = shared_ptr< ::pcl::PointIndices>;
14  using ConstPtr = shared_ptr<const ::pcl::PointIndices>;
15 
16  PointIndices () = default;
17 
19 
21  }; // struct PointIndices
22 
25 
26  inline std::ostream& operator << (std::ostream& s, const ::pcl::PointIndices &v)
27  {
28  s << "header: " << std::endl;
29  s << " " << v.header;
30  s << "indices[]" << std::endl;
31  for (std::size_t i = 0; i < v.indices.size (); ++i)
32  {
33  s << " indices[" << i << "]: ";
34  s << " " << v.indices[i] << std::endl;
35  }
36  return (s);
37  }
38 } // namespace pcl
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
IndicesAllocator<> Indices
Type used for indices in PCL.
Definition: types.h:133
PointIndices::Ptr PointIndicesPtr
Definition: PointIndices.h:23
PointIndices::ConstPtr PointIndicesConstPtr
Definition: PointIndices.h:24
PointIndices()=default
shared_ptr< ::pcl::PointIndices > Ptr
Definition: PointIndices.h:13
::pcl::PCLHeader header
Definition: PointIndices.h:18
shared_ptr< const ::pcl::PointIndices > ConstPtr
Definition: PointIndices.h:14
Defines basic non-point types used by PCL.