Point Cloud Library (PCL) 1.12.1
ModelCoefficients.h
1#pragma once
2
3#include <vector>
4#include <ostream>
5
6// Include the correct Header path here
7#include <pcl/PCLHeader.h>
8
9namespace pcl
10{
12 {
14 {
15 }
16
18
19 std::vector<float> values;
20
21 public:
22 using Ptr = shared_ptr< ::pcl::ModelCoefficients>;
23 using ConstPtr = shared_ptr<const ::pcl::ModelCoefficients>;
24 }; // struct ModelCoefficients
25
28
29 inline std::ostream& operator<<(std::ostream& s, const ::pcl::ModelCoefficients & v)
30 {
31 s << "header: " << std::endl;
32 s << v.header;
33 s << "values[]" << std::endl;
34 for (std::size_t i = 0; i < v.values.size (); ++i)
35 {
36 s << " values[" << i << "]: ";
37 s << " " << v.values[i] << std::endl;
38 }
39 return (s);
40 }
41
42} // namespace pcl
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
ModelCoefficients::ConstPtr ModelCoefficientsConstPtr
ModelCoefficients::Ptr ModelCoefficientsPtr
shared_ptr< ::pcl::ModelCoefficients > Ptr
::pcl::PCLHeader header
shared_ptr< const ::pcl::ModelCoefficients > ConstPtr
std::vector< float > values