Go to the documentation of this file.00001
00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_CLUSTERBOUNDINGBOX_H
00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_CLUSTERBOUNDINGBOX_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 "geometry_msgs/PoseStamped.h"
00018 #include "geometry_msgs/Vector3.h"
00019
00020 namespace object_manipulation_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct ClusterBoundingBox_ {
00024 typedef ClusterBoundingBox_<ContainerAllocator> Type;
00025
00026 ClusterBoundingBox_()
00027 : pose_stamped()
00028 , dimensions()
00029 {
00030 }
00031
00032 ClusterBoundingBox_(const ContainerAllocator& _alloc)
00033 : pose_stamped(_alloc)
00034 , dimensions(_alloc)
00035 {
00036 }
00037
00038 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_stamped_type;
00039 ::geometry_msgs::PoseStamped_<ContainerAllocator> pose_stamped;
00040
00041 typedef ::geometry_msgs::Vector3_<ContainerAllocator> _dimensions_type;
00042 ::geometry_msgs::Vector3_<ContainerAllocator> dimensions;
00043
00044
00045 typedef boost::shared_ptr< ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::object_manipulation_msgs::ClusterBoundingBox_<std::allocator<void> > ClusterBoundingBox;
00050
00051 typedef boost::shared_ptr< ::object_manipulation_msgs::ClusterBoundingBox> ClusterBoundingBoxPtr;
00052 typedef boost::shared_ptr< ::object_manipulation_msgs::ClusterBoundingBox const> ClusterBoundingBoxConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "9bf2b7a44ad666dc3a6a2bbc21782dad";
00074 }
00075
00076 static const char* value(const ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0x9bf2b7a44ad666dcULL;
00078 static const uint64_t static_value2 = 0x3a6a2bbc21782dadULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "object_manipulation_msgs/ClusterBoundingBox";
00086 }
00087
00088 static const char* value(const ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "# contains a bounding box, which is essentially a box somewhere in space\n\
00096 # used here ususally for the outlier-invariant bounding box of a cluster of points\n\
00097 \n\
00098 #the pose of the box frame\n\
00099 geometry_msgs/PoseStamped pose_stamped\n\
00100 \n\
00101 #the dimensions of the box\n\
00102 geometry_msgs/Vector3 dimensions\n\
00103 \n\
00104 ================================================================================\n\
00105 MSG: geometry_msgs/PoseStamped\n\
00106 # A Pose with reference coordinate frame and timestamp\n\
00107 Header header\n\
00108 Pose pose\n\
00109 \n\
00110 ================================================================================\n\
00111 MSG: std_msgs/Header\n\
00112 # Standard metadata for higher-level stamped data types.\n\
00113 # This is generally used to communicate timestamped data \n\
00114 # in a particular coordinate frame.\n\
00115 # \n\
00116 # sequence ID: consecutively increasing ID \n\
00117 uint32 seq\n\
00118 #Two-integer timestamp that is expressed as:\n\
00119 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00120 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00121 # time-handling sugar is provided by the client library\n\
00122 time stamp\n\
00123 #Frame this data is associated with\n\
00124 # 0: no frame\n\
00125 # 1: global frame\n\
00126 string frame_id\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: geometry_msgs/Pose\n\
00130 # A representation of pose in free space, composed of postion and orientation. \n\
00131 Point position\n\
00132 Quaternion orientation\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: geometry_msgs/Point\n\
00136 # This contains the position of a point in free space\n\
00137 float64 x\n\
00138 float64 y\n\
00139 float64 z\n\
00140 \n\
00141 ================================================================================\n\
00142 MSG: geometry_msgs/Quaternion\n\
00143 # This represents an orientation in free space in quaternion form.\n\
00144 \n\
00145 float64 x\n\
00146 float64 y\n\
00147 float64 z\n\
00148 float64 w\n\
00149 \n\
00150 ================================================================================\n\
00151 MSG: geometry_msgs/Vector3\n\
00152 # This represents a vector in free space. \n\
00153 \n\
00154 float64 x\n\
00155 float64 y\n\
00156 float64 z\n\
00157 ";
00158 }
00159
00160 static const char* value(const ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> &) { return value(); }
00161 };
00162
00163 }
00164 }
00165
00166 namespace ros
00167 {
00168 namespace serialization
00169 {
00170
00171 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> >
00172 {
00173 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00174 {
00175 stream.next(m.pose_stamped);
00176 stream.next(m.dimensions);
00177 }
00178
00179 ROS_DECLARE_ALLINONE_SERIALIZER;
00180 };
00181 }
00182 }
00183
00184 namespace ros
00185 {
00186 namespace message_operations
00187 {
00188
00189 template<class ContainerAllocator>
00190 struct Printer< ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> >
00191 {
00192 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_manipulation_msgs::ClusterBoundingBox_<ContainerAllocator> & v)
00193 {
00194 s << indent << "pose_stamped: ";
00195 s << std::endl;
00196 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.pose_stamped);
00197 s << indent << "dimensions: ";
00198 s << std::endl;
00199 Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + " ", v.dimensions);
00200 }
00201 };
00202
00203
00204 }
00205 }
00206
00207 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_CLUSTERBOUNDINGBOX_H
00208