Triangles.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-visualization_engine/doc_stacks/2013-12-11_14-28-19.339941/visualization_engine/rve_msgs/msg/Triangles.msg */
00002 #ifndef RVE_MSGS_MESSAGE_TRIANGLES_H
00003 #define RVE_MSGS_MESSAGE_TRIANGLES_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 "rve_msgs/Vector3.h"
00018 #include "rve_msgs/Vector3.h"
00019 #include "std_msgs/ColorRGBA.h"
00020 
00021 namespace rve_msgs
00022 {
00023 template <class ContainerAllocator>
00024 struct Triangles_ {
00025   typedef Triangles_<ContainerAllocator> Type;
00026 
00027   Triangles_()
00028   : positions()
00029   , normals()
00030   , colors()
00031   {
00032   }
00033 
00034   Triangles_(const ContainerAllocator& _alloc)
00035   : positions(_alloc)
00036   , normals(_alloc)
00037   , colors(_alloc)
00038   {
00039   }
00040 
00041   typedef std::vector< ::rve_msgs::Vector3_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::rve_msgs::Vector3_<ContainerAllocator> >::other >  _positions_type;
00042   std::vector< ::rve_msgs::Vector3_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::rve_msgs::Vector3_<ContainerAllocator> >::other >  positions;
00043 
00044   typedef std::vector< ::rve_msgs::Vector3_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::rve_msgs::Vector3_<ContainerAllocator> >::other >  _normals_type;
00045   std::vector< ::rve_msgs::Vector3_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::rve_msgs::Vector3_<ContainerAllocator> >::other >  normals;
00046 
00047   typedef std::vector< ::std_msgs::ColorRGBA_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::std_msgs::ColorRGBA_<ContainerAllocator> >::other >  _colors_type;
00048   std::vector< ::std_msgs::ColorRGBA_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::std_msgs::ColorRGBA_<ContainerAllocator> >::other >  colors;
00049 
00050 
00051   typedef boost::shared_ptr< ::rve_msgs::Triangles_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::rve_msgs::Triangles_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct Triangles
00055 typedef  ::rve_msgs::Triangles_<std::allocator<void> > Triangles;
00056 
00057 typedef boost::shared_ptr< ::rve_msgs::Triangles> TrianglesPtr;
00058 typedef boost::shared_ptr< ::rve_msgs::Triangles const> TrianglesConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::rve_msgs::Triangles_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::rve_msgs::Triangles_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace rve_msgs
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::Triangles_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::Triangles_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::rve_msgs::Triangles_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "0c8c3d6d2bcb1918c4431ebfd0edcb2c";
00080   }
00081 
00082   static const char* value(const  ::rve_msgs::Triangles_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0x0c8c3d6d2bcb1918ULL;
00084   static const uint64_t static_value2 = 0xc4431ebfd0edcb2cULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::rve_msgs::Triangles_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "rve_msgs/Triangles";
00092   }
00093 
00094   static const char* value(const  ::rve_msgs::Triangles_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::rve_msgs::Triangles_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "Vector3[] positions\n\
00102 Vector3[] normals\n\
00103 std_msgs/ColorRGBA[] colors\n\
00104 ================================================================================\n\
00105 MSG: rve_msgs/Vector3\n\
00106 float32 x\n\
00107 float32 y\n\
00108 float32 z\n\
00109 \n\
00110 ================================================================================\n\
00111 MSG: std_msgs/ColorRGBA\n\
00112 float32 r\n\
00113 float32 g\n\
00114 float32 b\n\
00115 float32 a\n\
00116 \n\
00117 ";
00118   }
00119 
00120   static const char* value(const  ::rve_msgs::Triangles_<ContainerAllocator> &) { return value(); } 
00121 };
00122 
00123 } // namespace message_traits
00124 } // namespace ros
00125 
00126 namespace ros
00127 {
00128 namespace serialization
00129 {
00130 
00131 template<class ContainerAllocator> struct Serializer< ::rve_msgs::Triangles_<ContainerAllocator> >
00132 {
00133   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00134   {
00135     stream.next(m.positions);
00136     stream.next(m.normals);
00137     stream.next(m.colors);
00138   }
00139 
00140   ROS_DECLARE_ALLINONE_SERIALIZER;
00141 }; // struct Triangles_
00142 } // namespace serialization
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace message_operations
00148 {
00149 
00150 template<class ContainerAllocator>
00151 struct Printer< ::rve_msgs::Triangles_<ContainerAllocator> >
00152 {
00153   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::rve_msgs::Triangles_<ContainerAllocator> & v) 
00154   {
00155     s << indent << "positions[]" << std::endl;
00156     for (size_t i = 0; i < v.positions.size(); ++i)
00157     {
00158       s << indent << "  positions[" << i << "]: ";
00159       s << std::endl;
00160       s << indent;
00161       Printer< ::rve_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "    ", v.positions[i]);
00162     }
00163     s << indent << "normals[]" << std::endl;
00164     for (size_t i = 0; i < v.normals.size(); ++i)
00165     {
00166       s << indent << "  normals[" << i << "]: ";
00167       s << std::endl;
00168       s << indent;
00169       Printer< ::rve_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "    ", v.normals[i]);
00170     }
00171     s << indent << "colors[]" << std::endl;
00172     for (size_t i = 0; i < v.colors.size(); ++i)
00173     {
00174       s << indent << "  colors[" << i << "]: ";
00175       s << std::endl;
00176       s << indent;
00177       Printer< ::std_msgs::ColorRGBA_<ContainerAllocator> >::stream(s, indent + "    ", v.colors[i]);
00178     }
00179   }
00180 };
00181 
00182 
00183 } // namespace message_operations
00184 } // namespace ros
00185 
00186 #endif // RVE_MSGS_MESSAGE_TRIANGLES_H
00187 


rve_msgs
Author(s): Josh Faust
autogenerated on Wed Dec 11 2013 14:30:39