AffineTransformMatrix.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/AffineTransformMatrix.msg */
00002 #ifndef OPENRAVEROS_MESSAGE_AFFINETRANSFORMMATRIX_H
00003 #define OPENRAVEROS_MESSAGE_AFFINETRANSFORMMATRIX_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 AffineTransformMatrix_ {
00022   typedef AffineTransformMatrix_<ContainerAllocator> Type;
00023 
00024   AffineTransformMatrix_()
00025   : m()
00026   {
00027     m.assign(0.0);
00028   }
00029 
00030   AffineTransformMatrix_(const ContainerAllocator& _alloc)
00031   : m()
00032   {
00033     m.assign(0.0);
00034   }
00035 
00036   typedef boost::array<float, 12>  _m_type;
00037   boost::array<float, 12>  m;
00038 
00039 
00040   typedef boost::shared_ptr< ::openraveros::AffineTransformMatrix_<ContainerAllocator> > Ptr;
00041   typedef boost::shared_ptr< ::openraveros::AffineTransformMatrix_<ContainerAllocator>  const> ConstPtr;
00042   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00043 }; // struct AffineTransformMatrix
00044 typedef  ::openraveros::AffineTransformMatrix_<std::allocator<void> > AffineTransformMatrix;
00045 
00046 typedef boost::shared_ptr< ::openraveros::AffineTransformMatrix> AffineTransformMatrixPtr;
00047 typedef boost::shared_ptr< ::openraveros::AffineTransformMatrix const> AffineTransformMatrixConstPtr;
00048 
00049 
00050 template<typename ContainerAllocator>
00051 std::ostream& operator<<(std::ostream& s, const  ::openraveros::AffineTransformMatrix_<ContainerAllocator> & v)
00052 {
00053   ros::message_operations::Printer< ::openraveros::AffineTransformMatrix_<ContainerAllocator> >::stream(s, "", v);
00054   return s;}
00055 
00056 } // namespace openraveros
00057 
00058 namespace ros
00059 {
00060 namespace message_traits
00061 {
00062 template<class ContainerAllocator> struct IsMessage< ::openraveros::AffineTransformMatrix_<ContainerAllocator> > : public TrueType {};
00063 template<class ContainerAllocator> struct IsMessage< ::openraveros::AffineTransformMatrix_<ContainerAllocator>  const> : public TrueType {};
00064 template<class ContainerAllocator>
00065 struct MD5Sum< ::openraveros::AffineTransformMatrix_<ContainerAllocator> > {
00066   static const char* value() 
00067   {
00068     return "b6d267a537fed4f51a8178fe3c372483";
00069   }
00070 
00071   static const char* value(const  ::openraveros::AffineTransformMatrix_<ContainerAllocator> &) { return value(); } 
00072   static const uint64_t static_value1 = 0xb6d267a537fed4f5ULL;
00073   static const uint64_t static_value2 = 0x1a8178fe3c372483ULL;
00074 };
00075 
00076 template<class ContainerAllocator>
00077 struct DataType< ::openraveros::AffineTransformMatrix_<ContainerAllocator> > {
00078   static const char* value() 
00079   {
00080     return "openraveros/AffineTransformMatrix";
00081   }
00082 
00083   static const char* value(const  ::openraveros::AffineTransformMatrix_<ContainerAllocator> &) { return value(); } 
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct Definition< ::openraveros::AffineTransformMatrix_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "# column ordered 3x4 affine transformation, ie: the arrangement in memory is:\n\
00091 # where the upper 3x3 matrix is orthonormal\n\
00092 # [0] [3] [6] [9]\n\
00093 # [1] [4] [7] [10]\n\
00094 # [2] [5] [8] [11]\n\
00095 float32[12] m\n\
00096 \n\
00097 ";
00098   }
00099 
00100   static const char* value(const  ::openraveros::AffineTransformMatrix_<ContainerAllocator> &) { return value(); } 
00101 };
00102 
00103 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::AffineTransformMatrix_<ContainerAllocator> > : public TrueType {};
00104 } // namespace message_traits
00105 } // namespace ros
00106 
00107 namespace ros
00108 {
00109 namespace serialization
00110 {
00111 
00112 template<class ContainerAllocator> struct Serializer< ::openraveros::AffineTransformMatrix_<ContainerAllocator> >
00113 {
00114   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00115   {
00116     stream.next(m.m);
00117   }
00118 
00119   ROS_DECLARE_ALLINONE_SERIALIZER;
00120 }; // struct AffineTransformMatrix_
00121 } // namespace serialization
00122 } // namespace ros
00123 
00124 namespace ros
00125 {
00126 namespace message_operations
00127 {
00128 
00129 template<class ContainerAllocator>
00130 struct Printer< ::openraveros::AffineTransformMatrix_<ContainerAllocator> >
00131 {
00132   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::openraveros::AffineTransformMatrix_<ContainerAllocator> & v) 
00133   {
00134     s << indent << "m[]" << std::endl;
00135     for (size_t i = 0; i < v.m.size(); ++i)
00136     {
00137       s << indent << "  m[" << i << "]: ";
00138       Printer<float>::stream(s, indent + "  ", v.m[i]);
00139     }
00140   }
00141 };
00142 
00143 
00144 } // namespace message_operations
00145 } // namespace ros
00146 
00147 #endif // OPENRAVEROS_MESSAGE_AFFINETRANSFORMMATRIX_H
00148 
 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