ModelCoefficients.h
Go to the documentation of this file.
00001 #ifndef PCL_MESSAGE_MODELCOEFFICIENTS_H
00002 #define PCL_MESSAGE_MODELCOEFFICIENTS_H
00003 #include <string>
00004 #include <vector>
00005 #include <ostream>
00006 
00007 // Include the correct Header path here
00008 #include <pcl/PCLHeader.h>
00009 
00010 namespace pcl
00011 {
00012   struct ModelCoefficients
00013   {
00014     ModelCoefficients () : header (), values ()
00015     {
00016     }
00017 
00018     ::pcl::PCLHeader header;
00019 
00020     std::vector<float> values;
00021 
00022   public:
00023     typedef boost::shared_ptr< ::pcl::ModelCoefficients> Ptr;
00024     typedef boost::shared_ptr< ::pcl::ModelCoefficients  const> ConstPtr;
00025   }; // struct ModelCoefficients
00026 
00027   typedef boost::shared_ptr< ::pcl::ModelCoefficients> ModelCoefficientsPtr;
00028   typedef boost::shared_ptr< ::pcl::ModelCoefficients const> ModelCoefficientsConstPtr;
00029 
00030   inline std::ostream& operator<<(std::ostream& s, const  ::pcl::ModelCoefficients & v)
00031   {
00032     s << "header: " << std::endl;
00033     s << v.header;
00034     s << "values[]" << std::endl;
00035     for (size_t i = 0; i < v.values.size (); ++i)
00036     {
00037       s << "  values[" << i << "]: ";
00038       s << "  " << v.values[i] << std::endl;
00039     }
00040     return (s);
00041   }
00042 
00043 } // namespace pcl
00044 
00045 #endif // PCL_MESSAGE_MODELCOEFFICIENTS_H
00046 


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:25:40