Point Cloud Library (PCL)  1.11.0-dev
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 #include <pcl/types.h>
10 
11 namespace pcl
12 {
13  struct PointIndices
14  {
15  using Ptr = shared_ptr< ::pcl::PointIndices>;
16  using ConstPtr = shared_ptr<const ::pcl::PointIndices>;
17 
19  {}
20 
22 
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
pcl
Definition: convolution.h:46
pcl::PointIndicesPtr
PointIndices::Ptr PointIndicesPtr
Definition: PointIndices.h:26
types.h
Defines basic non-point types used by PCL.
pcl::PointIndices::indices
Indices indices
Definition: PointIndices.h:23
pcl::PointIndices::header
::pcl::PCLHeader header
Definition: PointIndices.h:21
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:16
pcl::PointIndicesConstPtr
PointIndices::ConstPtr PointIndicesConstPtr
Definition: PointIndices.h:27
pcl::PointIndices
Definition: PointIndices.h:13
pcl::Indices
IndicesAllocator<> Indices
Type used for indices in PCL.
Definition: types.h:149
pcl::PointIndices::Ptr
shared_ptr< ::pcl::PointIndices > Ptr
Definition: PointIndices.h:15
pcl::PointIndices::PointIndices
PointIndices()
Definition: PointIndices.h:18
pcl::PCLHeader
Definition: PCLHeader.h:10