Go to the documentation of this file.00001
00002 #ifndef ARM_NAVIGATION_MSGS_MESSAGE_ORIENTEDBOUNDINGBOX_H
00003 #define ARM_NAVIGATION_MSGS_MESSAGE_ORIENTEDBOUNDINGBOX_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/Point32.h"
00018 #include "geometry_msgs/Point32.h"
00019 #include "geometry_msgs/Point32.h"
00020
00021 namespace arm_navigation_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct OrientedBoundingBox_ {
00025 typedef OrientedBoundingBox_<ContainerAllocator> Type;
00026
00027 OrientedBoundingBox_()
00028 : center()
00029 , extents()
00030 , axis()
00031 , angle(0.0)
00032 {
00033 }
00034
00035 OrientedBoundingBox_(const ContainerAllocator& _alloc)
00036 : center(_alloc)
00037 , extents(_alloc)
00038 , axis(_alloc)
00039 , angle(0.0)
00040 {
00041 }
00042
00043 typedef ::geometry_msgs::Point32_<ContainerAllocator> _center_type;
00044 ::geometry_msgs::Point32_<ContainerAllocator> center;
00045
00046 typedef ::geometry_msgs::Point32_<ContainerAllocator> _extents_type;
00047 ::geometry_msgs::Point32_<ContainerAllocator> extents;
00048
00049 typedef ::geometry_msgs::Point32_<ContainerAllocator> _axis_type;
00050 ::geometry_msgs::Point32_<ContainerAllocator> axis;
00051
00052 typedef float _angle_type;
00053 float angle;
00054
00055
00056 typedef boost::shared_ptr< ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> > Ptr;
00057 typedef boost::shared_ptr< ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> const> ConstPtr;
00058 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00059 };
00060 typedef ::arm_navigation_msgs::OrientedBoundingBox_<std::allocator<void> > OrientedBoundingBox;
00061
00062 typedef boost::shared_ptr< ::arm_navigation_msgs::OrientedBoundingBox> OrientedBoundingBoxPtr;
00063 typedef boost::shared_ptr< ::arm_navigation_msgs::OrientedBoundingBox const> OrientedBoundingBoxConstPtr;
00064
00065
00066 template<typename ContainerAllocator>
00067 std::ostream& operator<<(std::ostream& s, const ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> & v)
00068 {
00069 ros::message_operations::Printer< ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> >::stream(s, "", v);
00070 return s;}
00071
00072 }
00073
00074 namespace ros
00075 {
00076 namespace message_traits
00077 {
00078 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> > : public TrueType {};
00079 template<class ContainerAllocator> struct IsMessage< ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> const> : public TrueType {};
00080 template<class ContainerAllocator>
00081 struct MD5Sum< ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> > {
00082 static const char* value()
00083 {
00084 return "a9b13162620bd04a7cb84cf207e7a8ac";
00085 }
00086
00087 static const char* value(const ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> &) { return value(); }
00088 static const uint64_t static_value1 = 0xa9b13162620bd04aULL;
00089 static const uint64_t static_value2 = 0x7cb84cf207e7a8acULL;
00090 };
00091
00092 template<class ContainerAllocator>
00093 struct DataType< ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> > {
00094 static const char* value()
00095 {
00096 return "arm_navigation_msgs/OrientedBoundingBox";
00097 }
00098
00099 static const char* value(const ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> &) { return value(); }
00100 };
00101
00102 template<class ContainerAllocator>
00103 struct Definition< ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> > {
00104 static const char* value()
00105 {
00106 return "#the center of the box\n\
00107 geometry_msgs/Point32 center\n\
00108 \n\
00109 #the extents of the box, assuming the center is at the point\n\
00110 geometry_msgs/Point32 extents\n\
00111 \n\
00112 #the axis of the box\n\
00113 geometry_msgs/Point32 axis\n\
00114 \n\
00115 #the angle of rotation around the axis\n\
00116 float32 angle\n\
00117 \n\
00118 ================================================================================\n\
00119 MSG: geometry_msgs/Point32\n\
00120 # This contains the position of a point in free space(with 32 bits of precision).\n\
00121 # It is recommeded to use Point wherever possible instead of Point32. \n\
00122 # \n\
00123 # This recommendation is to promote interoperability. \n\
00124 #\n\
00125 # This message is designed to take up less space when sending\n\
00126 # lots of points at once, as in the case of a PointCloud. \n\
00127 \n\
00128 float32 x\n\
00129 float32 y\n\
00130 float32 z\n\
00131 ";
00132 }
00133
00134 static const char* value(const ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> &) { return value(); }
00135 };
00136
00137 template<class ContainerAllocator> struct IsFixedSize< ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> > : public TrueType {};
00138 }
00139 }
00140
00141 namespace ros
00142 {
00143 namespace serialization
00144 {
00145
00146 template<class ContainerAllocator> struct Serializer< ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> >
00147 {
00148 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00149 {
00150 stream.next(m.center);
00151 stream.next(m.extents);
00152 stream.next(m.axis);
00153 stream.next(m.angle);
00154 }
00155
00156 ROS_DECLARE_ALLINONE_SERIALIZER;
00157 };
00158 }
00159 }
00160
00161 namespace ros
00162 {
00163 namespace message_operations
00164 {
00165
00166 template<class ContainerAllocator>
00167 struct Printer< ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> >
00168 {
00169 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::arm_navigation_msgs::OrientedBoundingBox_<ContainerAllocator> & v)
00170 {
00171 s << indent << "center: ";
00172 s << std::endl;
00173 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.center);
00174 s << indent << "extents: ";
00175 s << std::endl;
00176 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.extents);
00177 s << indent << "axis: ";
00178 s << std::endl;
00179 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.axis);
00180 s << indent << "angle: ";
00181 Printer<float>::stream(s, indent + " ", v.angle);
00182 }
00183 };
00184
00185
00186 }
00187 }
00188
00189 #endif // ARM_NAVIGATION_MSGS_MESSAGE_ORIENTEDBOUNDINGBOX_H
00190