Point Cloud Library (PCL) 1.13.1
Loading...
Searching...
No Matches
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 {
13 ModelCoefficients () = default;
14
16
17 std::vector<float> values;
18
19 public:
20 using Ptr = shared_ptr< ::pcl::ModelCoefficients>;
21 using ConstPtr = shared_ptr<const ::pcl::ModelCoefficients>;
22 }; // struct ModelCoefficients
23
26
27 inline std::ostream& operator<<(std::ostream& s, const ::pcl::ModelCoefficients & v)
28 {
29 s << "header: " << std::endl;
30 s << v.header;
31 s << "values[]" << std::endl;
32 for (std::size_t i = 0; i < v.values.size (); ++i)
33 {
34 s << " values[" << i << "]: ";
35 s << " " << v.values[i] << std::endl;
36 }
37 return (s);
38 }
39
40} // namespace pcl
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
ModelCoefficients::ConstPtr ModelCoefficientsConstPtr
ModelCoefficients::Ptr ModelCoefficientsPtr
shared_ptr< ::pcl::ModelCoefficients > Ptr
shared_ptr< const ::pcl::ModelCoefficients > ConstPtr
std::vector< float > values