KltSettings.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-vision_visp/doc_stacks/2013-12-28_17-43-01.443180/vision_visp/visp_tracker/msg/KltSettings.msg */
00002 #ifndef VISP_TRACKER_MESSAGE_KLTSETTINGS_H
00003 #define VISP_TRACKER_MESSAGE_KLTSETTINGS_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012 
00013 #include "ros/macros.h"
00014 
00015 #include "ros/assert.h"
00016 
00017 
00018 namespace visp_tracker
00019 {
00020 template <class ContainerAllocator>
00021 struct KltSettings_ {
00022   typedef KltSettings_<ContainerAllocator> Type;
00023 
00024   KltSettings_()
00025   : max_features(0)
00026   , window_size(0)
00027   , quality(0.0)
00028   , min_distance(0.0)
00029   , harris(0.0)
00030   , size_block(0)
00031   , pyramid_lvl(0)
00032   , angle_appear(0.0)
00033   , angle_disappear(0.0)
00034   , mask_border(0)
00035   {
00036   }
00037 
00038   KltSettings_(const ContainerAllocator& _alloc)
00039   : max_features(0)
00040   , window_size(0)
00041   , quality(0.0)
00042   , min_distance(0.0)
00043   , harris(0.0)
00044   , size_block(0)
00045   , pyramid_lvl(0)
00046   , angle_appear(0.0)
00047   , angle_disappear(0.0)
00048   , mask_border(0)
00049   {
00050   }
00051 
00052   typedef int64_t _max_features_type;
00053   int64_t max_features;
00054 
00055   typedef int64_t _window_size_type;
00056   int64_t window_size;
00057 
00058   typedef double _quality_type;
00059   double quality;
00060 
00061   typedef double _min_distance_type;
00062   double min_distance;
00063 
00064   typedef double _harris_type;
00065   double harris;
00066 
00067   typedef int64_t _size_block_type;
00068   int64_t size_block;
00069 
00070   typedef int64_t _pyramid_lvl_type;
00071   int64_t pyramid_lvl;
00072 
00073   typedef double _angle_appear_type;
00074   double angle_appear;
00075 
00076   typedef double _angle_disappear_type;
00077   double angle_disappear;
00078 
00079   typedef int64_t _mask_border_type;
00080   int64_t mask_border;
00081 
00082 
00083   typedef boost::shared_ptr< ::visp_tracker::KltSettings_<ContainerAllocator> > Ptr;
00084   typedef boost::shared_ptr< ::visp_tracker::KltSettings_<ContainerAllocator>  const> ConstPtr;
00085   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00086 }; // struct KltSettings
00087 typedef  ::visp_tracker::KltSettings_<std::allocator<void> > KltSettings;
00088 
00089 typedef boost::shared_ptr< ::visp_tracker::KltSettings> KltSettingsPtr;
00090 typedef boost::shared_ptr< ::visp_tracker::KltSettings const> KltSettingsConstPtr;
00091 
00092 
00093 template<typename ContainerAllocator>
00094 std::ostream& operator<<(std::ostream& s, const  ::visp_tracker::KltSettings_<ContainerAllocator> & v)
00095 {
00096   ros::message_operations::Printer< ::visp_tracker::KltSettings_<ContainerAllocator> >::stream(s, "", v);
00097   return s;}
00098 
00099 } // namespace visp_tracker
00100 
00101 namespace ros
00102 {
00103 namespace message_traits
00104 {
00105 template<class ContainerAllocator> struct IsMessage< ::visp_tracker::KltSettings_<ContainerAllocator> > : public TrueType {};
00106 template<class ContainerAllocator> struct IsMessage< ::visp_tracker::KltSettings_<ContainerAllocator>  const> : public TrueType {};
00107 template<class ContainerAllocator>
00108 struct MD5Sum< ::visp_tracker::KltSettings_<ContainerAllocator> > {
00109   static const char* value() 
00110   {
00111     return "a9f61cd7210b4d3872b77b5d1101b830";
00112   }
00113 
00114   static const char* value(const  ::visp_tracker::KltSettings_<ContainerAllocator> &) { return value(); } 
00115   static const uint64_t static_value1 = 0xa9f61cd7210b4d38ULL;
00116   static const uint64_t static_value2 = 0x72b77b5d1101b830ULL;
00117 };
00118 
00119 template<class ContainerAllocator>
00120 struct DataType< ::visp_tracker::KltSettings_<ContainerAllocator> > {
00121   static const char* value() 
00122   {
00123     return "visp_tracker/KltSettings";
00124   }
00125 
00126   static const char* value(const  ::visp_tracker::KltSettings_<ContainerAllocator> &) { return value(); } 
00127 };
00128 
00129 template<class ContainerAllocator>
00130 struct Definition< ::visp_tracker::KltSettings_<ContainerAllocator> > {
00131   static const char* value() 
00132   {
00133     return "# This message contains tracking parameters.\n\
00134 #\n\
00135 # These parameters determine how precise, how fast and how\n\
00136 # reliable will be the tracking.\n\
00137 #\n\
00138 # It should be tuned carefully and can be changed dynamically.\n\
00139 #\n\
00140 # For more details, see the ViSP documentation:\n\
00141 # http://www.irisa.fr/lagadic/visp/publication.html\n\
00142 \n\
00143 # Klt Parameters.\n\
00144 \n\
00145 int64 max_features      # Maximum number of features\n\
00146 int64 window_size       # Window size\n\
00147 float64 quality         # Quality of the tracker\n\
00148 float64 min_distance      # Minimum distance betwenn two points\n\
00149 float64 harris          # Harris free parameters\n\
00150 int64 size_block        # Block size\n\
00151 int64 pyramid_lvl       # Pyramid levels\n\
00152 \n\
00153 float64 angle_appear    # Angle to test faces apparition\n\
00154 float64 angle_disappear # Angle to test faces disparition\n\
00155 int64 mask_border       # Mask Border\n\
00156 \n\
00157 \n\
00158 ";
00159   }
00160 
00161   static const char* value(const  ::visp_tracker::KltSettings_<ContainerAllocator> &) { return value(); } 
00162 };
00163 
00164 template<class ContainerAllocator> struct IsFixedSize< ::visp_tracker::KltSettings_<ContainerAllocator> > : public TrueType {};
00165 } // namespace message_traits
00166 } // namespace ros
00167 
00168 namespace ros
00169 {
00170 namespace serialization
00171 {
00172 
00173 template<class ContainerAllocator> struct Serializer< ::visp_tracker::KltSettings_<ContainerAllocator> >
00174 {
00175   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00176   {
00177     stream.next(m.max_features);
00178     stream.next(m.window_size);
00179     stream.next(m.quality);
00180     stream.next(m.min_distance);
00181     stream.next(m.harris);
00182     stream.next(m.size_block);
00183     stream.next(m.pyramid_lvl);
00184     stream.next(m.angle_appear);
00185     stream.next(m.angle_disappear);
00186     stream.next(m.mask_border);
00187   }
00188 
00189   ROS_DECLARE_ALLINONE_SERIALIZER;
00190 }; // struct KltSettings_
00191 } // namespace serialization
00192 } // namespace ros
00193 
00194 namespace ros
00195 {
00196 namespace message_operations
00197 {
00198 
00199 template<class ContainerAllocator>
00200 struct Printer< ::visp_tracker::KltSettings_<ContainerAllocator> >
00201 {
00202   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::visp_tracker::KltSettings_<ContainerAllocator> & v) 
00203   {
00204     s << indent << "max_features: ";
00205     Printer<int64_t>::stream(s, indent + "  ", v.max_features);
00206     s << indent << "window_size: ";
00207     Printer<int64_t>::stream(s, indent + "  ", v.window_size);
00208     s << indent << "quality: ";
00209     Printer<double>::stream(s, indent + "  ", v.quality);
00210     s << indent << "min_distance: ";
00211     Printer<double>::stream(s, indent + "  ", v.min_distance);
00212     s << indent << "harris: ";
00213     Printer<double>::stream(s, indent + "  ", v.harris);
00214     s << indent << "size_block: ";
00215     Printer<int64_t>::stream(s, indent + "  ", v.size_block);
00216     s << indent << "pyramid_lvl: ";
00217     Printer<int64_t>::stream(s, indent + "  ", v.pyramid_lvl);
00218     s << indent << "angle_appear: ";
00219     Printer<double>::stream(s, indent + "  ", v.angle_appear);
00220     s << indent << "angle_disappear: ";
00221     Printer<double>::stream(s, indent + "  ", v.angle_disappear);
00222     s << indent << "mask_border: ";
00223     Printer<int64_t>::stream(s, indent + "  ", v.mask_border);
00224   }
00225 };
00226 
00227 
00228 } // namespace message_operations
00229 } // namespace ros
00230 
00231 #endif // VISP_TRACKER_MESSAGE_KLTSETTINGS_H
00232 


visp_tracker
Author(s): Thomas Moulard/thomas.moulard@gmail.com
autogenerated on Sat Dec 28 2013 17:46:03