Points.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/Points.msg */
00002 #ifndef RVE_MSGS_MESSAGE_POINTS_H
00003 #define RVE_MSGS_MESSAGE_POINTS_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 "rve_msgs/Vector3.h"
00020 #include "rve_msgs/Vector3.h"
00021 #include "rve_msgs/Quaternion.h"
00022 #include "std_msgs/ColorRGBA.h"
00023 
00024 namespace rve_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct Points_ {
00028   typedef Points_<ContainerAllocator> Type;
00029 
00030   Points_()
00031   : type(0)
00032   , scale()
00033   , positions()
00034   , normals()
00035   , scales()
00036   , orientations()
00037   , colors()
00038   {
00039   }
00040 
00041   Points_(const ContainerAllocator& _alloc)
00042   : type(0)
00043   , scale(_alloc)
00044   , positions(_alloc)
00045   , normals(_alloc)
00046   , scales(_alloc)
00047   , orientations(_alloc)
00048   , colors(_alloc)
00049   {
00050   }
00051 
00052   typedef uint8_t _type_type;
00053   uint8_t type;
00054 
00055   typedef  ::rve_msgs::Vector3_<ContainerAllocator>  _scale_type;
00056    ::rve_msgs::Vector3_<ContainerAllocator>  scale;
00057 
00058   typedef std::vector< ::rve_msgs::Vector3_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::rve_msgs::Vector3_<ContainerAllocator> >::other >  _positions_type;
00059   std::vector< ::rve_msgs::Vector3_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::rve_msgs::Vector3_<ContainerAllocator> >::other >  positions;
00060 
00061   typedef std::vector< ::rve_msgs::Vector3_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::rve_msgs::Vector3_<ContainerAllocator> >::other >  _normals_type;
00062   std::vector< ::rve_msgs::Vector3_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::rve_msgs::Vector3_<ContainerAllocator> >::other >  normals;
00063 
00064   typedef std::vector< ::rve_msgs::Vector3_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::rve_msgs::Vector3_<ContainerAllocator> >::other >  _scales_type;
00065   std::vector< ::rve_msgs::Vector3_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::rve_msgs::Vector3_<ContainerAllocator> >::other >  scales;
00066 
00067   typedef std::vector< ::rve_msgs::Quaternion_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::rve_msgs::Quaternion_<ContainerAllocator> >::other >  _orientations_type;
00068   std::vector< ::rve_msgs::Quaternion_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::rve_msgs::Quaternion_<ContainerAllocator> >::other >  orientations;
00069 
00070   typedef std::vector< ::std_msgs::ColorRGBA_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::std_msgs::ColorRGBA_<ContainerAllocator> >::other >  _colors_type;
00071   std::vector< ::std_msgs::ColorRGBA_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::std_msgs::ColorRGBA_<ContainerAllocator> >::other >  colors;
00072 
00073   enum { TYPE_POINTS = 0 };
00074   enum { TYPE_BILLBOARDS = 1 };
00075   enum { TYPE_BILLBOARD_SPHERES = 2 };
00076   enum { TYPE_BOXES = 3 };
00077 
00078   typedef boost::shared_ptr< ::rve_msgs::Points_<ContainerAllocator> > Ptr;
00079   typedef boost::shared_ptr< ::rve_msgs::Points_<ContainerAllocator>  const> ConstPtr;
00080   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00081 }; // struct Points
00082 typedef  ::rve_msgs::Points_<std::allocator<void> > Points;
00083 
00084 typedef boost::shared_ptr< ::rve_msgs::Points> PointsPtr;
00085 typedef boost::shared_ptr< ::rve_msgs::Points const> PointsConstPtr;
00086 
00087 
00088 template<typename ContainerAllocator>
00089 std::ostream& operator<<(std::ostream& s, const  ::rve_msgs::Points_<ContainerAllocator> & v)
00090 {
00091   ros::message_operations::Printer< ::rve_msgs::Points_<ContainerAllocator> >::stream(s, "", v);
00092   return s;}
00093 
00094 } // namespace rve_msgs
00095 
00096 namespace ros
00097 {
00098 namespace message_traits
00099 {
00100 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::Points_<ContainerAllocator> > : public TrueType {};
00101 template<class ContainerAllocator> struct IsMessage< ::rve_msgs::Points_<ContainerAllocator>  const> : public TrueType {};
00102 template<class ContainerAllocator>
00103 struct MD5Sum< ::rve_msgs::Points_<ContainerAllocator> > {
00104   static const char* value() 
00105   {
00106     return "74cfd9b96bfbb40c5e9f79498734e737";
00107   }
00108 
00109   static const char* value(const  ::rve_msgs::Points_<ContainerAllocator> &) { return value(); } 
00110   static const uint64_t static_value1 = 0x74cfd9b96bfbb40cULL;
00111   static const uint64_t static_value2 = 0x5e9f79498734e737ULL;
00112 };
00113 
00114 template<class ContainerAllocator>
00115 struct DataType< ::rve_msgs::Points_<ContainerAllocator> > {
00116   static const char* value() 
00117   {
00118     return "rve_msgs/Points";
00119   }
00120 
00121   static const char* value(const  ::rve_msgs::Points_<ContainerAllocator> &) { return value(); } 
00122 };
00123 
00124 template<class ContainerAllocator>
00125 struct Definition< ::rve_msgs::Points_<ContainerAllocator> > {
00126   static const char* value() 
00127   {
00128     return "uint8 TYPE_POINTS = 0\n\
00129 uint8 TYPE_BILLBOARDS = 1\n\
00130 uint8 TYPE_BILLBOARD_SPHERES = 2\n\
00131 uint8 TYPE_BOXES = 3\n\
00132 \n\
00133 uint8 type\n\
00134 Vector3 scale\n\
00135 \n\
00136 Vector3[] positions\n\
00137 Vector3[] normals\n\
00138 Vector3[] scales\n\
00139 Quaternion[] orientations\n\
00140 std_msgs/ColorRGBA[] colors\n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: rve_msgs/Vector3\n\
00144 float32 x\n\
00145 float32 y\n\
00146 float32 z\n\
00147 \n\
00148 ================================================================================\n\
00149 MSG: rve_msgs/Quaternion\n\
00150 float32 x\n\
00151 float32 y\n\
00152 float32 z\n\
00153 float32 w\n\
00154 \n\
00155 ================================================================================\n\
00156 MSG: std_msgs/ColorRGBA\n\
00157 float32 r\n\
00158 float32 g\n\
00159 float32 b\n\
00160 float32 a\n\
00161 \n\
00162 ";
00163   }
00164 
00165   static const char* value(const  ::rve_msgs::Points_<ContainerAllocator> &) { return value(); } 
00166 };
00167 
00168 } // namespace message_traits
00169 } // namespace ros
00170 
00171 namespace ros
00172 {
00173 namespace serialization
00174 {
00175 
00176 template<class ContainerAllocator> struct Serializer< ::rve_msgs::Points_<ContainerAllocator> >
00177 {
00178   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00179   {
00180     stream.next(m.type);
00181     stream.next(m.scale);
00182     stream.next(m.positions);
00183     stream.next(m.normals);
00184     stream.next(m.scales);
00185     stream.next(m.orientations);
00186     stream.next(m.colors);
00187   }
00188 
00189   ROS_DECLARE_ALLINONE_SERIALIZER;
00190 }; // struct Points_
00191 } // namespace serialization
00192 } // namespace ros
00193 
00194 namespace ros
00195 {
00196 namespace message_operations
00197 {
00198 
00199 template<class ContainerAllocator>
00200 struct Printer< ::rve_msgs::Points_<ContainerAllocator> >
00201 {
00202   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::rve_msgs::Points_<ContainerAllocator> & v) 
00203   {
00204     s << indent << "type: ";
00205     Printer<uint8_t>::stream(s, indent + "  ", v.type);
00206     s << indent << "scale: ";
00207 s << std::endl;
00208     Printer< ::rve_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "  ", v.scale);
00209     s << indent << "positions[]" << std::endl;
00210     for (size_t i = 0; i < v.positions.size(); ++i)
00211     {
00212       s << indent << "  positions[" << i << "]: ";
00213       s << std::endl;
00214       s << indent;
00215       Printer< ::rve_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "    ", v.positions[i]);
00216     }
00217     s << indent << "normals[]" << std::endl;
00218     for (size_t i = 0; i < v.normals.size(); ++i)
00219     {
00220       s << indent << "  normals[" << i << "]: ";
00221       s << std::endl;
00222       s << indent;
00223       Printer< ::rve_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "    ", v.normals[i]);
00224     }
00225     s << indent << "scales[]" << std::endl;
00226     for (size_t i = 0; i < v.scales.size(); ++i)
00227     {
00228       s << indent << "  scales[" << i << "]: ";
00229       s << std::endl;
00230       s << indent;
00231       Printer< ::rve_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "    ", v.scales[i]);
00232     }
00233     s << indent << "orientations[]" << std::endl;
00234     for (size_t i = 0; i < v.orientations.size(); ++i)
00235     {
00236       s << indent << "  orientations[" << i << "]: ";
00237       s << std::endl;
00238       s << indent;
00239       Printer< ::rve_msgs::Quaternion_<ContainerAllocator> >::stream(s, indent + "    ", v.orientations[i]);
00240     }
00241     s << indent << "colors[]" << std::endl;
00242     for (size_t i = 0; i < v.colors.size(); ++i)
00243     {
00244       s << indent << "  colors[" << i << "]: ";
00245       s << std::endl;
00246       s << indent;
00247       Printer< ::std_msgs::ColorRGBA_<ContainerAllocator> >::stream(s, indent + "    ", v.colors[i]);
00248     }
00249   }
00250 };
00251 
00252 
00253 } // namespace message_operations
00254 } // namespace ros
00255 
00256 #endif // RVE_MSGS_MESSAGE_POINTS_H
00257 


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