Go to the documentation of this file.00001
00002
00003
00004
00005 #ifndef RVIZ_TEXTURED_QUADS_MESSAGE_TEXTUREDQUADARRAY_H
00006 #define RVIZ_TEXTURED_QUADS_MESSAGE_TEXTUREDQUADARRAY_H
00007
00008
00009 #include <string>
00010 #include <vector>
00011 #include <map>
00012
00013 #include <ros/types.h>
00014 #include <ros/serialization.h>
00015 #include <ros/builtin_message_traits.h>
00016 #include <ros/message_operations.h>
00017
00018 #include <rviz_textured_quads/TexturedQuad.h>
00019
00020 namespace rviz_textured_quads
00021 {
00022 template <class ContainerAllocator>
00023 struct TexturedQuadArray_
00024 {
00025 typedef TexturedQuadArray_<ContainerAllocator> Type;
00026
00027 TexturedQuadArray_()
00028 : quads() {
00029 }
00030 TexturedQuadArray_(const ContainerAllocator& _alloc)
00031 : quads(_alloc) {
00032 (void)_alloc;
00033 }
00034
00035
00036
00037 typedef std::vector< ::rviz_textured_quads::TexturedQuad_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::rviz_textured_quads::TexturedQuad_<ContainerAllocator> >::other > _quads_type;
00038 _quads_type quads;
00039
00040
00041
00042
00043 typedef boost::shared_ptr< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> const> ConstPtr;
00045
00046 };
00047
00048 typedef ::rviz_textured_quads::TexturedQuadArray_<std::allocator<void> > TexturedQuadArray;
00049
00050 typedef boost::shared_ptr< ::rviz_textured_quads::TexturedQuadArray > TexturedQuadArrayPtr;
00051 typedef boost::shared_ptr< ::rviz_textured_quads::TexturedQuadArray const> TexturedQuadArrayConstPtr;
00052
00053
00054
00055
00056
00057 template<typename ContainerAllocator>
00058 std::ostream& operator<<(std::ostream& s, const ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> & v)
00059 {
00060 ros::message_operations::Printer< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> >::stream(s, "", v);
00061 return s;
00062 }
00063
00064 }
00065
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081 template <class ContainerAllocator>
00082 struct IsFixedSize< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> >
00083 : FalseType
00084 { };
00085
00086 template <class ContainerAllocator>
00087 struct IsFixedSize< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> const>
00088 : FalseType
00089 { };
00090
00091 template <class ContainerAllocator>
00092 struct IsMessage< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> >
00093 : TrueType
00094 { };
00095
00096 template <class ContainerAllocator>
00097 struct IsMessage< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> const>
00098 : TrueType
00099 { };
00100
00101 template <class ContainerAllocator>
00102 struct HasHeader< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> >
00103 : FalseType
00104 { };
00105
00106 template <class ContainerAllocator>
00107 struct HasHeader< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> const>
00108 : FalseType
00109 { };
00110
00111
00112 template<class ContainerAllocator>
00113 struct MD5Sum< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> >
00114 {
00115 static const char* value()
00116 {
00117 return "8682a94b73fe5b827efa6a32bb422a7a";
00118 }
00119
00120 static const char* value(const ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator>&) { return value(); }
00121 static const uint64_t static_value1 = 0x8682a94b73fe5b82ULL;
00122 static const uint64_t static_value2 = 0x7efa6a32bb422a7aULL;
00123 };
00124
00125 template<class ContainerAllocator>
00126 struct DataType< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> >
00127 {
00128 static const char* value()
00129 {
00130 return "rviz_textured_quads/TexturedQuadArray";
00131 }
00132
00133 static const char* value(const ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator>&) { return value(); }
00134 };
00135
00136 template<class ContainerAllocator>
00137 struct Definition< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> >
00138 {
00139 static const char* value()
00140 {
00141 return "TexturedQuad[] quads \n\
00142 ================================================================================\n\
00143 MSG: rviz_textured_quads/TexturedQuad\n\
00144 sensor_msgs/Image image # texture \n\
00145 geometry_msgs/Pose pose # 6DOF pose of the center of the quad to be displayed\n\
00146 float32 width # physical width of the quad in Rviz unit (usually meters) \n\
00147 float32 height # physical height of the quad in Rviz unit (usually meters) \n\
00148 string caption # [OPTIONAL] text description to appear below the quad\n\
00149 float32 border_size # [OPTIONAL] size of the quad border\n\
00150 float32[] border_color # [OPTIONAL] (r,g,b,a) color value of the quad border (Size = 4) \n\
00151 ================================================================================\n\
00152 MSG: sensor_msgs/Image\n\
00153 # This message contains an uncompressed image\n\
00154 # (0, 0) is at top-left corner of image\n\
00155 #\n\
00156 \n\
00157 Header header # Header timestamp should be acquisition time of image\n\
00158 # Header frame_id should be optical frame of camera\n\
00159 # origin of frame should be optical center of cameara\n\
00160 # +x should point to the right in the image\n\
00161 # +y should point down in the image\n\
00162 # +z should point into to plane of the image\n\
00163 # If the frame_id here and the frame_id of the CameraInfo\n\
00164 # message associated with the image conflict\n\
00165 # the behavior is undefined\n\
00166 \n\
00167 uint32 height # image height, that is, number of rows\n\
00168 uint32 width # image width, that is, number of columns\n\
00169 \n\
00170 # The legal values for encoding are in file src/image_encodings.cpp\n\
00171 # If you want to standardize a new string format, join\n\
00172 # ros-users@lists.sourceforge.net and send an email proposing a new encoding.\n\
00173 \n\
00174 string encoding # Encoding of pixels -- channel meaning, ordering, size\n\
00175 # taken from the list of strings in include/sensor_msgs/image_encodings.h\n\
00176 \n\
00177 uint8 is_bigendian # is this data bigendian?\n\
00178 uint32 step # Full row length in bytes\n\
00179 uint8[] data # actual matrix data, size is (step * rows)\n\
00180 \n\
00181 ================================================================================\n\
00182 MSG: std_msgs/Header\n\
00183 # Standard metadata for higher-level stamped data types.\n\
00184 # This is generally used to communicate timestamped data \n\
00185 # in a particular coordinate frame.\n\
00186 # \n\
00187 # sequence ID: consecutively increasing ID \n\
00188 uint32 seq\n\
00189 #Two-integer timestamp that is expressed as:\n\
00190 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
00191 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
00192 # time-handling sugar is provided by the client library\n\
00193 time stamp\n\
00194 #Frame this data is associated with\n\
00195 # 0: no frame\n\
00196 # 1: global frame\n\
00197 string frame_id\n\
00198 \n\
00199 ================================================================================\n\
00200 MSG: geometry_msgs/Pose\n\
00201 # A representation of pose in free space, composed of postion and orientation. \n\
00202 Point position\n\
00203 Quaternion orientation\n\
00204 \n\
00205 ================================================================================\n\
00206 MSG: geometry_msgs/Point\n\
00207 # This contains the position of a point in free space\n\
00208 float64 x\n\
00209 float64 y\n\
00210 float64 z\n\
00211 \n\
00212 ================================================================================\n\
00213 MSG: geometry_msgs/Quaternion\n\
00214 # This represents an orientation in free space in quaternion form.\n\
00215 \n\
00216 float64 x\n\
00217 float64 y\n\
00218 float64 z\n\
00219 float64 w\n\
00220 ";
00221 }
00222
00223 static const char* value(const ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator>&) { return value(); }
00224 };
00225
00226 }
00227 }
00228
00229 namespace ros
00230 {
00231 namespace serialization
00232 {
00233
00234 template<class ContainerAllocator> struct Serializer< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> >
00235 {
00236 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00237 {
00238 stream.next(m.quads);
00239 }
00240
00241 ROS_DECLARE_ALLINONE_SERIALIZER
00242 };
00243
00244 }
00245 }
00246
00247 namespace ros
00248 {
00249 namespace message_operations
00250 {
00251
00252 template<class ContainerAllocator>
00253 struct Printer< ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator> >
00254 {
00255 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::rviz_textured_quads::TexturedQuadArray_<ContainerAllocator>& v)
00256 {
00257 s << indent << "quads[]" << std::endl;
00258 for (size_t i = 0; i < v.quads.size(); ++i)
00259 {
00260 s << indent << " quads[" << i << "]: ";
00261 s << std::endl;
00262 s << indent;
00263 Printer< ::rviz_textured_quads::TexturedQuad_<ContainerAllocator> >::stream(s, indent + " ", v.quads[i]);
00264 }
00265 }
00266 };
00267
00268 }
00269 }
00270
00271 #endif // RVIZ_TEXTURED_QUADS_MESSAGE_TEXTUREDQUADARRAY_H