AABB.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/doc_stacks/2013-03-23_12-16-27.483192/jsk-ros-pkg/openrave_planning/openraveros/msg/AABB.msg */
00002 #ifndef OPENRAVEROS_MESSAGE_AABB_H
00003 #define OPENRAVEROS_MESSAGE_AABB_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 
00018 namespace openraveros
00019 {
00020 template <class ContainerAllocator>
00021 struct AABB_ {
00022   typedef AABB_<ContainerAllocator> Type;
00023 
00024   AABB_()
00025   : center()
00026   , extents()
00027   {
00028     center.assign(0.0);
00029     extents.assign(0.0);
00030   }
00031 
00032   AABB_(const ContainerAllocator& _alloc)
00033   : center()
00034   , extents()
00035   {
00036     center.assign(0.0);
00037     extents.assign(0.0);
00038   }
00039 
00040   typedef boost::array<float, 3>  _center_type;
00041   boost::array<float, 3>  center;
00042 
00043   typedef boost::array<float, 3>  _extents_type;
00044   boost::array<float, 3>  extents;
00045 
00046 
00047   typedef boost::shared_ptr< ::openraveros::AABB_<ContainerAllocator> > Ptr;
00048   typedef boost::shared_ptr< ::openraveros::AABB_<ContainerAllocator>  const> ConstPtr;
00049   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 }; // struct AABB
00051 typedef  ::openraveros::AABB_<std::allocator<void> > AABB;
00052 
00053 typedef boost::shared_ptr< ::openraveros::AABB> AABBPtr;
00054 typedef boost::shared_ptr< ::openraveros::AABB const> AABBConstPtr;
00055 
00056 
00057 template<typename ContainerAllocator>
00058 std::ostream& operator<<(std::ostream& s, const  ::openraveros::AABB_<ContainerAllocator> & v)
00059 {
00060   ros::message_operations::Printer< ::openraveros::AABB_<ContainerAllocator> >::stream(s, "", v);
00061   return s;}
00062 
00063 } // namespace openraveros
00064 
00065 namespace ros
00066 {
00067 namespace message_traits
00068 {
00069 template<class ContainerAllocator> struct IsMessage< ::openraveros::AABB_<ContainerAllocator> > : public TrueType {};
00070 template<class ContainerAllocator> struct IsMessage< ::openraveros::AABB_<ContainerAllocator>  const> : public TrueType {};
00071 template<class ContainerAllocator>
00072 struct MD5Sum< ::openraveros::AABB_<ContainerAllocator> > {
00073   static const char* value() 
00074   {
00075     return "ea81b77497661ad95c95e99c1f713702";
00076   }
00077 
00078   static const char* value(const  ::openraveros::AABB_<ContainerAllocator> &) { return value(); } 
00079   static const uint64_t static_value1 = 0xea81b77497661ad9ULL;
00080   static const uint64_t static_value2 = 0x5c95e99c1f713702ULL;
00081 };
00082 
00083 template<class ContainerAllocator>
00084 struct DataType< ::openraveros::AABB_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "openraveros/AABB";
00088   }
00089 
00090   static const char* value(const  ::openraveros::AABB_<ContainerAllocator> &) { return value(); } 
00091 };
00092 
00093 template<class ContainerAllocator>
00094 struct Definition< ::openraveros::AABB_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "# axis-aligned bounding box\n\
00098 float32[3] center\n\
00099 \n\
00100 # half widths\n\
00101 float32[3] extents\n\
00102 \n\
00103 ";
00104   }
00105 
00106   static const char* value(const  ::openraveros::AABB_<ContainerAllocator> &) { return value(); } 
00107 };
00108 
00109 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::AABB_<ContainerAllocator> > : public TrueType {};
00110 } // namespace message_traits
00111 } // namespace ros
00112 
00113 namespace ros
00114 {
00115 namespace serialization
00116 {
00117 
00118 template<class ContainerAllocator> struct Serializer< ::openraveros::AABB_<ContainerAllocator> >
00119 {
00120   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00121   {
00122     stream.next(m.center);
00123     stream.next(m.extents);
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct AABB_
00128 } // namespace serialization
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135 
00136 template<class ContainerAllocator>
00137 struct Printer< ::openraveros::AABB_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::openraveros::AABB_<ContainerAllocator> & v) 
00140   {
00141     s << indent << "center[]" << std::endl;
00142     for (size_t i = 0; i < v.center.size(); ++i)
00143     {
00144       s << indent << "  center[" << i << "]: ";
00145       Printer<float>::stream(s, indent + "  ", v.center[i]);
00146     }
00147     s << indent << "extents[]" << std::endl;
00148     for (size_t i = 0; i < v.extents.size(); ++i)
00149     {
00150       s << indent << "  extents[" << i << "]: ";
00151       Printer<float>::stream(s, indent + "  ", v.extents[i]);
00152     }
00153   }
00154 };
00155 
00156 
00157 } // namespace message_operations
00158 } // namespace ros
00159 
00160 #endif // OPENRAVEROS_MESSAGE_AABB_H
00161 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


openraveros
Author(s): Rosen Diankov (rosen.diankov@gmail.com)
autogenerated on Sat Mar 23 2013 22:16:01