$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/TableObjectClusterResult.msg */ 00002 #ifndef COB_3D_MAPPING_MSGS_MESSAGE_TABLEOBJECTCLUSTERRESULT_H 00003 #define COB_3D_MAPPING_MSGS_MESSAGE_TABLEOBJECTCLUSTERRESULT_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/PointCloud2.h" 00018 00019 namespace cob_3d_mapping_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct TableObjectClusterResult_ { 00023 typedef TableObjectClusterResult_<ContainerAllocator> Type; 00024 00025 TableObjectClusterResult_() 00026 : bounding_boxes() 00027 { 00028 } 00029 00030 TableObjectClusterResult_(const ContainerAllocator& _alloc) 00031 : bounding_boxes(_alloc) 00032 { 00033 } 00034 00035 typedef std::vector< ::sensor_msgs::PointCloud2_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::other > _bounding_boxes_type; 00036 std::vector< ::sensor_msgs::PointCloud2_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::other > bounding_boxes; 00037 00038 00039 ROS_DEPRECATED uint32_t get_bounding_boxes_size() const { return (uint32_t)bounding_boxes.size(); } 00040 ROS_DEPRECATED void set_bounding_boxes_size(uint32_t size) { bounding_boxes.resize((size_t)size); } 00041 ROS_DEPRECATED void get_bounding_boxes_vec(std::vector< ::sensor_msgs::PointCloud2_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::other > & vec) const { vec = this->bounding_boxes; } 00042 ROS_DEPRECATED void set_bounding_boxes_vec(const std::vector< ::sensor_msgs::PointCloud2_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::other > & vec) { this->bounding_boxes = vec; } 00043 private: 00044 static const char* __s_getDataType_() { return "cob_3d_mapping_msgs/TableObjectClusterResult"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "2c8e5a484f41a0aac9855792591d7d4c"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00059 #result definition\n\ 00060 sensor_msgs/PointCloud2[] bounding_boxes\n\ 00061 \n\ 00062 ================================================================================\n\ 00063 MSG: sensor_msgs/PointCloud2\n\ 00064 # This message holds a collection of N-dimensional points, which may\n\ 00065 # contain additional information such as normals, intensity, etc. The\n\ 00066 # point data is stored as a binary blob, its layout described by the\n\ 00067 # contents of the \"fields\" array.\n\ 00068 \n\ 00069 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00070 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00071 # camera depth sensors such as stereo or time-of-flight.\n\ 00072 \n\ 00073 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00074 # points).\n\ 00075 Header header\n\ 00076 \n\ 00077 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00078 # 1 and width is the length of the point cloud.\n\ 00079 uint32 height\n\ 00080 uint32 width\n\ 00081 \n\ 00082 # Describes the channels and their layout in the binary data blob.\n\ 00083 PointField[] fields\n\ 00084 \n\ 00085 bool is_bigendian # Is this data bigendian?\n\ 00086 uint32 point_step # Length of a point in bytes\n\ 00087 uint32 row_step # Length of a row in bytes\n\ 00088 uint8[] data # Actual point data, size is (row_step*height)\n\ 00089 \n\ 00090 bool is_dense # True if there are no invalid points\n\ 00091 \n\ 00092 ================================================================================\n\ 00093 MSG: std_msgs/Header\n\ 00094 # Standard metadata for higher-level stamped data types.\n\ 00095 # This is generally used to communicate timestamped data \n\ 00096 # in a particular coordinate frame.\n\ 00097 # \n\ 00098 # sequence ID: consecutively increasing ID \n\ 00099 uint32 seq\n\ 00100 #Two-integer timestamp that is expressed as:\n\ 00101 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00102 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00103 # time-handling sugar is provided by the client library\n\ 00104 time stamp\n\ 00105 #Frame this data is associated with\n\ 00106 # 0: no frame\n\ 00107 # 1: global frame\n\ 00108 string frame_id\n\ 00109 \n\ 00110 ================================================================================\n\ 00111 MSG: sensor_msgs/PointField\n\ 00112 # This message holds the description of one point entry in the\n\ 00113 # PointCloud2 message format.\n\ 00114 uint8 INT8 = 1\n\ 00115 uint8 UINT8 = 2\n\ 00116 uint8 INT16 = 3\n\ 00117 uint8 UINT16 = 4\n\ 00118 uint8 INT32 = 5\n\ 00119 uint8 UINT32 = 6\n\ 00120 uint8 FLOAT32 = 7\n\ 00121 uint8 FLOAT64 = 8\n\ 00122 \n\ 00123 string name # Name of field\n\ 00124 uint32 offset # Offset from start of point struct\n\ 00125 uint8 datatype # Datatype enumeration, see above\n\ 00126 uint32 count # How many elements in the field\n\ 00127 \n\ 00128 "; } 00129 public: 00130 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00131 00132 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00133 00134 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00135 { 00136 ros::serialization::OStream stream(write_ptr, 1000000000); 00137 ros::serialization::serialize(stream, bounding_boxes); 00138 return stream.getData(); 00139 } 00140 00141 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00142 { 00143 ros::serialization::IStream stream(read_ptr, 1000000000); 00144 ros::serialization::deserialize(stream, bounding_boxes); 00145 return stream.getData(); 00146 } 00147 00148 ROS_DEPRECATED virtual uint32_t serializationLength() const 00149 { 00150 uint32_t size = 0; 00151 size += ros::serialization::serializationLength(bounding_boxes); 00152 return size; 00153 } 00154 00155 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> > Ptr; 00156 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> const> ConstPtr; 00157 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00158 }; // struct TableObjectClusterResult 00159 typedef ::cob_3d_mapping_msgs::TableObjectClusterResult_<std::allocator<void> > TableObjectClusterResult; 00160 00161 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::TableObjectClusterResult> TableObjectClusterResultPtr; 00162 typedef boost::shared_ptr< ::cob_3d_mapping_msgs::TableObjectClusterResult const> TableObjectClusterResultConstPtr; 00163 00164 00165 template<typename ContainerAllocator> 00166 std::ostream& operator<<(std::ostream& s, const ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> & v) 00167 { 00168 ros::message_operations::Printer< ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> >::stream(s, "", v); 00169 return s;} 00170 00171 } // namespace cob_3d_mapping_msgs 00172 00173 namespace ros 00174 { 00175 namespace message_traits 00176 { 00177 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> > : public TrueType {}; 00178 template<class ContainerAllocator> struct IsMessage< ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> const> : public TrueType {}; 00179 template<class ContainerAllocator> 00180 struct MD5Sum< ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> > { 00181 static const char* value() 00182 { 00183 return "2c8e5a484f41a0aac9855792591d7d4c"; 00184 } 00185 00186 static const char* value(const ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> &) { return value(); } 00187 static const uint64_t static_value1 = 0x2c8e5a484f41a0aaULL; 00188 static const uint64_t static_value2 = 0xc9855792591d7d4cULL; 00189 }; 00190 00191 template<class ContainerAllocator> 00192 struct DataType< ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> > { 00193 static const char* value() 00194 { 00195 return "cob_3d_mapping_msgs/TableObjectClusterResult"; 00196 } 00197 00198 static const char* value(const ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> &) { return value(); } 00199 }; 00200 00201 template<class ContainerAllocator> 00202 struct Definition< ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> > { 00203 static const char* value() 00204 { 00205 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00206 #result definition\n\ 00207 sensor_msgs/PointCloud2[] bounding_boxes\n\ 00208 \n\ 00209 ================================================================================\n\ 00210 MSG: sensor_msgs/PointCloud2\n\ 00211 # This message holds a collection of N-dimensional points, which may\n\ 00212 # contain additional information such as normals, intensity, etc. The\n\ 00213 # point data is stored as a binary blob, its layout described by the\n\ 00214 # contents of the \"fields\" array.\n\ 00215 \n\ 00216 # The point cloud data may be organized 2d (image-like) or 1d\n\ 00217 # (unordered). Point clouds organized as 2d images may be produced by\n\ 00218 # camera depth sensors such as stereo or time-of-flight.\n\ 00219 \n\ 00220 # Time of sensor data acquisition, and the coordinate frame ID (for 3d\n\ 00221 # points).\n\ 00222 Header header\n\ 00223 \n\ 00224 # 2D structure of the point cloud. If the cloud is unordered, height is\n\ 00225 # 1 and width is the length of the point cloud.\n\ 00226 uint32 height\n\ 00227 uint32 width\n\ 00228 \n\ 00229 # Describes the channels and their layout in the binary data blob.\n\ 00230 PointField[] fields\n\ 00231 \n\ 00232 bool is_bigendian # Is this data bigendian?\n\ 00233 uint32 point_step # Length of a point in bytes\n\ 00234 uint32 row_step # Length of a row in bytes\n\ 00235 uint8[] data # Actual point data, size is (row_step*height)\n\ 00236 \n\ 00237 bool is_dense # True if there are no invalid points\n\ 00238 \n\ 00239 ================================================================================\n\ 00240 MSG: std_msgs/Header\n\ 00241 # Standard metadata for higher-level stamped data types.\n\ 00242 # This is generally used to communicate timestamped data \n\ 00243 # in a particular coordinate frame.\n\ 00244 # \n\ 00245 # sequence ID: consecutively increasing ID \n\ 00246 uint32 seq\n\ 00247 #Two-integer timestamp that is expressed as:\n\ 00248 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00249 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00250 # time-handling sugar is provided by the client library\n\ 00251 time stamp\n\ 00252 #Frame this data is associated with\n\ 00253 # 0: no frame\n\ 00254 # 1: global frame\n\ 00255 string frame_id\n\ 00256 \n\ 00257 ================================================================================\n\ 00258 MSG: sensor_msgs/PointField\n\ 00259 # This message holds the description of one point entry in the\n\ 00260 # PointCloud2 message format.\n\ 00261 uint8 INT8 = 1\n\ 00262 uint8 UINT8 = 2\n\ 00263 uint8 INT16 = 3\n\ 00264 uint8 UINT16 = 4\n\ 00265 uint8 INT32 = 5\n\ 00266 uint8 UINT32 = 6\n\ 00267 uint8 FLOAT32 = 7\n\ 00268 uint8 FLOAT64 = 8\n\ 00269 \n\ 00270 string name # Name of field\n\ 00271 uint32 offset # Offset from start of point struct\n\ 00272 uint8 datatype # Datatype enumeration, see above\n\ 00273 uint32 count # How many elements in the field\n\ 00274 \n\ 00275 "; 00276 } 00277 00278 static const char* value(const ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> &) { return value(); } 00279 }; 00280 00281 } // namespace message_traits 00282 } // namespace ros 00283 00284 namespace ros 00285 { 00286 namespace serialization 00287 { 00288 00289 template<class ContainerAllocator> struct Serializer< ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> > 00290 { 00291 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00292 { 00293 stream.next(m.bounding_boxes); 00294 } 00295 00296 ROS_DECLARE_ALLINONE_SERIALIZER; 00297 }; // struct TableObjectClusterResult_ 00298 } // namespace serialization 00299 } // namespace ros 00300 00301 namespace ros 00302 { 00303 namespace message_operations 00304 { 00305 00306 template<class ContainerAllocator> 00307 struct Printer< ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> > 00308 { 00309 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cob_3d_mapping_msgs::TableObjectClusterResult_<ContainerAllocator> & v) 00310 { 00311 s << indent << "bounding_boxes[]" << std::endl; 00312 for (size_t i = 0; i < v.bounding_boxes.size(); ++i) 00313 { 00314 s << indent << " bounding_boxes[" << i << "]: "; 00315 s << std::endl; 00316 s << indent; 00317 Printer< ::sensor_msgs::PointCloud2_<ContainerAllocator> >::stream(s, indent + " ", v.bounding_boxes[i]); 00318 } 00319 } 00320 }; 00321 00322 00323 } // namespace message_operations 00324 } // namespace ros 00325 00326 #endif // COB_3D_MAPPING_MSGS_MESSAGE_TABLEOBJECTCLUSTERRESULT_H 00327