ImageAndPoints.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_camera_calibration/msg/ImageAndPoints.msg */
00002 #ifndef VISP_CAMERA_CALIBRATION_MESSAGE_IMAGEANDPOINTS_H
00003 #define VISP_CAMERA_CALIBRATION_MESSAGE_IMAGEANDPOINTS_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 #include "std_msgs/Header.h"
00018 #include "sensor_msgs/Image.h"
00019 #include "visp_camera_calibration/ImagePoint.h"
00020 
00021 namespace visp_camera_calibration
00022 {
00023 template <class ContainerAllocator>
00024 struct ImageAndPoints_ {
00025   typedef ImageAndPoints_<ContainerAllocator> Type;
00026 
00027   ImageAndPoints_()
00028   : header()
00029   , image()
00030   , points()
00031   {
00032   }
00033 
00034   ImageAndPoints_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , image(_alloc)
00037   , points(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00042    ::std_msgs::Header_<ContainerAllocator>  header;
00043 
00044   typedef  ::sensor_msgs::Image_<ContainerAllocator>  _image_type;
00045    ::sensor_msgs::Image_<ContainerAllocator>  image;
00046 
00047   typedef std::vector< ::visp_camera_calibration::ImagePoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::visp_camera_calibration::ImagePoint_<ContainerAllocator> >::other >  _points_type;
00048   std::vector< ::visp_camera_calibration::ImagePoint_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::visp_camera_calibration::ImagePoint_<ContainerAllocator> >::other >  points;
00049 
00050 
00051   typedef boost::shared_ptr< ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct ImageAndPoints
00055 typedef  ::visp_camera_calibration::ImageAndPoints_<std::allocator<void> > ImageAndPoints;
00056 
00057 typedef boost::shared_ptr< ::visp_camera_calibration::ImageAndPoints> ImageAndPointsPtr;
00058 typedef boost::shared_ptr< ::visp_camera_calibration::ImageAndPoints const> ImageAndPointsConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace visp_camera_calibration
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "0fea5fc0844344ec4ec1adadebd18f75";
00080   }
00081 
00082   static const char* value(const  ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x0fea5fc0844344ecULL;
00084   static const uint64_t static_value2 = 0x4ec1adadebd18f75ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "visp_camera_calibration/ImageAndPoints";
00092   }
00093 
00094   static const char* value(const  ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "# An image with an array of 2D points selected in the image\n\
00102 \n\
00103 Header header\n\
00104 \n\
00105 sensor_msgs/Image image\n\
00106 visp_camera_calibration/ImagePoint[] points\n\
00107 \n\
00108 ================================================================================\n\
00109 MSG: std_msgs/Header\n\
00110 # Standard metadata for higher-level stamped data types.\n\
00111 # This is generally used to communicate timestamped data \n\
00112 # in a particular coordinate frame.\n\
00113 # \n\
00114 # sequence ID: consecutively increasing ID \n\
00115 uint32 seq\n\
00116 #Two-integer timestamp that is expressed as:\n\
00117 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00118 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00119 # time-handling sugar is provided by the client library\n\
00120 time stamp\n\
00121 #Frame this data is associated with\n\
00122 # 0: no frame\n\
00123 # 1: global frame\n\
00124 string frame_id\n\
00125 \n\
00126 ================================================================================\n\
00127 MSG: sensor_msgs/Image\n\
00128 # This message contains an uncompressed image\n\
00129 # (0, 0) is at top-left corner of image\n\
00130 #\n\
00131 \n\
00132 Header header        # Header timestamp should be acquisition time of image\n\
00133                      # Header frame_id should be optical frame of camera\n\
00134                      # origin of frame should be optical center of cameara\n\
00135                      # +x should point to the right in the image\n\
00136                      # +y should point down in the image\n\
00137                      # +z should point into to plane of the image\n\
00138                      # If the frame_id here and the frame_id of the CameraInfo\n\
00139                      # message associated with the image conflict\n\
00140                      # the behavior is undefined\n\
00141 \n\
00142 uint32 height         # image height, that is, number of rows\n\
00143 uint32 width          # image width, that is, number of columns\n\
00144 \n\
00145 # The legal values for encoding are in file src/image_encodings.cpp\n\
00146 # If you want to standardize a new string format, join\n\
00147 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00148 \n\
00149 string encoding       # Encoding of pixels -- channel meaning, ordering, size\n\
00150                       # taken from the list of strings in src/image_encodings.cpp\n\
00151 \n\
00152 uint8 is_bigendian    # is this data bigendian?\n\
00153 uint32 step           # Full row length in bytes\n\
00154 uint8[] data          # actual matrix data, size is (step * rows)\n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: visp_camera_calibration/ImagePoint\n\
00158 # a point (pixel coordinates) selected in an image\n\
00159 \n\
00160 int32 x\n\
00161 int32 y\n\
00162 \n\
00163 ";
00164   }
00165 
00166   static const char* value(const  ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> &) { return value(); } 
00167 };
00168 
00169 template<class ContainerAllocator> struct HasHeader< ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> > : public TrueType {};
00170 template<class ContainerAllocator> struct HasHeader< const ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> > : public TrueType {};
00171 } // namespace message_traits
00172 } // namespace ros
00173 
00174 namespace ros
00175 {
00176 namespace serialization
00177 {
00178 
00179 template<class ContainerAllocator> struct Serializer< ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> >
00180 {
00181   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00182   {
00183     stream.next(m.header);
00184     stream.next(m.image);
00185     stream.next(m.points);
00186   }
00187 
00188   ROS_DECLARE_ALLINONE_SERIALIZER;
00189 }; // struct ImageAndPoints_
00190 } // namespace serialization
00191 } // namespace ros
00192 
00193 namespace ros
00194 {
00195 namespace message_operations
00196 {
00197 
00198 template<class ContainerAllocator>
00199 struct Printer< ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> >
00200 {
00201   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::visp_camera_calibration::ImageAndPoints_<ContainerAllocator> & v) 
00202   {
00203     s << indent << "header: ";
00204 s << std::endl;
00205     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00206     s << indent << "image: ";
00207 s << std::endl;
00208     Printer< ::sensor_msgs::Image_<ContainerAllocator> >::stream(s, indent + "  ", v.image);
00209     s << indent << "points[]" << std::endl;
00210     for (size_t i = 0; i < v.points.size(); ++i)
00211     {
00212       s << indent << "  points[" << i << "]: ";
00213       s << std::endl;
00214       s << indent;
00215       Printer< ::visp_camera_calibration::ImagePoint_<ContainerAllocator> >::stream(s, indent + "    ", v.points[i]);
00216     }
00217   }
00218 };
00219 
00220 
00221 } // namespace message_operations
00222 } // namespace ros
00223 
00224 #endif // VISP_CAMERA_CALIBRATION_MESSAGE_IMAGEANDPOINTS_H
00225 


visp_camera_calibration
Author(s): Filip Novotny
autogenerated on Sat Dec 28 2013 17:45:42