Point Cloud Library (PCL)  1.12.0
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 
17  {}
18 
20 
22  }; // struct PointIndices
23 
26 
27  inline std::ostream& operator << (std::ostream& s, const ::pcl::PointIndices &v)
28  {
29  s << "header: " << std::endl;
30  s << " " << v.header;
31  s << "indices[]" << std::endl;
32  for (std::size_t i = 0; i < v.indices.size (); ++i)
33  {
34  s << " indices[" << i << "]: ";
35  s << " " << v.indices[i] << std::endl;
36  }
37  return (s);
38  }
39 } // 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:24
PointIndices::ConstPtr PointIndicesConstPtr
Definition: PointIndices.h:25
shared_ptr< ::pcl::PointIndices > Ptr
Definition: PointIndices.h:13
::pcl::PCLHeader header
Definition: PointIndices.h:19
shared_ptr< const ::pcl::PointIndices > ConstPtr
Definition: PointIndices.h:14
Defines basic non-point types used by PCL.