Point Cloud Library (PCL)
1.10.0
pcl
ModelCoefficients.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
ModelCoefficients
13
{
14
ModelCoefficients
()
15
{
16
}
17
18
::pcl::PCLHeader
header
;
19
20
std::vector<float>
values
;
21
22
public
:
23
using
Ptr
=
shared_ptr< ::pcl::ModelCoefficients>
;
24
using
ConstPtr
=
shared_ptr<const ::pcl::ModelCoefficients>
;
25
};
// struct ModelCoefficients
26
27
using
ModelCoefficientsPtr
=
ModelCoefficients::Ptr
;
28
using
ModelCoefficientsConstPtr
=
ModelCoefficients::ConstPtr
;
29
30
inline
std::ostream&
operator<<
(std::ostream& s, const ::pcl::ModelCoefficients & v)
31
{
32
s <<
"header: "
<< std::endl;
33
s << v.header;
34
s <<
"values[]"
<< std::endl;
35
for
(std::size_t i = 0; i < v.values.size (); ++i)
36
{
37
s <<
" values["
<< i <<
"]: "
;
38
s <<
" "
<< v.values[i] << std::endl;
39
}
40
return
(s);
41
}
42
43
}
// namespace pcl
pcl
This file defines compatibility wrappers for low level I/O functions.
Definition:
convolution.h:45
pcl::ModelCoefficientsPtr
ModelCoefficients::Ptr ModelCoefficientsPtr
Definition:
ModelCoefficients.h:27
pcl::ModelCoefficients::ConstPtr
shared_ptr< const ::pcl::ModelCoefficients > ConstPtr
Definition:
ModelCoefficients.h:24
pcl::ModelCoefficients::values
std::vector< float > values
Definition:
ModelCoefficients.h:20
pcl::operator<<
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
Definition:
bivariate_polynomial.hpp:229
pcl::ModelCoefficients
Definition:
ModelCoefficients.h:12
pcl::ModelCoefficients::header
::pcl::PCLHeader header
Definition:
ModelCoefficients.h:18
pcl::ModelCoefficients::ModelCoefficients
ModelCoefficients()
Definition:
ModelCoefficients.h:14
pcl::ModelCoefficients::Ptr
shared_ptr< ::pcl::ModelCoefficients > Ptr
Definition:
ModelCoefficients.h:23
pcl::ModelCoefficientsConstPtr
ModelCoefficients::ConstPtr ModelCoefficientsConstPtr
Definition:
ModelCoefficients.h:28
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