PolygonMesh.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 // Generated by gencpp from file pcl_msgs/PolygonMesh.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef PCL_MSGS_MESSAGE_POLYGONMESH_H
7 #define PCL_MSGS_MESSAGE_POLYGONMESH_H
8 
9 
10 #include <string>
11 #include <vector>
12 #include <map>
13 
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
18 
19 #include <std_msgs/Header.h>
21 #include <pcl_msgs/Vertices.h>
22 
23 namespace pcl_msgs
24 {
25 template <class ContainerAllocator>
27 {
29 
31  : header()
32  , cloud()
33  , polygons() {
34  }
35  PolygonMesh_(const ContainerAllocator& _alloc)
36  : header(_alloc)
37  , cloud(_alloc)
38  , polygons(_alloc) {
39  (void)_alloc;
40  }
41 
42 
43 
44  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
46 
47  typedef ::sensor_msgs::PointCloud2_<ContainerAllocator> _cloud_type;
49 
50  typedef std::vector< ::pcl_msgs::Vertices_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::pcl_msgs::Vertices_<ContainerAllocator> >::other > _polygons_type;
52 
53 
54 
55 
56 
57  typedef std::shared_ptr< ::pcl_msgs::PolygonMesh_<ContainerAllocator> > Ptr;
58  typedef std::shared_ptr< ::pcl_msgs::PolygonMesh_<ContainerAllocator> const> ConstPtr;
59 
60 }; // struct PolygonMesh_
61 
62 typedef ::pcl_msgs::PolygonMesh_<std::allocator<void> > PolygonMesh;
63 
64 typedef std::shared_ptr< ::pcl_msgs::PolygonMesh > PolygonMeshPtr;
65 typedef std::shared_ptr< ::pcl_msgs::PolygonMesh const> PolygonMeshConstPtr;
66 
67 // constants requiring out of line definition
68 
69 
70 
71 template<typename ContainerAllocator>
72 std::ostream& operator<<(std::ostream& s, const ::pcl_msgs::PolygonMesh_<ContainerAllocator> & v)
73 {
75 return s;
76 }
77 
78 
79 template<typename ContainerAllocator1, typename ContainerAllocator2>
80 bool operator==(const ::pcl_msgs::PolygonMesh_<ContainerAllocator1> & lhs, const ::pcl_msgs::PolygonMesh_<ContainerAllocator2> & rhs)
81 {
82  return lhs.header == rhs.header &&
83  lhs.cloud == rhs.cloud &&
84  lhs.polygons == rhs.polygons;
85 }
86 
87 template<typename ContainerAllocator1, typename ContainerAllocator2>
88 bool operator!=(const ::pcl_msgs::PolygonMesh_<ContainerAllocator1> & lhs, const ::pcl_msgs::PolygonMesh_<ContainerAllocator2> & rhs)
89 {
90  return !(lhs == rhs);
91 }
92 
93 
94 } // namespace pcl_msgs
95 
96 namespace roswrap
97 {
98 namespace message_traits
99 {
100 
101 
102 
103 
104 
105 template <class ContainerAllocator>
106 struct IsFixedSize< ::pcl_msgs::PolygonMesh_<ContainerAllocator> >
107  : FalseType
108  { };
109 
110 template <class ContainerAllocator>
111 struct IsFixedSize< ::pcl_msgs::PolygonMesh_<ContainerAllocator> const>
112  : FalseType
113  { };
114 
115 template <class ContainerAllocator>
116 struct IsMessage< ::pcl_msgs::PolygonMesh_<ContainerAllocator> >
117  : TrueType
118  { };
119 
120 template <class ContainerAllocator>
121 struct IsMessage< ::pcl_msgs::PolygonMesh_<ContainerAllocator> const>
122  : TrueType
123  { };
124 
125 template <class ContainerAllocator>
126 struct HasHeader< ::pcl_msgs::PolygonMesh_<ContainerAllocator> >
127  : TrueType
128  { };
129 
130 template <class ContainerAllocator>
131 struct HasHeader< ::pcl_msgs::PolygonMesh_<ContainerAllocator> const>
132  : TrueType
133  { };
134 
135 
136 template<class ContainerAllocator>
137 struct MD5Sum< ::pcl_msgs::PolygonMesh_<ContainerAllocator> >
138 {
139  static const char* value()
140  {
141  return "45a5fc6ad2cde8489600a790acc9a38a";
142  }
143 
144  static const char* value(const ::pcl_msgs::PolygonMesh_<ContainerAllocator>&) { return value(); }
145  static const uint64_t static_value1 = 0x45a5fc6ad2cde848ULL;
146  static const uint64_t static_value2 = 0x9600a790acc9a38aULL;
147 };
148 
149 template<class ContainerAllocator>
150 struct DataType< ::pcl_msgs::PolygonMesh_<ContainerAllocator> >
151 {
152  static const char* value()
153  {
154  return "pcl_msgs/PolygonMesh";
155  }
156 
157  static const char* value(const ::pcl_msgs::PolygonMesh_<ContainerAllocator>&) { return value(); }
158 };
159 
160 template<class ContainerAllocator>
161 struct Definition< ::pcl_msgs::PolygonMesh_<ContainerAllocator> >
162 {
163  static const char* value()
164  {
165  return "# Separate header for the polygonal surface\n"
166 "Header header\n"
167 "# Vertices of the mesh as a point cloud\n"
168 "sensor_msgs/PointCloud2 cloud\n"
169 "# List of polygons\n"
170 "Vertices[] polygons\n"
171 "\n"
172 "================================================================================\n"
173 "MSG: std_msgs/Header\n"
174 "# Standard metadata for higher-level stamped data types.\n"
175 "# This is generally used to communicate timestamped data \n"
176 "# in a particular coordinate frame.\n"
177 "# \n"
178 "# sequence ID: consecutively increasing ID \n"
179 "uint32 seq\n"
180 "#Two-integer timestamp that is expressed as:\n"
181 "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n"
182 "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n"
183 "# time-handling sugar is provided by the client library\n"
184 "time stamp\n"
185 "#Frame this data is associated with\n"
186 "string frame_id\n"
187 "\n"
188 "================================================================================\n"
189 "MSG: sensor_msgs/PointCloud2\n"
190 "# This message holds a collection of N-dimensional points, which may\n"
191 "# contain additional information such as normals, intensity, etc. The\n"
192 "# point data is stored as a binary blob, its layout described by the\n"
193 "# contents of the \"fields\" array.\n"
194 "\n"
195 "# The point cloud data may be organized 2d (image-like) or 1d\n"
196 "# (unordered). Point clouds organized as 2d images may be produced by\n"
197 "# camera depth sensors such as stereo or time-of-flight.\n"
198 "\n"
199 "# Time of sensor data acquisition, and the coordinate frame ID (for 3d\n"
200 "# points).\n"
201 "Header header\n"
202 "\n"
203 "# 2D structure of the point cloud. If the cloud is unordered, height is\n"
204 "# 1 and width is the length of the point cloud.\n"
205 "uint32 height\n"
206 "uint32 width\n"
207 "\n"
208 "# Describes the channels and their layout in the binary data blob.\n"
209 "PointField[] fields\n"
210 "\n"
211 "bool is_bigendian # Is this data bigendian?\n"
212 "uint32 point_step # Length of a point in bytes\n"
213 "uint32 row_step # Length of a row in bytes\n"
214 "uint8[] data # Actual point data, size is (row_step*height)\n"
215 "\n"
216 "bool is_dense # True if there are no invalid points\n"
217 "\n"
218 "================================================================================\n"
219 "MSG: sensor_msgs/PointField\n"
220 "# This message holds the description of one point entry in the\n"
221 "# PointCloud2 message format.\n"
222 "uint8 INT8 = 1\n"
223 "uint8 UINT8 = 2\n"
224 "uint8 INT16 = 3\n"
225 "uint8 UINT16 = 4\n"
226 "uint8 INT32 = 5\n"
227 "uint8 UINT32 = 6\n"
228 "uint8 FLOAT32 = 7\n"
229 "uint8 FLOAT64 = 8\n"
230 "\n"
231 "string name # Name of field\n"
232 "uint32 offset # Offset from start of point struct\n"
233 "uint8 datatype # Datatype enumeration, see above\n"
234 "uint32 count # How many elements in the field\n"
235 "\n"
236 "================================================================================\n"
237 "MSG: pcl_msgs/Vertices\n"
238 "# List of point indices\n"
239 "uint32[] vertices\n"
240 ;
241  }
242 
243  static const char* value(const ::pcl_msgs::PolygonMesh_<ContainerAllocator>&) { return value(); }
244 };
245 
246 } // namespace message_traits
247 } // namespace roswrap
248 
249 namespace roswrap
250 {
251 namespace serialization
252 {
253 
254  template<class ContainerAllocator> struct Serializer< ::pcl_msgs::PolygonMesh_<ContainerAllocator> >
255  {
256  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
257  {
258  stream.next(m.header);
259  stream.next(m.cloud);
260  stream.next(m.polygons);
261  }
262 
264  }; // struct PolygonMesh_
265 
266 } // namespace serialization
267 } // namespace roswrap
268 
269 namespace roswrap
270 {
271 namespace message_operations
272 {
273 
274 template<class ContainerAllocator>
275 struct Printer< ::pcl_msgs::PolygonMesh_<ContainerAllocator> >
276 {
277  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pcl_msgs::PolygonMesh_<ContainerAllocator>& v)
278  {
279  s << indent << "header: ";
280  s << std::endl;
282  s << indent << "cloud: ";
283  s << std::endl;
285  s << indent << "polygons[]" << std::endl;
286  for (size_t i = 0; i < v.polygons.size(); ++i)
287  {
288  s << indent << " polygons[" << i << "]: ";
289  s << std::endl;
290  s << indent;
292  }
293  }
294 };
295 
296 } // namespace message_operations
297 } // namespace roswrap
298 
299 #endif // PCL_MSGS_MESSAGE_POLYGONMESH_H
roswrap::message_traits::FalseType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:89
pcl_msgs::PolygonMesh_
Definition: PolygonMesh.h:26
roswrap::message_traits::Definition< ::pcl_msgs::PolygonMesh_< ContainerAllocator > >::value
static const char * value(const ::pcl_msgs::PolygonMesh_< ContainerAllocator > &)
Definition: PolygonMesh.h:243
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
roswrap::message_traits::HasHeader
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
Definition: message_traits.h:107
roswrap::message_traits::Definition< ::pcl_msgs::PolygonMesh_< ContainerAllocator > >::value
static const char * value()
Definition: PolygonMesh.h:163
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
Vertices.h
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
roswrap::message_traits::IsFixedSize
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Definition: message_traits.h:103
pcl_msgs
Definition: ModelCoefficients.h:21
pcl_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::pcl_msgs::ModelCoefficients_< ContainerAllocator > &v)
Definition: ModelCoefficients.h:65
ros::message_operations::Printer
ROS_DECLARE_ALLINONE_SERIALIZER
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Definition: serialization.h:74
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
roswrap::serialization::Serializer< ::pcl_msgs::PolygonMesh_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: PolygonMesh.h:256
pcl_msgs::PolygonMesh_::Ptr
std::shared_ptr< ::pcl_msgs::PolygonMesh_< ContainerAllocator > > Ptr
Definition: PolygonMesh.h:57
PointCloud2.h
roswrap::message_traits::DataType< ::pcl_msgs::PolygonMesh_< ContainerAllocator > >::value
static const char * value()
Definition: PolygonMesh.h:152
pcl_msgs::PolygonMesh_::header
_header_type header
Definition: PolygonMesh.h:45
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
pcl_msgs::PolygonMesh_::ConstPtr
std::shared_ptr< ::pcl_msgs::PolygonMesh_< ContainerAllocator > const > ConstPtr
Definition: PolygonMesh.h:58
std_msgs::Header_
Definition: Header.h:23
roswrap::message_traits::DataType< ::pcl_msgs::PolygonMesh_< ContainerAllocator > >::value
static const char * value(const ::pcl_msgs::PolygonMesh_< ContainerAllocator > &)
Definition: PolygonMesh.h:157
pcl_msgs::PolygonMesh_::cloud
_cloud_type cloud
Definition: PolygonMesh.h:48
pcl_msgs::operator==
bool operator==(const ::pcl_msgs::ModelCoefficients_< ContainerAllocator1 > &lhs, const ::pcl_msgs::ModelCoefficients_< ContainerAllocator2 > &rhs)
Definition: ModelCoefficients.h:73
roswrap::message_traits::TrueType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:79
roswrap::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:118
sensor_msgs::PointCloud2_
Definition: PointCloud2.h:25
pcl_msgs::PolygonMesh
::pcl_msgs::PolygonMesh_< std::allocator< void > > PolygonMesh
Definition: PolygonMesh.h:62
pcl_msgs::PolygonMesh_::_header_type
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: PolygonMesh.h:44
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
pcl_msgs::PolygonMesh_::_cloud_type
::sensor_msgs::PointCloud2_< ContainerAllocator > _cloud_type
Definition: PolygonMesh.h:47
pcl_msgs::PolygonMesh_::PolygonMesh_
PolygonMesh_(const ContainerAllocator &_alloc)
Definition: PolygonMesh.h:35
pcl_msgs::PolygonMesh_::_polygons_type
std::vector< ::pcl_msgs::Vertices_< ContainerAllocator >, typename ContainerAllocator::template rebind< ::pcl_msgs::Vertices_< ContainerAllocator > >::other > _polygons_type
Definition: PolygonMesh.h:50
roswrap::message_traits::MD5Sum< ::pcl_msgs::PolygonMesh_< ContainerAllocator > >::value
static const char * value(const ::pcl_msgs::PolygonMesh_< ContainerAllocator > &)
Definition: PolygonMesh.h:144
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
pcl_msgs::PolygonMesh_::polygons
_polygons_type polygons
Definition: PolygonMesh.h:51
pcl_msgs::PolygonMesh_::PolygonMesh_
PolygonMesh_()
Definition: PolygonMesh.h:30
pcl_msgs::PolygonMesh_::Type
PolygonMesh_< ContainerAllocator > Type
Definition: PolygonMesh.h:28
Header.h
pcl_msgs::operator!=
bool operator!=(const ::pcl_msgs::ModelCoefficients_< ContainerAllocator1 > &lhs, const ::pcl_msgs::ModelCoefficients_< ContainerAllocator2 > &rhs)
Definition: ModelCoefficients.h:80
roswrap::message_traits::MD5Sum< ::pcl_msgs::PolygonMesh_< ContainerAllocator > >::value
static const char * value()
Definition: PolygonMesh.h:139
pcl_msgs::PolygonMeshConstPtr
std::shared_ptr< ::pcl_msgs::PolygonMesh const > PolygonMeshConstPtr
Definition: PolygonMesh.h:65
pcl_msgs::PolygonMeshPtr
std::shared_ptr< ::pcl_msgs::PolygonMesh > PolygonMeshPtr
Definition: PolygonMesh.h:64
roswrap::message_operations::Printer< ::pcl_msgs::PolygonMesh_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::pcl_msgs::PolygonMesh_< ContainerAllocator > &v)
Definition: PolygonMesh.h:277


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09