ModelCoefficients.h
#pragma once
#include <string>
#include <vector>
#include <ostream>
// Include the correct Header path here
#include <pcl/PCLHeader.h>
namespace pcl
{
struct ModelCoefficients
{
ModelCoefficients ()
{
}
::pcl::PCLHeader header;
std::vector<float> values;
public:
using Ptr = shared_ptr< ::pcl::ModelCoefficients>;
using ConstPtr = shared_ptr<const ::pcl::ModelCoefficients>;
}; // struct ModelCoefficients
using ModelCoefficientsPtr = ModelCoefficients::Ptr;
using ModelCoefficientsConstPtr = ModelCoefficients::ConstPtr;
inline std::ostream& operator<<(std::ostream& s, const ::pcl::ModelCoefficients & v)
{
s << "header: " << std::endl;
s << v.header;
s << "values[]" << std::endl;
for (std::size_t i = 0; i < v.values.size (); ++i)
{
s << " values[" << i << "]: ";
s << " " << v.values[i] << std::endl;
}
return (s);
}
} // 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