Point Cloud Library (PCL)  1.11.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 
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
pcl
Definition: convolution.h:46
pcl::PointIndicesPtr
PointIndices::Ptr PointIndicesPtr
Definition: PointIndices.h:24
types.h
Defines basic non-point types used by PCL.
pcl::PointIndices::indices
Indices indices
Definition: PointIndices.h:21
pcl::PointIndices::header
::pcl::PCLHeader header
Definition: PointIndices.h:19
pcl::operator<<
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
Definition: bivariate_polynomial.hpp:240
pcl::PointIndices::ConstPtr
shared_ptr< const ::pcl::PointIndices > ConstPtr
Definition: PointIndices.h:14
pcl::PointIndicesConstPtr
PointIndices::ConstPtr PointIndicesConstPtr
Definition: PointIndices.h:25
pcl::PointIndices
Definition: PointIndices.h:11
pcl::Indices
IndicesAllocator<> Indices
Type used for indices in PCL.
Definition: types.h:131
pcl::PointIndices::Ptr
shared_ptr< ::pcl::PointIndices > Ptr
Definition: PointIndices.h:13
pcl::PointIndices::PointIndices
PointIndices()
Definition: PointIndices.h:16
pcl::PCLHeader
Definition: PCLHeader.h:10