Homography.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-3d_interaction/doc_stacks/2014-10-06_10-02-11.311757/3d_interaction/projector_calibration/msg/Homography.msg */
00002 #ifndef PROJECTOR_CALIBRATION_MESSAGE_HOMOGRAPHY_H
00003 #define PROJECTOR_CALIBRATION_MESSAGE_HOMOGRAPHY_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 projector_calibration
00019 {
00020 template <class ContainerAllocator>
00021 struct Homography_ {
00022   typedef Homography_<ContainerAllocator> Type;
00023 
00024   Homography_()
00025   : mat()
00026   {
00027     mat.assign(0.0);
00028   }
00029 
00030   Homography_(const ContainerAllocator& _alloc)
00031   : mat()
00032   {
00033     mat.assign(0.0);
00034   }
00035 
00036   typedef boost::array<double, 9>  _mat_type;
00037   boost::array<double, 9>  mat;
00038 
00039 
00040   typedef boost::shared_ptr< ::projector_calibration::Homography_<ContainerAllocator> > Ptr;
00041   typedef boost::shared_ptr< ::projector_calibration::Homography_<ContainerAllocator>  const> ConstPtr;
00042   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00043 }; // struct Homography
00044 typedef  ::projector_calibration::Homography_<std::allocator<void> > Homography;
00045 
00046 typedef boost::shared_ptr< ::projector_calibration::Homography> HomographyPtr;
00047 typedef boost::shared_ptr< ::projector_calibration::Homography const> HomographyConstPtr;
00048 
00049 
00050 template<typename ContainerAllocator>
00051 std::ostream& operator<<(std::ostream& s, const  ::projector_calibration::Homography_<ContainerAllocator> & v)
00052 {
00053   ros::message_operations::Printer< ::projector_calibration::Homography_<ContainerAllocator> >::stream(s, "", v);
00054   return s;}
00055 
00056 } // namespace projector_calibration
00057 
00058 namespace ros
00059 {
00060 namespace message_traits
00061 {
00062 template<class ContainerAllocator> struct IsMessage< ::projector_calibration::Homography_<ContainerAllocator> > : public TrueType {};
00063 template<class ContainerAllocator> struct IsMessage< ::projector_calibration::Homography_<ContainerAllocator>  const> : public TrueType {};
00064 template<class ContainerAllocator>
00065 struct MD5Sum< ::projector_calibration::Homography_<ContainerAllocator> > {
00066   static const char* value() 
00067   {
00068     return "4af85ebd3bce315ca2280fd0f51c499f";
00069   }
00070 
00071   static const char* value(const  ::projector_calibration::Homography_<ContainerAllocator> &) { return value(); } 
00072   static const uint64_t static_value1 = 0x4af85ebd3bce315cULL;
00073   static const uint64_t static_value2 = 0xa2280fd0f51c499fULL;
00074 };
00075 
00076 template<class ContainerAllocator>
00077 struct DataType< ::projector_calibration::Homography_<ContainerAllocator> > {
00078   static const char* value() 
00079   {
00080     return "projector_calibration/Homography";
00081   }
00082 
00083   static const char* value(const  ::projector_calibration::Homography_<ContainerAllocator> &) { return value(); } 
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct Definition< ::projector_calibration::Homography_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "float64[9] mat # a 3x3 homography matrix\n\
00091 ";
00092   }
00093 
00094   static const char* value(const  ::projector_calibration::Homography_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator> struct IsFixedSize< ::projector_calibration::Homography_<ContainerAllocator> > : public TrueType {};
00098 } // namespace message_traits
00099 } // namespace ros
00100 
00101 namespace ros
00102 {
00103 namespace serialization
00104 {
00105 
00106 template<class ContainerAllocator> struct Serializer< ::projector_calibration::Homography_<ContainerAllocator> >
00107 {
00108   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00109   {
00110     stream.next(m.mat);
00111   }
00112 
00113   ROS_DECLARE_ALLINONE_SERIALIZER;
00114 }; // struct Homography_
00115 } // namespace serialization
00116 } // namespace ros
00117 
00118 namespace ros
00119 {
00120 namespace message_operations
00121 {
00122 
00123 template<class ContainerAllocator>
00124 struct Printer< ::projector_calibration::Homography_<ContainerAllocator> >
00125 {
00126   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::projector_calibration::Homography_<ContainerAllocator> & v) 
00127   {
00128     s << indent << "mat[]" << std::endl;
00129     for (size_t i = 0; i < v.mat.size(); ++i)
00130     {
00131       s << indent << "  mat[" << i << "]: ";
00132       Printer<double>::stream(s, indent + "  ", v.mat[i]);
00133     }
00134   }
00135 };
00136 
00137 
00138 } // namespace message_operations
00139 } // namespace ros
00140 
00141 #endif // PROJECTOR_CALIBRATION_MESSAGE_HOMOGRAPHY_H
00142 


projector_calibration
Author(s): Daniel Lazewatsky
autogenerated on Mon Oct 6 2014 10:10:01