Point Cloud Library (PCL)  1.8.1-dev
ModelCoefficients.h
1 #ifndef PCL_MESSAGE_MODELCOEFFICIENTS_H
2 #define PCL_MESSAGE_MODELCOEFFICIENTS_H
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  typedef boost::shared_ptr< ::pcl::ModelCoefficients> Ptr;
24  typedef boost::shared_ptr< ::pcl::ModelCoefficients const> ConstPtr;
25  }; // struct ModelCoefficients
26 
27  typedef boost::shared_ptr< ::pcl::ModelCoefficients> ModelCoefficientsPtr;
28  typedef boost::shared_ptr< ::pcl::ModelCoefficients const> ModelCoefficientsConstPtr;
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 (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
44 
45 #endif // PCL_MESSAGE_MODELCOEFFICIENTS_H
46 
boost::shared_ptr< ::pcl::ModelCoefficients const > ModelCoefficientsConstPtr
std::vector< float > values
boost::shared_ptr< ::pcl::ModelCoefficients > ModelCoefficientsPtr
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
boost::shared_ptr< ::pcl::ModelCoefficients const > ConstPtr
boost::shared_ptr< ::pcl::ModelCoefficients > Ptr
::pcl::PCLHeader header