Ignition Msgs

API Reference

5.6.0
geometry.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/geometry.proto
3 
4 #ifndef PROTOBUF_ignition_2fmsgs_2fgeometry_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fgeometry_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3000000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3000000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/generated_enum_reflection.h>
30 #include <google/protobuf/unknown_field_set.h>
41 #ifndef _MSC_VER
42 #pragma GCC system_header
43 #else
44 #pragma warning(push)
45 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
46 #endif
47 #ifdef __linux__
48 #include <sys/sysmacros.h>
49 #endif
50 #include <memory>
51 #include <ignition/msgs/Export.hh>
52 // @@protoc_insertion_point(includes)
53 
54 namespace ignition {
55 namespace msgs {
56 
57 // Internal implementation detail -- do not call these.
58 void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fgeometry_2eproto();
61 
62 class Geometry;
63 
78 };
79 IGNITION_MSGS_VISIBLE bool Geometry_Type_IsValid(int value);
82 const int Geometry_Type_Type_ARRAYSIZE = Geometry_Type_Type_MAX + 1;
83 
84 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Geometry_Type_descriptor();
85 inline const ::std::string& Geometry_Type_Name(Geometry_Type value) {
86  return ::google::protobuf::internal::NameOfEnum(
87  Geometry_Type_descriptor(), value);
88 }
89 inline bool Geometry_Type_Parse(
90  const ::std::string& name, Geometry_Type* value) {
91  return ::google::protobuf::internal::ParseNamedEnum<Geometry_Type>(
92  Geometry_Type_descriptor(), name, value);
93 }
94 // ===================================================================
95 
96 class IGNITION_MSGS_VISIBLE Geometry : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Geometry) */ {
97  public:
98  Geometry();
99  virtual ~Geometry();
100 
101  Geometry(const Geometry& from);
102 
103  inline Geometry& operator=(const Geometry& from) {
104  CopyFrom(from);
105  return *this;
106  }
107 
108  static const ::google::protobuf::Descriptor* descriptor();
109  static const Geometry& default_instance();
110 
111  void Swap(Geometry* other);
112 
113  // implements Message ----------------------------------------------
114 
115  inline Geometry* New() const { return New(NULL); }
116 
117  Geometry* New(::google::protobuf::Arena* arena) const;
118  void CopyFrom(const ::google::protobuf::Message& from);
119  void MergeFrom(const ::google::protobuf::Message& from);
120  void CopyFrom(const Geometry& from);
121  void MergeFrom(const Geometry& from);
122  void Clear();
123  bool IsInitialized() const;
124 
125  int ByteSize() const;
126  bool MergePartialFromCodedStream(
127  ::google::protobuf::io::CodedInputStream* input);
128  void SerializeWithCachedSizes(
129  ::google::protobuf::io::CodedOutputStream* output) const;
130  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
131  bool deterministic, ::google::protobuf::uint8* output) const;
132  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
133  return InternalSerializeWithCachedSizesToArray(false, output);
134  }
135  int GetCachedSize() const { return _cached_size_; }
136  private:
137  void SharedCtor();
138  void SharedDtor();
139  void SetCachedSize(int size) const;
140  void InternalSwap(Geometry* other);
141  private:
142  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
143  return _internal_metadata_.arena();
144  }
145  inline void* MaybeArenaPtr() const {
146  return _internal_metadata_.raw_arena_ptr();
147  }
148  public:
149 
150  ::google::protobuf::Metadata GetMetadata() const;
151 
152  // nested types ----------------------------------------------------
153 
155  static const Type BOX =
157  static const Type CYLINDER =
159  static const Type SPHERE =
161  static const Type PLANE =
163  static const Type IMAGE =
165  static const Type HEIGHTMAP =
167  static const Type MESH =
169  static const Type TRIANGLE_FAN =
171  static const Type LINE_STRIP =
173  static const Type POLYLINE =
175  static const Type EMPTY =
177  static inline bool Type_IsValid(int value) {
178  return Geometry_Type_IsValid(value);
179  }
180  static const Type Type_MIN =
182  static const Type Type_MAX =
184  static const int Type_ARRAYSIZE =
186  static inline const ::google::protobuf::EnumDescriptor*
188  return Geometry_Type_descriptor();
189  }
190  static inline const ::std::string& Type_Name(Type value) {
191  return Geometry_Type_Name(value);
192  }
193  static inline bool Type_Parse(const ::std::string& name,
194  Type* value) {
195  return Geometry_Type_Parse(name, value);
196  }
197 
198  // accessors -------------------------------------------------------
199 
200  // optional .ignition.msgs.Header header = 1;
201  bool has_header() const;
202  void clear_header();
203  static const int kHeaderFieldNumber = 1;
204  const ::ignition::msgs::Header& header() const;
205  ::ignition::msgs::Header* mutable_header();
206  ::ignition::msgs::Header* release_header();
207  void set_allocated_header(::ignition::msgs::Header* header);
208 
209  // optional .ignition.msgs.Geometry.Type type = 2;
210  void clear_type();
211  static const int kTypeFieldNumber = 2;
212  ::ignition::msgs::Geometry_Type type() const;
213  void set_type(::ignition::msgs::Geometry_Type value);
214 
215  // optional .ignition.msgs.BoxGeom box = 3;
216  bool has_box() const;
217  void clear_box();
218  static const int kBoxFieldNumber = 3;
219  const ::ignition::msgs::BoxGeom& box() const;
220  ::ignition::msgs::BoxGeom* mutable_box();
221  ::ignition::msgs::BoxGeom* release_box();
222  void set_allocated_box(::ignition::msgs::BoxGeom* box);
223 
224  // optional .ignition.msgs.CylinderGeom cylinder = 4;
225  bool has_cylinder() const;
226  void clear_cylinder();
227  static const int kCylinderFieldNumber = 4;
228  const ::ignition::msgs::CylinderGeom& cylinder() const;
229  ::ignition::msgs::CylinderGeom* mutable_cylinder();
230  ::ignition::msgs::CylinderGeom* release_cylinder();
231  void set_allocated_cylinder(::ignition::msgs::CylinderGeom* cylinder);
232 
233  // optional .ignition.msgs.PlaneGeom plane = 5;
234  bool has_plane() const;
235  void clear_plane();
236  static const int kPlaneFieldNumber = 5;
237  const ::ignition::msgs::PlaneGeom& plane() const;
238  ::ignition::msgs::PlaneGeom* mutable_plane();
239  ::ignition::msgs::PlaneGeom* release_plane();
240  void set_allocated_plane(::ignition::msgs::PlaneGeom* plane);
241 
242  // optional .ignition.msgs.SphereGeom sphere = 6;
243  bool has_sphere() const;
244  void clear_sphere();
245  static const int kSphereFieldNumber = 6;
246  const ::ignition::msgs::SphereGeom& sphere() const;
247  ::ignition::msgs::SphereGeom* mutable_sphere();
248  ::ignition::msgs::SphereGeom* release_sphere();
249  void set_allocated_sphere(::ignition::msgs::SphereGeom* sphere);
250 
251  // optional .ignition.msgs.ImageGeom image = 7;
252  bool has_image() const;
253  void clear_image();
254  static const int kImageFieldNumber = 7;
255  const ::ignition::msgs::ImageGeom& image() const;
256  ::ignition::msgs::ImageGeom* mutable_image();
257  ::ignition::msgs::ImageGeom* release_image();
258  void set_allocated_image(::ignition::msgs::ImageGeom* image);
259 
260  // optional .ignition.msgs.HeightmapGeom heightmap = 8;
261  bool has_heightmap() const;
262  void clear_heightmap();
263  static const int kHeightmapFieldNumber = 8;
264  const ::ignition::msgs::HeightmapGeom& heightmap() const;
265  ::ignition::msgs::HeightmapGeom* mutable_heightmap();
266  ::ignition::msgs::HeightmapGeom* release_heightmap();
267  void set_allocated_heightmap(::ignition::msgs::HeightmapGeom* heightmap);
268 
269  // optional .ignition.msgs.MeshGeom mesh = 9;
270  bool has_mesh() const;
271  void clear_mesh();
272  static const int kMeshFieldNumber = 9;
273  const ::ignition::msgs::MeshGeom& mesh() const;
274  ::ignition::msgs::MeshGeom* mutable_mesh();
275  ::ignition::msgs::MeshGeom* release_mesh();
276  void set_allocated_mesh(::ignition::msgs::MeshGeom* mesh);
277 
278  // repeated .ignition.msgs.Vector3d points = 10;
279  int points_size() const;
280  void clear_points();
281  static const int kPointsFieldNumber = 10;
282  const ::ignition::msgs::Vector3d& points(int index) const;
283  ::ignition::msgs::Vector3d* mutable_points(int index);
284  ::ignition::msgs::Vector3d* add_points();
285  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >*
286  mutable_points();
287  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >&
288  points() const;
289 
290  // repeated .ignition.msgs.Polyline polyline = 11;
291  int polyline_size() const;
292  void clear_polyline();
293  static const int kPolylineFieldNumber = 11;
294  const ::ignition::msgs::Polyline& polyline(int index) const;
295  ::ignition::msgs::Polyline* mutable_polyline(int index);
296  ::ignition::msgs::Polyline* add_polyline();
297  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Polyline >*
298  mutable_polyline();
299  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Polyline >&
300  polyline() const;
301 
302  // @@protoc_insertion_point(class_scope:ignition.msgs.Geometry)
303  private:
304 
305  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
306  bool _is_default_instance_;
307  ::ignition::msgs::Header* header_;
315  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > points_;
316  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Polyline > polyline_;
317  int type_;
318  mutable int _cached_size_;
319  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fgeometry_2eproto();
322 
323  void InitAsDefaultInstance();
324  static Geometry* default_instance_;
325 };
326 // ===================================================================
327 
328 
329 // ===================================================================
330 
331 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
332 // Geometry
333 
334 // optional .ignition.msgs.Header header = 1;
335 inline bool Geometry::has_header() const {
336  return !_is_default_instance_ && header_ != NULL;
337 }
338 inline void Geometry::clear_header() {
339  if (GetArenaNoVirtual() == NULL && header_ != NULL) delete header_;
340  header_ = NULL;
341 }
342 inline const ::ignition::msgs::Header& Geometry::header() const {
343  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.header)
344  return header_ != NULL ? *header_ : *default_instance_->header_;
345 }
346 inline ::ignition::msgs::Header* Geometry::mutable_header() {
347 
348  if (header_ == NULL) {
349  header_ = new ::ignition::msgs::Header;
350  }
351  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.header)
352  return header_;
353 }
354 inline ::ignition::msgs::Header* Geometry::release_header() {
355  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.header)
356 
357  ::ignition::msgs::Header* temp = header_;
358  header_ = NULL;
359  return temp;
360 }
362  delete header_;
363  header_ = header;
364  if (header) {
365 
366  } else {
367 
368  }
369  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.header)
370 }
371 
372 // optional .ignition.msgs.Geometry.Type type = 2;
373 inline void Geometry::clear_type() {
374  type_ = 0;
375 }
377  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.type)
378  return static_cast< ::ignition::msgs::Geometry_Type >(type_);
379 }
381 
382  type_ = value;
383  // @@protoc_insertion_point(field_set:ignition.msgs.Geometry.type)
384 }
385 
386 // optional .ignition.msgs.BoxGeom box = 3;
387 inline bool Geometry::has_box() const {
388  return !_is_default_instance_ && box_ != NULL;
389 }
390 inline void Geometry::clear_box() {
391  if (GetArenaNoVirtual() == NULL && box_ != NULL) delete box_;
392  box_ = NULL;
393 }
394 inline const ::ignition::msgs::BoxGeom& Geometry::box() const {
395  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.box)
396  return box_ != NULL ? *box_ : *default_instance_->box_;
397 }
398 inline ::ignition::msgs::BoxGeom* Geometry::mutable_box() {
399 
400  if (box_ == NULL) {
401  box_ = new ::ignition::msgs::BoxGeom;
402  }
403  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.box)
404  return box_;
405 }
406 inline ::ignition::msgs::BoxGeom* Geometry::release_box() {
407  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.box)
408 
409  ::ignition::msgs::BoxGeom* temp = box_;
410  box_ = NULL;
411  return temp;
412 }
414  delete box_;
415  box_ = box;
416  if (box) {
417 
418  } else {
419 
420  }
421  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.box)
422 }
423 
424 // optional .ignition.msgs.CylinderGeom cylinder = 4;
425 inline bool Geometry::has_cylinder() const {
426  return !_is_default_instance_ && cylinder_ != NULL;
427 }
429  if (GetArenaNoVirtual() == NULL && cylinder_ != NULL) delete cylinder_;
430  cylinder_ = NULL;
431 }
432 inline const ::ignition::msgs::CylinderGeom& Geometry::cylinder() const {
433  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.cylinder)
434  return cylinder_ != NULL ? *cylinder_ : *default_instance_->cylinder_;
435 }
436 inline ::ignition::msgs::CylinderGeom* Geometry::mutable_cylinder() {
437 
438  if (cylinder_ == NULL) {
439  cylinder_ = new ::ignition::msgs::CylinderGeom;
440  }
441  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.cylinder)
442  return cylinder_;
443 }
444 inline ::ignition::msgs::CylinderGeom* Geometry::release_cylinder() {
445  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.cylinder)
446 
447  ::ignition::msgs::CylinderGeom* temp = cylinder_;
448  cylinder_ = NULL;
449  return temp;
450 }
452  delete cylinder_;
453  cylinder_ = cylinder;
454  if (cylinder) {
455 
456  } else {
457 
458  }
459  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.cylinder)
460 }
461 
462 // optional .ignition.msgs.PlaneGeom plane = 5;
463 inline bool Geometry::has_plane() const {
464  return !_is_default_instance_ && plane_ != NULL;
465 }
466 inline void Geometry::clear_plane() {
467  if (GetArenaNoVirtual() == NULL && plane_ != NULL) delete plane_;
468  plane_ = NULL;
469 }
470 inline const ::ignition::msgs::PlaneGeom& Geometry::plane() const {
471  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.plane)
472  return plane_ != NULL ? *plane_ : *default_instance_->plane_;
473 }
474 inline ::ignition::msgs::PlaneGeom* Geometry::mutable_plane() {
475 
476  if (plane_ == NULL) {
477  plane_ = new ::ignition::msgs::PlaneGeom;
478  }
479  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.plane)
480  return plane_;
481 }
482 inline ::ignition::msgs::PlaneGeom* Geometry::release_plane() {
483  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.plane)
484 
485  ::ignition::msgs::PlaneGeom* temp = plane_;
486  plane_ = NULL;
487  return temp;
488 }
490  delete plane_;
491  plane_ = plane;
492  if (plane) {
493 
494  } else {
495 
496  }
497  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.plane)
498 }
499 
500 // optional .ignition.msgs.SphereGeom sphere = 6;
501 inline bool Geometry::has_sphere() const {
502  return !_is_default_instance_ && sphere_ != NULL;
503 }
504 inline void Geometry::clear_sphere() {
505  if (GetArenaNoVirtual() == NULL && sphere_ != NULL) delete sphere_;
506  sphere_ = NULL;
507 }
508 inline const ::ignition::msgs::SphereGeom& Geometry::sphere() const {
509  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.sphere)
510  return sphere_ != NULL ? *sphere_ : *default_instance_->sphere_;
511 }
512 inline ::ignition::msgs::SphereGeom* Geometry::mutable_sphere() {
513 
514  if (sphere_ == NULL) {
515  sphere_ = new ::ignition::msgs::SphereGeom;
516  }
517  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.sphere)
518  return sphere_;
519 }
520 inline ::ignition::msgs::SphereGeom* Geometry::release_sphere() {
521  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.sphere)
522 
523  ::ignition::msgs::SphereGeom* temp = sphere_;
524  sphere_ = NULL;
525  return temp;
526 }
528  delete sphere_;
529  sphere_ = sphere;
530  if (sphere) {
531 
532  } else {
533 
534  }
535  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.sphere)
536 }
537 
538 // optional .ignition.msgs.ImageGeom image = 7;
539 inline bool Geometry::has_image() const {
540  return !_is_default_instance_ && image_ != NULL;
541 }
542 inline void Geometry::clear_image() {
543  if (GetArenaNoVirtual() == NULL && image_ != NULL) delete image_;
544  image_ = NULL;
545 }
546 inline const ::ignition::msgs::ImageGeom& Geometry::image() const {
547  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.image)
548  return image_ != NULL ? *image_ : *default_instance_->image_;
549 }
550 inline ::ignition::msgs::ImageGeom* Geometry::mutable_image() {
551 
552  if (image_ == NULL) {
553  image_ = new ::ignition::msgs::ImageGeom;
554  }
555  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.image)
556  return image_;
557 }
558 inline ::ignition::msgs::ImageGeom* Geometry::release_image() {
559  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.image)
560 
561  ::ignition::msgs::ImageGeom* temp = image_;
562  image_ = NULL;
563  return temp;
564 }
566  delete image_;
567  image_ = image;
568  if (image) {
569 
570  } else {
571 
572  }
573  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.image)
574 }
575 
576 // optional .ignition.msgs.HeightmapGeom heightmap = 8;
577 inline bool Geometry::has_heightmap() const {
578  return !_is_default_instance_ && heightmap_ != NULL;
579 }
581  if (GetArenaNoVirtual() == NULL && heightmap_ != NULL) delete heightmap_;
582  heightmap_ = NULL;
583 }
584 inline const ::ignition::msgs::HeightmapGeom& Geometry::heightmap() const {
585  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.heightmap)
586  return heightmap_ != NULL ? *heightmap_ : *default_instance_->heightmap_;
587 }
588 inline ::ignition::msgs::HeightmapGeom* Geometry::mutable_heightmap() {
589 
590  if (heightmap_ == NULL) {
591  heightmap_ = new ::ignition::msgs::HeightmapGeom;
592  }
593  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.heightmap)
594  return heightmap_;
595 }
596 inline ::ignition::msgs::HeightmapGeom* Geometry::release_heightmap() {
597  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.heightmap)
598 
599  ::ignition::msgs::HeightmapGeom* temp = heightmap_;
600  heightmap_ = NULL;
601  return temp;
602 }
604  delete heightmap_;
605  heightmap_ = heightmap;
606  if (heightmap) {
607 
608  } else {
609 
610  }
611  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.heightmap)
612 }
613 
614 // optional .ignition.msgs.MeshGeom mesh = 9;
615 inline bool Geometry::has_mesh() const {
616  return !_is_default_instance_ && mesh_ != NULL;
617 }
618 inline void Geometry::clear_mesh() {
619  if (GetArenaNoVirtual() == NULL && mesh_ != NULL) delete mesh_;
620  mesh_ = NULL;
621 }
622 inline const ::ignition::msgs::MeshGeom& Geometry::mesh() const {
623  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.mesh)
624  return mesh_ != NULL ? *mesh_ : *default_instance_->mesh_;
625 }
626 inline ::ignition::msgs::MeshGeom* Geometry::mutable_mesh() {
627 
628  if (mesh_ == NULL) {
629  mesh_ = new ::ignition::msgs::MeshGeom;
630  }
631  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.mesh)
632  return mesh_;
633 }
634 inline ::ignition::msgs::MeshGeom* Geometry::release_mesh() {
635  // @@protoc_insertion_point(field_release:ignition.msgs.Geometry.mesh)
636 
637  ::ignition::msgs::MeshGeom* temp = mesh_;
638  mesh_ = NULL;
639  return temp;
640 }
642  delete mesh_;
643  mesh_ = mesh;
644  if (mesh) {
645 
646  } else {
647 
648  }
649  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Geometry.mesh)
650 }
651 
652 // repeated .ignition.msgs.Vector3d points = 10;
653 inline int Geometry::points_size() const {
654  return points_.size();
655 }
656 inline void Geometry::clear_points() {
657  points_.Clear();
658 }
659 inline const ::ignition::msgs::Vector3d& Geometry::points(int index) const {
660  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.points)
661  return points_.Get(index);
662 }
663 inline ::ignition::msgs::Vector3d* Geometry::mutable_points(int index) {
664  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.points)
665  return points_.Mutable(index);
666 }
667 inline ::ignition::msgs::Vector3d* Geometry::add_points() {
668  // @@protoc_insertion_point(field_add:ignition.msgs.Geometry.points)
669  return points_.Add();
670 }
671 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >*
673  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Geometry.points)
674  return &points_;
675 }
676 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d >&
678  // @@protoc_insertion_point(field_list:ignition.msgs.Geometry.points)
679  return points_;
680 }
681 
682 // repeated .ignition.msgs.Polyline polyline = 11;
683 inline int Geometry::polyline_size() const {
684  return polyline_.size();
685 }
687  polyline_.Clear();
688 }
689 inline const ::ignition::msgs::Polyline& Geometry::polyline(int index) const {
690  // @@protoc_insertion_point(field_get:ignition.msgs.Geometry.polyline)
691  return polyline_.Get(index);
692 }
693 inline ::ignition::msgs::Polyline* Geometry::mutable_polyline(int index) {
694  // @@protoc_insertion_point(field_mutable:ignition.msgs.Geometry.polyline)
695  return polyline_.Mutable(index);
696 }
697 inline ::ignition::msgs::Polyline* Geometry::add_polyline() {
698  // @@protoc_insertion_point(field_add:ignition.msgs.Geometry.polyline)
699  return polyline_.Add();
700 }
701 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Polyline >*
703  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Geometry.polyline)
704  return &polyline_;
705 }
706 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Polyline >&
708  // @@protoc_insertion_point(field_list:ignition.msgs.Geometry.polyline)
709  return polyline_;
710 }
711 
712 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
713 
718 // @@protoc_insertion_point(namespace_scope)
719 
720 } // namespace msgs
721 } // namespace ignition
722 
723 #ifndef SWIG
724 namespace google {
725 namespace protobuf {
726 
727 template <> struct is_proto_enum< ::ignition::msgs::Geometry_Type> : ::google::protobuf::internal::true_type {};
728 template <>
729 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Geometry_Type>() {
731 }
732 
733 } // namespace protobuf
734 } // namespace google
735 #endif // SWIG
736 
737 #ifdef _MSC_VER
738 #pragma warning(pop)
739 #endif
740 // @@protoc_insertion_point(global_scope)
741 
742 #endif // PROTOBUF_ignition_2fmsgs_2fgeometry_2eproto__INCLUDED
const ::std::string & Geometry_Type_Name(Geometry_Type value)
Definition: geometry.pb.h:85
void clear_cylinder()
Definition: geometry.pb.h:428
Definition: planegeom.pb.h:58
::ignition::msgs::MeshGeom * mutable_mesh()
Definition: geometry.pb.h:626
void clear_type()
Definition: geometry.pb.h:373
void set_type(::ignition::msgs::Geometry_Type value)
Definition: geometry.pb.h:380
Definition: geometry.pb.h:67
void clear_box()
Definition: geometry.pb.h:390
::ignition::msgs::SphereGeom * release_sphere()
Definition: geometry.pb.h:520
bool has_box() const
Definition: geometry.pb.h:387
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > & points() const
Definition: geometry.pb.h:677
Geometry & operator=(const Geometry &from)
Definition: geometry.pb.h:103
bool has_plane() const
Definition: geometry.pb.h:463
Definition: cylindergeom.pb.h:56
void set_allocated_heightmap(::ignition::msgs::HeightmapGeom *heightmap)
Definition: geometry.pb.h:603
void clear_image()
Definition: geometry.pb.h:542
::ignition::msgs::Header * mutable_header()
Definition: geometry.pb.h:346
::ignition::msgs::PlaneGeom * release_plane()
Definition: geometry.pb.h:482
bool has_header() const
Definition: geometry.pb.h:335
::ignition::msgs::ImageGeom * mutable_image()
Definition: geometry.pb.h:550
const ::ignition::msgs::Header & header() const
Definition: geometry.pb.h:342
std::unique_ptr< Geometry > GeometryUniquePtr
Definition: geometry.pb.h:714
const ::ignition::msgs::CylinderGeom & cylinder() const
Definition: geometry.pb.h:432
const Geometry_Type Geometry_Type_Type_MAX
Definition: geometry.pb.h:81
Geometry_Type
Definition: geometry.pb.h:64
Definition: geometry.pb.h:71
bool Geometry_Type_Parse(const ::std::string &name, Geometry_Type *value)
Definition: geometry.pb.h:89
Definition: geometry.pb.h:72
::ignition::msgs::BoxGeom * release_box()
Definition: geometry.pb.h:406
::ignition::msgs::Header * release_header()
Definition: geometry.pb.h:354
::ignition::msgs::CylinderGeom * release_cylinder()
Definition: geometry.pb.h:444
void set_allocated_plane(::ignition::msgs::PlaneGeom *plane)
Definition: geometry.pb.h:489
void set_allocated_box(::ignition::msgs::BoxGeom *box)
Definition: geometry.pb.h:413
Definition: geometry.pb.h:68
Geometry * New() const
Definition: geometry.pb.h:115
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Polyline > * mutable_polyline()
Definition: geometry.pb.h:702
bool has_sphere() const
Definition: geometry.pb.h:501
void set_allocated_image(::ignition::msgs::ImageGeom *image)
Definition: geometry.pb.h:565
void clear_plane()
Definition: geometry.pb.h:466
std::shared_ptr< Geometry > GeometrySharedPtr
Definition: geometry.pb.h:716
void protobuf_ShutdownFile_ignition_2fmsgs_2fgeometry_2eproto()
Definition: geometry.pb.h:73
const Geometry_Type Geometry_Type_Type_MIN
Definition: geometry.pb.h:80
::ignition::msgs::Polyline * add_polyline()
Definition: geometry.pb.h:697
::ignition::msgs::Geometry_Type type() const
Definition: geometry.pb.h:376
Definition: geometry.pb.h:70
Definition: header.pb.h:161
const ::ignition::msgs::HeightmapGeom & heightmap() const
Definition: geometry.pb.h:584
static const ::std::string & Type_Name(Type value)
Definition: geometry.pb.h:190
std::unique_ptr< const Geometry > ConstGeometryUniquePtr
Definition: geometry.pb.h:715
void clear_polyline()
Definition: geometry.pb.h:686
const ::ignition::msgs::ImageGeom & image() const
Definition: geometry.pb.h:546
void clear_mesh()
Definition: geometry.pb.h:618
IGNITION_MSGS_VISIBLE bool Geometry_Type_IsValid(int value)
Definition: boxgeom.pb.h:57
bool has_mesh() const
Definition: geometry.pb.h:615
Definition: imagegeom.pb.h:56
int GetCachedSize() const
Definition: geometry.pb.h:135
static bool Type_IsValid(int value)
Definition: geometry.pb.h:177
::ignition::msgs::Vector3d * add_points()
Definition: geometry.pb.h:667
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Polyline > & polyline() const
Definition: geometry.pb.h:707
Definition: geometry.pb.h:65
Definition: geometry.pb.h:66
::ignition::msgs::CylinderGeom * mutable_cylinder()
Definition: geometry.pb.h:436
Definition: geometry.pb.h:96
void clear_sphere()
Definition: geometry.pb.h:504
int polyline_size() const
Definition: geometry.pb.h:683
void clear_heightmap()
Definition: geometry.pb.h:580
void protobuf_AssignDesc_ignition_2fmsgs_2fgeometry_2eproto()
Definition: geometry.pb.h:74
Geometry_Type Type
Definition: geometry.pb.h:154
::ignition::msgs::SphereGeom * mutable_sphere()
Definition: geometry.pb.h:512
::ignition::msgs::ImageGeom * release_image()
Definition: geometry.pb.h:558
void clear_points()
Definition: geometry.pb.h:656
IGNITION_MSGS_VISIBLEconst ::google::protobuf::EnumDescriptor * Geometry_Type_descriptor()
const ::ignition::msgs::PlaneGeom & plane() const
Definition: geometry.pb.h:470
Definition: heightmapgeom.pb.h:255
Definition: spheregeom.pb.h:56
Definition: meshgeom.pb.h:57
::ignition::msgs::BoxGeom * mutable_box()
Definition: geometry.pb.h:398
Definition: vector3d.pb.h:56
static bool Type_Parse(const ::std::string &name, Type *value)
Definition: geometry.pb.h:193
void clear_header()
Definition: geometry.pb.h:338
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > * mutable_points()
Definition: geometry.pb.h:672
::ignition::msgs::PlaneGeom * mutable_plane()
Definition: geometry.pb.h:474
void set_allocated_mesh(::ignition::msgs::MeshGeom *mesh)
Definition: geometry.pb.h:641
void set_allocated_sphere(::ignition::msgs::SphereGeom *sphere)
Definition: geometry.pb.h:527
Definition: polylinegeom.pb.h:57
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: geometry.pb.h:132
STL class.
const ::ignition::msgs::SphereGeom & sphere() const
Definition: geometry.pb.h:508
bool has_image() const
Definition: geometry.pb.h:539
::ignition::msgs::HeightmapGeom * mutable_heightmap()
Definition: geometry.pb.h:588
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fgeometry_2eproto()
std::shared_ptr< const Geometry > ConstGeometrySharedPtr
Definition: geometry.pb.h:717
static const ::google::protobuf::EnumDescriptor * Type_descriptor()
Definition: geometry.pb.h:187
const ::ignition::msgs::BoxGeom & box() const
Definition: geometry.pb.h:394
Definition: any.pb.h:839
Definition: geometry.pb.h:75
void set_allocated_header(::ignition::msgs::Header *header)
Definition: geometry.pb.h:361
int points_size() const
Definition: geometry.pb.h:653
const ::ignition::msgs::MeshGeom & mesh() const
Definition: geometry.pb.h:622
Definition: geometry.pb.h:69
bool has_heightmap() const
Definition: geometry.pb.h:577
bool has_cylinder() const
Definition: geometry.pb.h:425
::ignition::msgs::HeightmapGeom * release_heightmap()
Definition: geometry.pb.h:596
const int Geometry_Type_Type_ARRAYSIZE
Definition: geometry.pb.h:82
void set_allocated_cylinder(::ignition::msgs::CylinderGeom *cylinder)
Definition: geometry.pb.h:451
::ignition::msgs::MeshGeom * release_mesh()
Definition: geometry.pb.h:634