#pragma once #include #include // Include the correct Header path here #include namespace pcl { struct ModelCoefficients { ModelCoefficients () { } ::pcl::PCLHeader header; std::vector values; public: using Ptr = shared_ptr< ::pcl::ModelCoefficients>; using ConstPtr = shared_ptr; }; // 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