$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-cob_environment_perception/doc_stacks/2013-03-01_14-40-06.190572/cob_environment_perception/cob_3d_mapping_msgs/msg/CurvedPolygon_Array.msg */ 00002 #ifndef COB_3D_MAPPING_MSGS_MESSAGE_CURVEDPOLYGON_ARRAY_H 00003 #define COB_3D_MAPPING_MSGS_MESSAGE_CURVEDPOLYGON_ARRAY_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 "cob_3d_mapping_msgs/CurvedPolygon.h" 00019 00020 namespace cob_3d_mapping_msgs 00021 { 00022 template <class ContainerAllocator> 00023 struct CurvedPolygon_Array_ { 00024 typedef CurvedPolygon_Array_<ContainerAllocator> Type; 00025 00026 CurvedPolygon_Array_() 00027 : header() 00028 , polygons() 00029 { 00030 } 00031 00032 CurvedPolygon_Array_(const ContainerAllocator& _alloc) 00033 : header(_alloc) 00034 , polygons(_alloc) 00035 { 00036 } 00037 00038 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00039 ::std_msgs::Header_<ContainerAllocator> header; 00040 00041 typedef std::vector< ::cob_3d_mapping_msgs::CurvedPolygon_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::cob_3d_mapping_msgs::CurvedPolygon_<ContainerAllocator> >::other > _polygons_type; 00042 std::vector< ::cob_3d_mapping_msgs::CurvedPolygon_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::cob_3d_mapping_msgs::CurvedPolygon_<ContainerAllocator> >::other > polygons; 00043 00044 00045 ROS_DEPRECATED uint32_t get_polygons_size() const { return (uint32_t)polygons.size(); } 00046 ROS_DEPRECATED void set_polygons_size(uint32_t size) { polygons.resize((size_t)size); } 00047 ROS_DEPRECATED void get_polygons_vec(std::vector< ::cob_3d_mapping_msgs::CurvedPolygon_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::cob_3d_mapping_msgs::CurvedPolygon_<ContainerAllocator> >::other > & vec) const { vec = this->polygons; } 00048 ROS_DEPRECATED void set_polygons_vec(const std::vector< ::cob_3d_mapping_msgs::CurvedPolygon_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::cob_3d_mapping_msgs::CurvedPolygon_<ContainerAllocator> >::other > & vec) { this->polygons = vec; } 00049 private: 00050 static const char* __s_getDataType_() { return "cob_3d_mapping_msgs/CurvedPolygon_Array"; } 00051 public: 00052 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00053 00054 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00055 00056 private: 00057 static const char* __s_getMD5Sum_() { return "dca7a231f0d66f77a98e4e50cf3157dc"; } 00058 public: 00059 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00060 00061 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00062 00063 private: 00064 static const char* __s_getMessageDefinition_() { return "Header header\n\ 00065 CurvedPolygon[] polygons\n\ 00066 ================================================================================\n\ 00067 MSG: std_msgs/Header\n\ 00068 # Standard metadata for higher-level stamped data types.\n\ 00069 # This is generally used to communicate timestamped data \n\ 00070 # in a particular coordinate frame.\n\ 00071 # \n\ 00072 # sequence ID: consecutively increasing ID \n\ 00073 uint32 seq\n\ 00074 #Two-integer timestamp that is expressed as:\n\ 00075 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00076 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00077 # time-handling sugar is provided by the client library\n\ 00078 time stamp\n\ 00079 #Frame this data is associated with\n\ 00080 # 0: no frame\n\ 00081 # 1: global frame\n\ 00082 string frame_id\n\ 00083 \n\ 00084 ================================================================================\n\ 00085 MSG: cob_3d_mapping_msgs/CurvedPolygon\n\ 00086 time stamp\n\ 00087 uint32 ID\n\ 00088 float32[6] parameter\n\ 00089 #float32[][3] polyline\n\ 00090 simalarity_score[] score\n\ 00091 polyline_point[] polyline\n\ 00092 feature[] features\n\ 00093 string energy\n\ 00094 float32 weight\n\ 00095 \n\ 00096 ================================================================================\n\ 00097 MSG: cob_3d_mapping_msgs/simalarity_score\n\ 00098 uint32 ID\n\ 00099 float32 prob\n\ 00100 ================================================================================\n\ 00101 MSG: cob_3d_mapping_msgs/polyline_point\n\ 00102 float32 x\n\ 00103 float32 y\n\ 00104 float32 edge_prob\n\ 00105 ================================================================================\n\ 00106 MSG: cob_3d_mapping_msgs/feature\n\ 00107 float32 x\n\ 00108 float32 y\n\ 00109 float32 z\n\ 00110 uint32 ID\n\ 00111 "; } 00112 public: 00113 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00114 00115 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00116 00117 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00118 { 00119 ros::serialization::OStream stream(write_ptr, 1000000000); 00120 ros::serialization::serialize(stream, header); 00121 ros::serialization::serialize(stream, polygons); 00122 return stream.getData(); 00123 } 00124 00125 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00126 { 00127 ros::serialization::IStream stream(read_ptr, 1000000000); 00128 ros::serialization::deserialize(stream, header); 00129 ros::serialization::deserialize(stream, polygons); 00130 return stream.getData(); 00131 } 00132 00133 ROS_DEPRECATED virtual uint32_t serializationLength() const 00134 { 00135 uint32_t size = 0; 00136 size += ros::serialization::serializationLength(header); 00137 size += ros::serialization::serializationLength(polygons); 00138 return size; 00139 } 00140 00141 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> > Ptr; 00142 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> const> ConstPtr; 00143 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00144 }; // struct CurvedPolygon_Array 00145 typedef ::cob_3d_mapping_msgs::CurvedPolygon_Array_<std::allocator<void> > CurvedPolygon_Array; 00146 00147 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::CurvedPolygon_Array> CurvedPolygon_ArrayPtr; 00148 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::CurvedPolygon_Array const> CurvedPolygon_ArrayConstPtr; 00149 00150 00151 template<typename ContainerAllocator> 00152 std::ostream& operator<<(std::ostream& s, const ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> & v) 00153 { 00154 ros::message_operations::Printer< ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> >::stream(s, "", v); 00155 return s;} 00156 00157 } // namespace cob_3d_mapping_msgs 00158 00159 namespace ros 00160 { 00161 namespace message_traits 00162 { 00163 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> > : public TrueType {}; 00164 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> const> : public TrueType {}; 00165 template<class ContainerAllocator> 00166 struct MD5Sum< ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> > { 00167 static const char* value() 00168 { 00169 return "dca7a231f0d66f77a98e4e50cf3157dc"; 00170 } 00171 00172 static const char* value(const ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> &) { return value(); } 00173 static const uint64_t static_value1 = 0xdca7a231f0d66f77ULL; 00174 static const uint64_t static_value2 = 0xa98e4e50cf3157dcULL; 00175 }; 00176 00177 template<class ContainerAllocator> 00178 struct DataType< ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> > { 00179 static const char* value() 00180 { 00181 return "cob_3d_mapping_msgs/CurvedPolygon_Array"; 00182 } 00183 00184 static const char* value(const ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> &) { return value(); } 00185 }; 00186 00187 template<class ContainerAllocator> 00188 struct Definition< ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> > { 00189 static const char* value() 00190 { 00191 return "Header header\n\ 00192 CurvedPolygon[] polygons\n\ 00193 ================================================================================\n\ 00194 MSG: std_msgs/Header\n\ 00195 # Standard metadata for higher-level stamped data types.\n\ 00196 # This is generally used to communicate timestamped data \n\ 00197 # in a particular coordinate frame.\n\ 00198 # \n\ 00199 # sequence ID: consecutively increasing ID \n\ 00200 uint32 seq\n\ 00201 #Two-integer timestamp that is expressed as:\n\ 00202 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00203 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00204 # time-handling sugar is provided by the client library\n\ 00205 time stamp\n\ 00206 #Frame this data is associated with\n\ 00207 # 0: no frame\n\ 00208 # 1: global frame\n\ 00209 string frame_id\n\ 00210 \n\ 00211 ================================================================================\n\ 00212 MSG: cob_3d_mapping_msgs/CurvedPolygon\n\ 00213 time stamp\n\ 00214 uint32 ID\n\ 00215 float32[6] parameter\n\ 00216 #float32[][3] polyline\n\ 00217 simalarity_score[] score\n\ 00218 polyline_point[] polyline\n\ 00219 feature[] features\n\ 00220 string energy\n\ 00221 float32 weight\n\ 00222 \n\ 00223 ================================================================================\n\ 00224 MSG: cob_3d_mapping_msgs/simalarity_score\n\ 00225 uint32 ID\n\ 00226 float32 prob\n\ 00227 ================================================================================\n\ 00228 MSG: cob_3d_mapping_msgs/polyline_point\n\ 00229 float32 x\n\ 00230 float32 y\n\ 00231 float32 edge_prob\n\ 00232 ================================================================================\n\ 00233 MSG: cob_3d_mapping_msgs/feature\n\ 00234 float32 x\n\ 00235 float32 y\n\ 00236 float32 z\n\ 00237 uint32 ID\n\ 00238 "; 00239 } 00240 00241 static const char* value(const ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> &) { return value(); } 00242 }; 00243 00244 template<class ContainerAllocator> struct HasHeader< ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> > : public TrueType {}; 00245 template<class ContainerAllocator> struct HasHeader< const ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> > : public TrueType {}; 00246 } // namespace message_traits 00247 } // namespace ros 00248 00249 namespace ros 00250 { 00251 namespace serialization 00252 { 00253 00254 template<class ContainerAllocator> struct Serializer< ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> > 00255 { 00256 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00257 { 00258 stream.next(m.header); 00259 stream.next(m.polygons); 00260 } 00261 00262 ROS_DECLARE_ALLINONE_SERIALIZER; 00263 }; // struct CurvedPolygon_Array_ 00264 } // namespace serialization 00265 } // namespace ros 00266 00267 namespace ros 00268 { 00269 namespace message_operations 00270 { 00271 00272 template<class ContainerAllocator> 00273 struct Printer< ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> > 00274 { 00275 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cob_3d_mapping_msgs::CurvedPolygon_Array_<ContainerAllocator> & v) 00276 { 00277 s << indent << "header: "; 00278 s << std::endl; 00279 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00280 s << indent << "polygons[]" << std::endl; 00281 for (size_t i = 0; i < v.polygons.size(); ++i) 00282 { 00283 s << indent << " polygons[" << i << "]: "; 00284 s << std::endl; 00285 s << indent; 00286 Printer< ::cob_3d_mapping_msgs::CurvedPolygon_<ContainerAllocator> >::stream(s, indent + " ", v.polygons[i]); 00287 } 00288 } 00289 }; 00290 00291 00292 } // namespace message_operations 00293 } // namespace ros 00294 00295 #endif // COB_3D_MAPPING_MSGS_MESSAGE_CURVEDPOLYGON_ARRAY_H 00296