Point Cloud Library (PCL)  1.9.1-dev
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 {
13  {
15  {
16  }
17 
19 
20  std::vector<float> values;
21 
22  public:
23  using Ptr = boost::shared_ptr< ::pcl::ModelCoefficients>;
24  using ConstPtr = boost::shared_ptr<const ::pcl::ModelCoefficients>;
25  }; // struct ModelCoefficients
26 
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
ModelCoefficients::Ptr ModelCoefficientsPtr
This file defines compatibility wrappers for low level I/O functions.
Definition: convolution.h:45
std::vector< float > values
boost::shared_ptr< const ::pcl::ModelCoefficients > ConstPtr
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
boost::shared_ptr< ::pcl::ModelCoefficients > Ptr
::pcl::PCLHeader header
ModelCoefficients::ConstPtr ModelCoefficientsConstPtr