DetectionResult.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-roboearth/doc_stacks/2014-01-05_11-23-46.303839/roboearth/object_scanning/re_kinect_object_detector/msg/DetectionResult.msg */
00002 #ifndef RE_KINECT_OBJECT_DETECTOR_MESSAGE_DETECTIONRESULT_H
00003 #define RE_KINECT_OBJECT_DETECTOR_MESSAGE_DETECTIONRESULT_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 "sensor_msgs/Image.h"
00018 #include "re_msgs/DetectedObject.h"
00019 
00020 namespace re_kinect_object_detector
00021 {
00022 template <class ContainerAllocator>
00023 struct DetectionResult_ {
00024   typedef DetectionResult_<ContainerAllocator> Type;
00025 
00026   DetectionResult_()
00027   : Image()
00028   , ObjectNames()
00029   , Detections()
00030   {
00031   }
00032 
00033   DetectionResult_(const ContainerAllocator& _alloc)
00034   : Image(_alloc)
00035   , ObjectNames(_alloc)
00036   , Detections(_alloc)
00037   {
00038   }
00039 
00040   typedef  ::sensor_msgs::Image_<ContainerAllocator>  _Image_type;
00041    ::sensor_msgs::Image_<ContainerAllocator>  Image;
00042 
00043   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _ObjectNames_type;
00044   std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  ObjectNames;
00045 
00046   typedef std::vector< ::re_msgs::DetectedObject_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::re_msgs::DetectedObject_<ContainerAllocator> >::other >  _Detections_type;
00047   std::vector< ::re_msgs::DetectedObject_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::re_msgs::DetectedObject_<ContainerAllocator> >::other >  Detections;
00048 
00049 
00050   typedef boost::shared_ptr< ::re_kinect_object_detector::DetectionResult_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::re_kinect_object_detector::DetectionResult_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct DetectionResult
00054 typedef  ::re_kinect_object_detector::DetectionResult_<std::allocator<void> > DetectionResult;
00055 
00056 typedef boost::shared_ptr< ::re_kinect_object_detector::DetectionResult> DetectionResultPtr;
00057 typedef boost::shared_ptr< ::re_kinect_object_detector::DetectionResult const> DetectionResultConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::re_kinect_object_detector::DetectionResult_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::re_kinect_object_detector::DetectionResult_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace re_kinect_object_detector
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::re_kinect_object_detector::DetectionResult_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::re_kinect_object_detector::DetectionResult_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::re_kinect_object_detector::DetectionResult_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "ff5eaa0c7838288761622bd26a33514f";
00079   }
00080 
00081   static const char* value(const  ::re_kinect_object_detector::DetectionResult_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0xff5eaa0c78382887ULL;
00083   static const uint64_t static_value2 = 0x61622bd26a33514fULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::re_kinect_object_detector::DetectionResult_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "re_kinect_object_detector/DetectionResult";
00091   }
00092 
00093   static const char* value(const  ::re_kinect_object_detector::DetectionResult_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::re_kinect_object_detector::DetectionResult_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "sensor_msgs/Image Image\n\
00101 string[] ObjectNames\n\
00102 re_msgs/DetectedObject[] Detections\n\
00103 \n\
00104 \n\
00105 ================================================================================\n\
00106 MSG: sensor_msgs/Image\n\
00107 # This message contains an uncompressed image\n\
00108 # (0, 0) is at top-left corner of image\n\
00109 #\n\
00110 \n\
00111 Header header        # Header timestamp should be acquisition time of image\n\
00112                      # Header frame_id should be optical frame of camera\n\
00113                      # origin of frame should be optical center of cameara\n\
00114                      # +x should point to the right in the image\n\
00115                      # +y should point down in the image\n\
00116                      # +z should point into to plane of the image\n\
00117                      # If the frame_id here and the frame_id of the CameraInfo\n\
00118                      # message associated with the image conflict\n\
00119                      # the behavior is undefined\n\
00120 \n\
00121 uint32 height         # image height, that is, number of rows\n\
00122 uint32 width          # image width, that is, number of columns\n\
00123 \n\
00124 # The legal values for encoding are in file src/image_encodings.cpp\n\
00125 # If you want to standardize a new string format, join\n\
00126 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00127 \n\
00128 string encoding       # Encoding of pixels -- channel meaning, ordering, size\n\
00129                       # taken from the list of strings in src/image_encodings.cpp\n\
00130 \n\
00131 uint8 is_bigendian    # is this data bigendian?\n\
00132 uint32 step           # Full row length in bytes\n\
00133 uint8[] data          # actual matrix data, size is (step * rows)\n\
00134 \n\
00135 ================================================================================\n\
00136 MSG: std_msgs/Header\n\
00137 # Standard metadata for higher-level stamped data types.\n\
00138 # This is generally used to communicate timestamped data \n\
00139 # in a particular coordinate frame.\n\
00140 # \n\
00141 # sequence ID: consecutively increasing ID \n\
00142 uint32 seq\n\
00143 #Two-integer timestamp that is expressed as:\n\
00144 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00145 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00146 # time-handling sugar is provided by the client library\n\
00147 time stamp\n\
00148 #Frame this data is associated with\n\
00149 # 0: no frame\n\
00150 # 1: global frame\n\
00151 string frame_id\n\
00152 \n\
00153 ================================================================================\n\
00154 MSG: re_msgs/DetectedObject\n\
00155 # Information of object detected in an image by re_vision\n\
00156 #\n\
00157 \n\
00158 # detected points in the image\n\
00159 Pixel[] points2d\n\
00160 # detected 3d points in the camera reference\n\
00161 geometry_msgs/Point[] points3d\n\
00162 # pose of the object in the camera reference\n\
00163 geometry_msgs/Pose pose\n\
00164 # detected 3d points in the model reference\n\
00165 geometry_msgs/Point[] points3d_model\n\
00166 # detected 3d points octave\n\
00167 int32[] octave\n\
00168 \n\
00169 ================================================================================\n\
00170 MSG: re_msgs/Pixel\n\
00171 # top-left corner: (0,0)\n\
00172 \n\
00173 int32 x\n\
00174 int32 y\n\
00175 ================================================================================\n\
00176 MSG: geometry_msgs/Point\n\
00177 # This contains the position of a point in free space\n\
00178 float64 x\n\
00179 float64 y\n\
00180 float64 z\n\
00181 \n\
00182 ================================================================================\n\
00183 MSG: geometry_msgs/Pose\n\
00184 # A representation of pose in free space, composed of postion and orientation. \n\
00185 Point position\n\
00186 Quaternion orientation\n\
00187 \n\
00188 ================================================================================\n\
00189 MSG: geometry_msgs/Quaternion\n\
00190 # This represents an orientation in free space in quaternion form.\n\
00191 \n\
00192 float64 x\n\
00193 float64 y\n\
00194 float64 z\n\
00195 float64 w\n\
00196 \n\
00197 ";
00198   }
00199 
00200   static const char* value(const  ::re_kinect_object_detector::DetectionResult_<ContainerAllocator> &) { return value(); } 
00201 };
00202 
00203 } // namespace message_traits
00204 } // namespace ros
00205 
00206 namespace ros
00207 {
00208 namespace serialization
00209 {
00210 
00211 template<class ContainerAllocator> struct Serializer< ::re_kinect_object_detector::DetectionResult_<ContainerAllocator> >
00212 {
00213   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00214   {
00215     stream.next(m.Image);
00216     stream.next(m.ObjectNames);
00217     stream.next(m.Detections);
00218   }
00219 
00220   ROS_DECLARE_ALLINONE_SERIALIZER;
00221 }; // struct DetectionResult_
00222 } // namespace serialization
00223 } // namespace ros
00224 
00225 namespace ros
00226 {
00227 namespace message_operations
00228 {
00229 
00230 template<class ContainerAllocator>
00231 struct Printer< ::re_kinect_object_detector::DetectionResult_<ContainerAllocator> >
00232 {
00233   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::re_kinect_object_detector::DetectionResult_<ContainerAllocator> & v) 
00234   {
00235     s << indent << "Image: ";
00236 s << std::endl;
00237     Printer< ::sensor_msgs::Image_<ContainerAllocator> >::stream(s, indent + "  ", v.Image);
00238     s << indent << "ObjectNames[]" << std::endl;
00239     for (size_t i = 0; i < v.ObjectNames.size(); ++i)
00240     {
00241       s << indent << "  ObjectNames[" << i << "]: ";
00242       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.ObjectNames[i]);
00243     }
00244     s << indent << "Detections[]" << std::endl;
00245     for (size_t i = 0; i < v.Detections.size(); ++i)
00246     {
00247       s << indent << "  Detections[" << i << "]: ";
00248       s << std::endl;
00249       s << indent;
00250       Printer< ::re_msgs::DetectedObject_<ContainerAllocator> >::stream(s, indent + "    ", v.Detections[i]);
00251     }
00252   }
00253 };
00254 
00255 
00256 } // namespace message_operations
00257 } // namespace ros
00258 
00259 #endif // RE_KINECT_OBJECT_DETECTOR_MESSAGE_DETECTIONRESULT_H
00260 


re_kinect_object_detector
Author(s): Andreas Koch
autogenerated on Sun Jan 5 2014 11:38:30