Point Cloud Library (PCL)
1.10.0
pcl
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
{
14
PointIndices
()
15
{}
16
17
::pcl::PCLHeader
header
;
18
19
std::vector<int>
indices
;
20
21
public
:
22
using
Ptr
=
shared_ptr< ::pcl::PointIndices>
;
23
using
ConstPtr
=
shared_ptr<const ::pcl::PointIndices>
;
24
};
// struct PointIndices
25
26
using
PointIndicesPtr
=
PointIndices::Ptr
;
27
using
PointIndicesConstPtr
=
PointIndices::ConstPtr
;
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
This file defines compatibility wrappers for low level I/O functions.
Definition:
convolution.h:45
pcl::PointIndicesPtr
PointIndices::Ptr PointIndicesPtr
Definition:
PointIndices.h:26
pcl::PointIndices::header
::pcl::PCLHeader header
Definition:
PointIndices.h:17
pcl::operator<<
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
Definition:
bivariate_polynomial.hpp:229
pcl::PointIndices::ConstPtr
shared_ptr< const ::pcl::PointIndices > ConstPtr
Definition:
PointIndices.h:23
pcl::PointIndicesConstPtr
PointIndices::ConstPtr PointIndicesConstPtr
Definition:
PointIndices.h:27
pcl::PointIndices::indices
std::vector< int > indices
Definition:
PointIndices.h:19
pcl::PointIndices
Definition:
PointIndices.h:12
pcl::PointIndices::Ptr
shared_ptr< ::pcl::PointIndices > Ptr
Definition:
PointIndices.h:22
pcl::PointIndices::PointIndices
PointIndices()
Definition:
PointIndices.h:14
pcl::PCLHeader
Definition:
PCLHeader.h:15
pcl::shared_ptr
boost::shared_ptr< T > shared_ptr
Alias for boost::shared_ptr.
Definition:
pcl_macros.h:90