4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fgeometry_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fgeometry_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3012004 < 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.
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
50 #pragma GCC system_header
53 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
56 #include <sys/sysmacros.h>
61 #include <google/protobuf/port_def.inc>
62 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fgeometry_2eproto IGNITION_MSGS_VISIBLE
63 PROTOBUF_NAMESPACE_OPEN
67 PROTOBUF_NAMESPACE_CLOSE
71 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
73 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
75 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
77 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
78 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
79 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
85 class GeometryDefaultTypeInternal;
89 PROTOBUF_NAMESPACE_OPEN
90 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Geometry* Arena::CreateMaybeMessage<::ignition::msgs::Geometry>(Arena*);
91 PROTOBUF_NAMESPACE_CLOSE
125 "Incorrect type passed to function Geometry_Type_Name.");
126 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
131 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Geometry_Type>(
136 class IGNITION_MSGS_VISIBLE Geometry PROTOBUF_FINAL :
137 public ::PROTOBUF_NAMESPACE_ID::Message {
145 *
this = ::std::move(from);
153 if (GetArena() == from.GetArena()) {
154 if (
this != &from) InternalSwap(&from);
161 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
162 return GetDescriptor();
165 return GetMetadataStatic().descriptor;
168 return GetMetadataStatic().reflection;
174 return reinterpret_cast<const Geometry*
>(
177 static constexpr
int kIndexInFileMessages =
180 friend void swap(Geometry& a, Geometry& b) {
183 inline void Swap(Geometry* other) {
184 if (other ==
this)
return;
185 if (GetArena() == other->GetArena()) {
188 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
192 if (other ==
this)
return;
193 GOOGLE_DCHECK(GetArena() == other->GetArena());
199 inline Geometry*
New() const final {
200 return CreateMaybeMessage<Geometry>(
nullptr);
203 Geometry*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
204 return CreateMaybeMessage<Geometry>(arena);
206 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
207 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
210 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
211 bool IsInitialized() const final;
213 size_t ByteSizeLong() const final;
214 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
215 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
216 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
217 int GetCachedSize() const final {
return _cached_size_.Get(); }
220 inline void SharedCtor();
221 inline void SharedDtor();
222 void SetCachedSize(
int size)
const final;
223 void InternalSwap(Geometry* other);
224 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
225 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
226 return "ignition.msgs.Geometry";
229 explicit Geometry(::PROTOBUF_NAMESPACE_ID::Arena* arena);
231 static void ArenaDtor(
void*
object);
232 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
237 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
249 static constexpr
Type CYLINDER =
257 static constexpr
Type HEIGHTMAP =
261 static constexpr
Type TRIANGLE_FAN =
263 static constexpr
Type LINE_STRIP =
265 static constexpr
Type POLYLINE =
275 static constexpr
Type CAPSULE =
277 static constexpr
Type ELLIPSOID =
282 static constexpr Type Type_MIN =
284 static constexpr Type Type_MAX =
286 static constexpr
int Type_ARRAYSIZE =
288 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
296 "Incorrect type passed to function Type_Name.");
307 kPointsFieldNumber = 11,
308 kPolylineFieldNumber = 12,
309 kHeaderFieldNumber = 1,
311 kCylinderFieldNumber = 4,
312 kPlaneFieldNumber = 5,
313 kSphereFieldNumber = 6,
314 kImageFieldNumber = 7,
315 kHeightmapFieldNumber = 8,
316 kMeshFieldNumber = 9,
317 kConeFieldNumber = 10,
318 kCapsuleFieldNumber = 13,
319 kEllipsoidFieldNumber = 14,
320 kTypeFieldNumber = 2,
325 int _internal_points_size()
const;
329 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d >*
332 const ::ignition::msgs::Vector3d& _internal_points(
int index)
const;
333 ::ignition::msgs::Vector3d* _internal_add_points();
335 const ::ignition::msgs::Vector3d&
points(
int index)
const;
337 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d >&
343 int _internal_polyline_size()
const;
347 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline >*
350 const ::ignition::msgs::Polyline& _internal_polyline(
int index)
const;
351 ::ignition::msgs::Polyline* _internal_add_polyline();
353 const ::ignition::msgs::Polyline&
polyline(
int index)
const;
355 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline >&
361 bool _internal_has_header()
const;
364 const ::ignition::msgs::Header&
header()
const;
369 const ::ignition::msgs::Header& _internal_header()
const;
370 ::ignition::msgs::Header* _internal_mutable_header();
373 ::ignition::msgs::Header* header);
379 bool _internal_has_box()
const;
382 const ::ignition::msgs::BoxGeom&
box()
const;
387 const ::ignition::msgs::BoxGeom& _internal_box()
const;
388 ::ignition::msgs::BoxGeom* _internal_mutable_box();
391 ::ignition::msgs::BoxGeom* box);
397 bool _internal_has_cylinder()
const;
400 const ::ignition::msgs::CylinderGeom&
cylinder()
const;
405 const ::ignition::msgs::CylinderGeom& _internal_cylinder()
const;
406 ::ignition::msgs::CylinderGeom* _internal_mutable_cylinder();
409 ::ignition::msgs::CylinderGeom* cylinder);
415 bool _internal_has_plane()
const;
418 const ::ignition::msgs::PlaneGeom&
plane()
const;
423 const ::ignition::msgs::PlaneGeom& _internal_plane()
const;
424 ::ignition::msgs::PlaneGeom* _internal_mutable_plane();
427 ::ignition::msgs::PlaneGeom* plane);
433 bool _internal_has_sphere()
const;
436 const ::ignition::msgs::SphereGeom&
sphere()
const;
441 const ::ignition::msgs::SphereGeom& _internal_sphere()
const;
442 ::ignition::msgs::SphereGeom* _internal_mutable_sphere();
445 ::ignition::msgs::SphereGeom* sphere);
451 bool _internal_has_image()
const;
454 const ::ignition::msgs::ImageGeom&
image()
const;
459 const ::ignition::msgs::ImageGeom& _internal_image()
const;
460 ::ignition::msgs::ImageGeom* _internal_mutable_image();
463 ::ignition::msgs::ImageGeom* image);
469 bool _internal_has_heightmap()
const;
472 const ::ignition::msgs::HeightmapGeom&
heightmap()
const;
477 const ::ignition::msgs::HeightmapGeom& _internal_heightmap()
const;
478 ::ignition::msgs::HeightmapGeom* _internal_mutable_heightmap();
481 ::ignition::msgs::HeightmapGeom* heightmap);
487 bool _internal_has_mesh()
const;
490 const ::ignition::msgs::MeshGeom&
mesh()
const;
495 const ::ignition::msgs::MeshGeom& _internal_mesh()
const;
496 ::ignition::msgs::MeshGeom* _internal_mutable_mesh();
499 ::ignition::msgs::MeshGeom* mesh);
505 bool _internal_has_cone()
const;
508 const ::ignition::msgs::ConeGeom&
cone()
const;
513 const ::ignition::msgs::ConeGeom& _internal_cone()
const;
514 ::ignition::msgs::ConeGeom* _internal_mutable_cone();
517 ::ignition::msgs::ConeGeom* cone);
523 bool _internal_has_capsule()
const;
526 const ::ignition::msgs::CapsuleGeom&
capsule()
const;
531 const ::ignition::msgs::CapsuleGeom& _internal_capsule()
const;
532 ::ignition::msgs::CapsuleGeom* _internal_mutable_capsule();
535 ::ignition::msgs::CapsuleGeom* capsule);
541 bool _internal_has_ellipsoid()
const;
544 const ::ignition::msgs::EllipsoidGeom&
ellipsoid()
const;
549 const ::ignition::msgs::EllipsoidGeom& _internal_ellipsoid()
const;
550 ::ignition::msgs::EllipsoidGeom* _internal_mutable_ellipsoid();
553 ::ignition::msgs::EllipsoidGeom* ellipsoid);
569 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
570 typedef void InternalArenaConstructable_;
571 typedef void DestructorSkippable_;
572 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d > points_;
573 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline > polyline_;
574 ::ignition::msgs::Header* header_;
575 ::ignition::msgs::BoxGeom* box_;
576 ::ignition::msgs::CylinderGeom* cylinder_;
577 ::ignition::msgs::PlaneGeom* plane_;
578 ::ignition::msgs::SphereGeom* sphere_;
579 ::ignition::msgs::ImageGeom* image_;
580 ::ignition::msgs::HeightmapGeom* heightmap_;
581 ::ignition::msgs::MeshGeom* mesh_;
582 ::ignition::msgs::ConeGeom* cone_;
583 ::ignition::msgs::CapsuleGeom* capsule_;
584 ::ignition::msgs::EllipsoidGeom* ellipsoid_;
586 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
587 friend struct ::TableStruct_ignition_2fmsgs_2fgeometry_2eproto;
595 #pragma GCC diagnostic push
596 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
601 inline bool Geometry::_internal_has_header()
const {
602 return this != internal_default_instance() && header_ !=
nullptr;
604 inline bool Geometry::has_header()
const {
605 return _internal_has_header();
607 inline const ::ignition::msgs::Header& Geometry::_internal_header()
const {
608 const ::ignition::msgs::Header* p = header_;
609 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Header*
>(
612 inline const ::ignition::msgs::Header& Geometry::header()
const {
614 return _internal_header();
616 inline void Geometry::unsafe_arena_set_allocated_header(
617 ::ignition::msgs::Header* header) {
618 if (GetArena() ==
nullptr) {
619 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
629 inline ::ignition::msgs::Header* Geometry::release_header() {
630 auto temp = unsafe_arena_release_header();
631 if (GetArena() !=
nullptr) {
632 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
636 inline ::ignition::msgs::Header* Geometry::unsafe_arena_release_header() {
639 ::ignition::msgs::Header* temp = header_;
643 inline ::ignition::msgs::Header* Geometry::_internal_mutable_header() {
645 if (header_ ==
nullptr) {
646 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
651 inline ::ignition::msgs::Header* Geometry::mutable_header() {
653 return _internal_mutable_header();
655 inline void Geometry::set_allocated_header(::ignition::msgs::Header* header) {
656 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
657 if (message_arena ==
nullptr) {
658 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
661 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
662 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
663 if (message_arena != submessage_arena) {
664 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
665 message_arena, header, submessage_arena);
676 inline void Geometry::clear_type() {
684 return _internal_type();
691 _internal_set_type(value);
696 inline bool Geometry::_internal_has_box()
const {
697 return this != internal_default_instance() && box_ !=
nullptr;
699 inline bool Geometry::has_box()
const {
700 return _internal_has_box();
702 inline const ::ignition::msgs::BoxGeom& Geometry::_internal_box()
const {
703 const ::ignition::msgs::BoxGeom* p = box_;
704 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::BoxGeom*
>(
707 inline const ::ignition::msgs::BoxGeom& Geometry::box()
const {
709 return _internal_box();
711 inline void Geometry::unsafe_arena_set_allocated_box(
712 ::ignition::msgs::BoxGeom* box) {
713 if (GetArena() ==
nullptr) {
714 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(box_);
724 inline ::ignition::msgs::BoxGeom* Geometry::release_box() {
725 auto temp = unsafe_arena_release_box();
726 if (GetArena() !=
nullptr) {
727 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
731 inline ::ignition::msgs::BoxGeom* Geometry::unsafe_arena_release_box() {
734 ::ignition::msgs::BoxGeom* temp = box_;
738 inline ::ignition::msgs::BoxGeom* Geometry::_internal_mutable_box() {
740 if (box_ ==
nullptr) {
741 auto* p = CreateMaybeMessage<::ignition::msgs::BoxGeom>(GetArena());
746 inline ::ignition::msgs::BoxGeom* Geometry::mutable_box() {
748 return _internal_mutable_box();
750 inline void Geometry::set_allocated_box(::ignition::msgs::BoxGeom* box) {
751 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
752 if (message_arena ==
nullptr) {
753 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(box_);
756 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
757 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(box)->GetArena();
758 if (message_arena != submessage_arena) {
759 box = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
760 message_arena, box, submessage_arena);
771 inline bool Geometry::_internal_has_cylinder()
const {
772 return this != internal_default_instance() && cylinder_ !=
nullptr;
774 inline bool Geometry::has_cylinder()
const {
775 return _internal_has_cylinder();
777 inline const ::ignition::msgs::CylinderGeom& Geometry::_internal_cylinder()
const {
778 const ::ignition::msgs::CylinderGeom* p = cylinder_;
779 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::CylinderGeom*
>(
782 inline const ::ignition::msgs::CylinderGeom& Geometry::cylinder()
const {
784 return _internal_cylinder();
786 inline void Geometry::unsafe_arena_set_allocated_cylinder(
787 ::ignition::msgs::CylinderGeom* cylinder) {
788 if (GetArena() ==
nullptr) {
789 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(cylinder_);
791 cylinder_ = cylinder;
799 inline ::ignition::msgs::CylinderGeom* Geometry::release_cylinder() {
800 auto temp = unsafe_arena_release_cylinder();
801 if (GetArena() !=
nullptr) {
802 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
806 inline ::ignition::msgs::CylinderGeom* Geometry::unsafe_arena_release_cylinder() {
809 ::ignition::msgs::CylinderGeom* temp = cylinder_;
813 inline ::ignition::msgs::CylinderGeom* Geometry::_internal_mutable_cylinder() {
815 if (cylinder_ ==
nullptr) {
816 auto* p = CreateMaybeMessage<::ignition::msgs::CylinderGeom>(GetArena());
821 inline ::ignition::msgs::CylinderGeom* Geometry::mutable_cylinder() {
823 return _internal_mutable_cylinder();
825 inline void Geometry::set_allocated_cylinder(::ignition::msgs::CylinderGeom* cylinder) {
826 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
827 if (message_arena ==
nullptr) {
828 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(cylinder_);
831 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
832 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(cylinder)->GetArena();
833 if (message_arena != submessage_arena) {
834 cylinder = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
835 message_arena, cylinder, submessage_arena);
841 cylinder_ = cylinder;
846 inline bool Geometry::_internal_has_plane()
const {
847 return this != internal_default_instance() && plane_ !=
nullptr;
849 inline bool Geometry::has_plane()
const {
850 return _internal_has_plane();
852 inline const ::ignition::msgs::PlaneGeom& Geometry::_internal_plane()
const {
853 const ::ignition::msgs::PlaneGeom* p = plane_;
854 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::PlaneGeom*
>(
857 inline const ::ignition::msgs::PlaneGeom& Geometry::plane()
const {
859 return _internal_plane();
861 inline void Geometry::unsafe_arena_set_allocated_plane(
862 ::ignition::msgs::PlaneGeom* plane) {
863 if (GetArena() ==
nullptr) {
864 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(plane_);
874 inline ::ignition::msgs::PlaneGeom* Geometry::release_plane() {
875 auto temp = unsafe_arena_release_plane();
876 if (GetArena() !=
nullptr) {
877 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
881 inline ::ignition::msgs::PlaneGeom* Geometry::unsafe_arena_release_plane() {
884 ::ignition::msgs::PlaneGeom* temp = plane_;
888 inline ::ignition::msgs::PlaneGeom* Geometry::_internal_mutable_plane() {
890 if (plane_ ==
nullptr) {
891 auto* p = CreateMaybeMessage<::ignition::msgs::PlaneGeom>(GetArena());
896 inline ::ignition::msgs::PlaneGeom* Geometry::mutable_plane() {
898 return _internal_mutable_plane();
900 inline void Geometry::set_allocated_plane(::ignition::msgs::PlaneGeom* plane) {
901 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
902 if (message_arena ==
nullptr) {
903 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(plane_);
906 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
907 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(plane)->GetArena();
908 if (message_arena != submessage_arena) {
909 plane = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
910 message_arena, plane, submessage_arena);
921 inline bool Geometry::_internal_has_sphere()
const {
922 return this != internal_default_instance() && sphere_ !=
nullptr;
924 inline bool Geometry::has_sphere()
const {
925 return _internal_has_sphere();
927 inline const ::ignition::msgs::SphereGeom& Geometry::_internal_sphere()
const {
928 const ::ignition::msgs::SphereGeom* p = sphere_;
929 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::SphereGeom*
>(
932 inline const ::ignition::msgs::SphereGeom& Geometry::sphere()
const {
934 return _internal_sphere();
936 inline void Geometry::unsafe_arena_set_allocated_sphere(
937 ::ignition::msgs::SphereGeom* sphere) {
938 if (GetArena() ==
nullptr) {
939 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(sphere_);
949 inline ::ignition::msgs::SphereGeom* Geometry::release_sphere() {
950 auto temp = unsafe_arena_release_sphere();
951 if (GetArena() !=
nullptr) {
952 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
956 inline ::ignition::msgs::SphereGeom* Geometry::unsafe_arena_release_sphere() {
959 ::ignition::msgs::SphereGeom* temp = sphere_;
963 inline ::ignition::msgs::SphereGeom* Geometry::_internal_mutable_sphere() {
965 if (sphere_ ==
nullptr) {
966 auto* p = CreateMaybeMessage<::ignition::msgs::SphereGeom>(GetArena());
971 inline ::ignition::msgs::SphereGeom* Geometry::mutable_sphere() {
973 return _internal_mutable_sphere();
975 inline void Geometry::set_allocated_sphere(::ignition::msgs::SphereGeom* sphere) {
976 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
977 if (message_arena ==
nullptr) {
978 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(sphere_);
981 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
982 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(sphere)->GetArena();
983 if (message_arena != submessage_arena) {
984 sphere = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
985 message_arena, sphere, submessage_arena);
996 inline bool Geometry::_internal_has_image()
const {
997 return this != internal_default_instance() && image_ !=
nullptr;
999 inline bool Geometry::has_image()
const {
1000 return _internal_has_image();
1002 inline const ::ignition::msgs::ImageGeom& Geometry::_internal_image()
const {
1003 const ::ignition::msgs::ImageGeom* p = image_;
1004 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::ImageGeom*
>(
1007 inline const ::ignition::msgs::ImageGeom& Geometry::image()
const {
1009 return _internal_image();
1011 inline void Geometry::unsafe_arena_set_allocated_image(
1012 ::ignition::msgs::ImageGeom* image) {
1013 if (GetArena() ==
nullptr) {
1014 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(image_);
1024 inline ::ignition::msgs::ImageGeom* Geometry::release_image() {
1025 auto temp = unsafe_arena_release_image();
1026 if (GetArena() !=
nullptr) {
1027 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1031 inline ::ignition::msgs::ImageGeom* Geometry::unsafe_arena_release_image() {
1034 ::ignition::msgs::ImageGeom* temp = image_;
1038 inline ::ignition::msgs::ImageGeom* Geometry::_internal_mutable_image() {
1040 if (image_ ==
nullptr) {
1041 auto* p = CreateMaybeMessage<::ignition::msgs::ImageGeom>(GetArena());
1046 inline ::ignition::msgs::ImageGeom* Geometry::mutable_image() {
1048 return _internal_mutable_image();
1050 inline void Geometry::set_allocated_image(::ignition::msgs::ImageGeom* image) {
1051 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1052 if (message_arena ==
nullptr) {
1053 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(image_);
1056 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1057 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(image)->GetArena();
1058 if (message_arena != submessage_arena) {
1059 image = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1060 message_arena, image, submessage_arena);
1071 inline bool Geometry::_internal_has_heightmap()
const {
1072 return this != internal_default_instance() && heightmap_ !=
nullptr;
1074 inline bool Geometry::has_heightmap()
const {
1075 return _internal_has_heightmap();
1077 inline const ::ignition::msgs::HeightmapGeom& Geometry::_internal_heightmap()
const {
1078 const ::ignition::msgs::HeightmapGeom* p = heightmap_;
1079 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::HeightmapGeom*
>(
1082 inline const ::ignition::msgs::HeightmapGeom& Geometry::heightmap()
const {
1084 return _internal_heightmap();
1086 inline void Geometry::unsafe_arena_set_allocated_heightmap(
1087 ::ignition::msgs::HeightmapGeom* heightmap) {
1088 if (GetArena() ==
nullptr) {
1089 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(heightmap_);
1091 heightmap_ = heightmap;
1099 inline ::ignition::msgs::HeightmapGeom* Geometry::release_heightmap() {
1100 auto temp = unsafe_arena_release_heightmap();
1101 if (GetArena() !=
nullptr) {
1102 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1106 inline ::ignition::msgs::HeightmapGeom* Geometry::unsafe_arena_release_heightmap() {
1109 ::ignition::msgs::HeightmapGeom* temp = heightmap_;
1110 heightmap_ =
nullptr;
1113 inline ::ignition::msgs::HeightmapGeom* Geometry::_internal_mutable_heightmap() {
1115 if (heightmap_ ==
nullptr) {
1116 auto* p = CreateMaybeMessage<::ignition::msgs::HeightmapGeom>(GetArena());
1121 inline ::ignition::msgs::HeightmapGeom* Geometry::mutable_heightmap() {
1123 return _internal_mutable_heightmap();
1125 inline void Geometry::set_allocated_heightmap(::ignition::msgs::HeightmapGeom* heightmap) {
1126 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1127 if (message_arena ==
nullptr) {
1128 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(heightmap_);
1131 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1132 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(heightmap)->GetArena();
1133 if (message_arena != submessage_arena) {
1134 heightmap = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1135 message_arena, heightmap, submessage_arena);
1141 heightmap_ = heightmap;
1146 inline bool Geometry::_internal_has_mesh()
const {
1147 return this != internal_default_instance() && mesh_ !=
nullptr;
1149 inline bool Geometry::has_mesh()
const {
1150 return _internal_has_mesh();
1152 inline const ::ignition::msgs::MeshGeom& Geometry::_internal_mesh()
const {
1153 const ::ignition::msgs::MeshGeom* p = mesh_;
1154 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::MeshGeom*
>(
1157 inline const ::ignition::msgs::MeshGeom& Geometry::mesh()
const {
1159 return _internal_mesh();
1161 inline void Geometry::unsafe_arena_set_allocated_mesh(
1162 ::ignition::msgs::MeshGeom* mesh) {
1163 if (GetArena() ==
nullptr) {
1164 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(mesh_);
1174 inline ::ignition::msgs::MeshGeom* Geometry::release_mesh() {
1175 auto temp = unsafe_arena_release_mesh();
1176 if (GetArena() !=
nullptr) {
1177 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1181 inline ::ignition::msgs::MeshGeom* Geometry::unsafe_arena_release_mesh() {
1184 ::ignition::msgs::MeshGeom* temp = mesh_;
1188 inline ::ignition::msgs::MeshGeom* Geometry::_internal_mutable_mesh() {
1190 if (mesh_ ==
nullptr) {
1191 auto* p = CreateMaybeMessage<::ignition::msgs::MeshGeom>(GetArena());
1196 inline ::ignition::msgs::MeshGeom* Geometry::mutable_mesh() {
1198 return _internal_mutable_mesh();
1200 inline void Geometry::set_allocated_mesh(::ignition::msgs::MeshGeom* mesh) {
1201 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1202 if (message_arena ==
nullptr) {
1203 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(mesh_);
1206 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1207 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(mesh)->GetArena();
1208 if (message_arena != submessage_arena) {
1209 mesh = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1210 message_arena, mesh, submessage_arena);
1221 inline bool Geometry::_internal_has_cone()
const {
1222 return this != internal_default_instance() && cone_ !=
nullptr;
1224 inline bool Geometry::has_cone()
const {
1225 return _internal_has_cone();
1227 inline const ::ignition::msgs::ConeGeom& Geometry::_internal_cone()
const {
1228 const ::ignition::msgs::ConeGeom* p = cone_;
1229 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::ConeGeom*
>(
1232 inline const ::ignition::msgs::ConeGeom& Geometry::cone()
const {
1234 return _internal_cone();
1236 inline void Geometry::unsafe_arena_set_allocated_cone(
1237 ::ignition::msgs::ConeGeom* cone) {
1238 if (GetArena() ==
nullptr) {
1239 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(cone_);
1249 inline ::ignition::msgs::ConeGeom* Geometry::release_cone() {
1250 auto temp = unsafe_arena_release_cone();
1251 if (GetArena() !=
nullptr) {
1252 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1256 inline ::ignition::msgs::ConeGeom* Geometry::unsafe_arena_release_cone() {
1259 ::ignition::msgs::ConeGeom* temp = cone_;
1263 inline ::ignition::msgs::ConeGeom* Geometry::_internal_mutable_cone() {
1265 if (cone_ ==
nullptr) {
1266 auto* p = CreateMaybeMessage<::ignition::msgs::ConeGeom>(GetArena());
1271 inline ::ignition::msgs::ConeGeom* Geometry::mutable_cone() {
1273 return _internal_mutable_cone();
1275 inline void Geometry::set_allocated_cone(::ignition::msgs::ConeGeom* cone) {
1276 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1277 if (message_arena ==
nullptr) {
1278 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(cone_);
1281 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1282 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(cone)->GetArena();
1283 if (message_arena != submessage_arena) {
1284 cone = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1285 message_arena, cone, submessage_arena);
1296 inline bool Geometry::_internal_has_capsule()
const {
1297 return this != internal_default_instance() && capsule_ !=
nullptr;
1299 inline bool Geometry::has_capsule()
const {
1300 return _internal_has_capsule();
1302 inline const ::ignition::msgs::CapsuleGeom& Geometry::_internal_capsule()
const {
1303 const ::ignition::msgs::CapsuleGeom* p = capsule_;
1304 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::CapsuleGeom*
>(
1307 inline const ::ignition::msgs::CapsuleGeom& Geometry::capsule()
const {
1309 return _internal_capsule();
1311 inline void Geometry::unsafe_arena_set_allocated_capsule(
1312 ::ignition::msgs::CapsuleGeom* capsule) {
1313 if (GetArena() ==
nullptr) {
1314 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(capsule_);
1324 inline ::ignition::msgs::CapsuleGeom* Geometry::release_capsule() {
1325 auto temp = unsafe_arena_release_capsule();
1326 if (GetArena() !=
nullptr) {
1327 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1331 inline ::ignition::msgs::CapsuleGeom* Geometry::unsafe_arena_release_capsule() {
1334 ::ignition::msgs::CapsuleGeom* temp = capsule_;
1338 inline ::ignition::msgs::CapsuleGeom* Geometry::_internal_mutable_capsule() {
1340 if (capsule_ ==
nullptr) {
1341 auto* p = CreateMaybeMessage<::ignition::msgs::CapsuleGeom>(GetArena());
1346 inline ::ignition::msgs::CapsuleGeom* Geometry::mutable_capsule() {
1348 return _internal_mutable_capsule();
1350 inline void Geometry::set_allocated_capsule(::ignition::msgs::CapsuleGeom* capsule) {
1351 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1352 if (message_arena ==
nullptr) {
1353 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(capsule_);
1356 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1357 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(capsule)->GetArena();
1358 if (message_arena != submessage_arena) {
1359 capsule = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1360 message_arena, capsule, submessage_arena);
1371 inline bool Geometry::_internal_has_ellipsoid()
const {
1372 return this != internal_default_instance() && ellipsoid_ !=
nullptr;
1374 inline bool Geometry::has_ellipsoid()
const {
1375 return _internal_has_ellipsoid();
1377 inline const ::ignition::msgs::EllipsoidGeom& Geometry::_internal_ellipsoid()
const {
1378 const ::ignition::msgs::EllipsoidGeom* p = ellipsoid_;
1379 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::EllipsoidGeom*
>(
1382 inline const ::ignition::msgs::EllipsoidGeom& Geometry::ellipsoid()
const {
1384 return _internal_ellipsoid();
1386 inline void Geometry::unsafe_arena_set_allocated_ellipsoid(
1387 ::ignition::msgs::EllipsoidGeom* ellipsoid) {
1388 if (GetArena() ==
nullptr) {
1389 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(ellipsoid_);
1391 ellipsoid_ = ellipsoid;
1399 inline ::ignition::msgs::EllipsoidGeom* Geometry::release_ellipsoid() {
1400 auto temp = unsafe_arena_release_ellipsoid();
1401 if (GetArena() !=
nullptr) {
1402 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1406 inline ::ignition::msgs::EllipsoidGeom* Geometry::unsafe_arena_release_ellipsoid() {
1409 ::ignition::msgs::EllipsoidGeom* temp = ellipsoid_;
1410 ellipsoid_ =
nullptr;
1413 inline ::ignition::msgs::EllipsoidGeom* Geometry::_internal_mutable_ellipsoid() {
1415 if (ellipsoid_ ==
nullptr) {
1416 auto* p = CreateMaybeMessage<::ignition::msgs::EllipsoidGeom>(GetArena());
1421 inline ::ignition::msgs::EllipsoidGeom* Geometry::mutable_ellipsoid() {
1423 return _internal_mutable_ellipsoid();
1425 inline void Geometry::set_allocated_ellipsoid(::ignition::msgs::EllipsoidGeom* ellipsoid) {
1426 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1427 if (message_arena ==
nullptr) {
1428 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(ellipsoid_);
1431 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1432 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(ellipsoid)->GetArena();
1433 if (message_arena != submessage_arena) {
1434 ellipsoid = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1435 message_arena, ellipsoid, submessage_arena);
1441 ellipsoid_ = ellipsoid;
1446 inline int Geometry::_internal_points_size()
const {
1447 return points_.size();
1449 inline int Geometry::points_size()
const {
1450 return _internal_points_size();
1452 inline ::ignition::msgs::Vector3d* Geometry::mutable_points(
int index) {
1454 return points_.Mutable(index);
1456 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d >*
1457 Geometry::mutable_points() {
1461 inline const ::ignition::msgs::Vector3d& Geometry::_internal_points(
int index)
const {
1462 return points_.Get(index);
1464 inline const ::ignition::msgs::Vector3d& Geometry::points(
int index)
const {
1466 return _internal_points(index);
1468 inline ::ignition::msgs::Vector3d* Geometry::_internal_add_points() {
1469 return points_.Add();
1471 inline ::ignition::msgs::Vector3d* Geometry::add_points() {
1473 return _internal_add_points();
1475 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d >&
1476 Geometry::points()
const {
1482 inline int Geometry::_internal_polyline_size()
const {
1483 return polyline_.size();
1485 inline int Geometry::polyline_size()
const {
1486 return _internal_polyline_size();
1488 inline ::ignition::msgs::Polyline* Geometry::mutable_polyline(
int index) {
1490 return polyline_.Mutable(index);
1492 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline >*
1493 Geometry::mutable_polyline() {
1497 inline const ::ignition::msgs::Polyline& Geometry::_internal_polyline(
int index)
const {
1498 return polyline_.Get(index);
1500 inline const ::ignition::msgs::Polyline& Geometry::polyline(
int index)
const {
1502 return _internal_polyline(index);
1504 inline ::ignition::msgs::Polyline* Geometry::_internal_add_polyline() {
1505 return polyline_.Add();
1507 inline ::ignition::msgs::Polyline* Geometry::add_polyline() {
1509 return _internal_add_polyline();
1511 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline >&
1512 Geometry::polyline()
const {
1518 #pragma GCC diagnostic pop
1530 PROTOBUF_NAMESPACE_OPEN
1534 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Geometry_Type>() {
1538 PROTOBUF_NAMESPACE_CLOSE
1541 #pragma warning(pop)
1545 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fgeometry_2eproto
void set_type(::ignition::msgs::Geometry_Type value)
static void InitAsDefaultInstance()
::ignition::msgs::EllipsoidGeom * release_ellipsoid()
::ignition::msgs::Vector3d * add_points()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:167
::ignition::msgs::ConeGeom * unsafe_arena_release_cone()
const ::ignition::msgs::Polyline & polyline(int index) const
const ::ignition::msgs::SphereGeom & sphere() const
Geometry * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:203
static const std::string & Type_Name(T enum_t_value)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:293
void unsafe_arena_set_allocated_sphere(::ignition::msgs::SphereGeom *sphere)
void unsafe_arena_set_allocated_heightmap(::ignition::msgs::HeightmapGeom *heightmap)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::MeshGeom * release_mesh()
::ignition::msgs::Header * release_header()
friend void swap(Geometry &a, Geometry &b)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:180
int polyline_size() const
::ignition::msgs::PlaneGeom * mutable_plane()
::ignition::msgs::CapsuleGeom * release_capsule()
void unsafe_arena_set_allocated_image(::ignition::msgs::ImageGeom *image)
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:161
void unsafe_arena_set_allocated_cylinder(::ignition::msgs::CylinderGeom *cylinder)
::ignition::msgs::MeshGeom * mutable_mesh()
::ignition::msgs::SphereGeom * release_sphere()
void unsafe_arena_set_allocated_ellipsoid(::ignition::msgs::EllipsoidGeom *ellipsoid)
void Swap(Geometry *other)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:183
const ::ignition::msgs::HeightmapGeom & heightmap() const
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:289
const ::ignition::msgs::MeshGeom & mesh() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void MergeFrom(const Geometry &from)
::ignition::msgs::ImageGeom * mutable_image()
::ignition::msgs::Geometry_Type type() const
void UnsafeArenaSwap(Geometry *other)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:191
static bool Type_IsValid(int value)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:279
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d > & points() const
::ignition::msgs::Vector3d * mutable_points(int index)
::ignition::msgs::HeightmapGeom * mutable_heightmap()
Geometry & operator=(Geometry &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:152
::ignition::msgs::EllipsoidGeom * mutable_ellipsoid()
::ignition::msgs::ImageGeom * release_image()
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_allocated_plane(::ignition::msgs::PlaneGeom *plane)
::ignition::msgs::Polyline * add_polyline()
::ignition::msgs::PlaneGeom * unsafe_arena_release_plane()
Geometry(Geometry &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:143
void set_allocated_box(::ignition::msgs::BoxGeom *box)
::ignition::msgs::ConeGeom * release_cone()
static bool Type_Parse(const std::string &name, Type *value)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:299
Geometry & operator=(const Geometry &from)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:148
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline > * mutable_polyline()
::ignition::msgs::CylinderGeom * unsafe_arena_release_cylinder()
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void unsafe_arena_set_allocated_box(::ignition::msgs::BoxGeom *box)
void unsafe_arena_set_allocated_capsule(::ignition::msgs::CapsuleGeom *capsule)
::ignition::msgs::BoxGeom * release_box()
::ignition::msgs::PlaneGeom * release_plane()
void set_allocated_sphere(::ignition::msgs::SphereGeom *sphere)
::ignition::msgs::CylinderGeom * release_cylinder()
const ::ignition::msgs::CapsuleGeom & capsule() const
void set_allocated_image(::ignition::msgs::ImageGeom *image)
const ::ignition::msgs::ConeGeom & cone() const
::ignition::msgs::ConeGeom * mutable_cone()
::ignition::msgs::HeightmapGeom * unsafe_arena_release_heightmap()
Geometry_Type Type
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:246
::ignition::msgs::ImageGeom * unsafe_arena_release_image()
bool has_ellipsoid() const
::ignition::msgs::Polyline * mutable_polyline(int index)
bool has_cylinder() const
const ::ignition::msgs::PlaneGeom & plane() const
void set_allocated_header(::ignition::msgs::Header *header)
::ignition::msgs::CylinderGeom * mutable_cylinder()
void unsafe_arena_set_allocated_mesh(::ignition::msgs::MeshGeom *mesh)
::ignition::msgs::MeshGeom * unsafe_arena_release_mesh()
const ::ignition::msgs::CylinderGeom & cylinder() const
::ignition::msgs::EllipsoidGeom * unsafe_arena_release_ellipsoid()
::ignition::msgs::SphereGeom * mutable_sphere()
::ignition::msgs::CapsuleGeom * mutable_capsule()
Geometry(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::ignition::msgs::SphereGeom * unsafe_arena_release_sphere()
const ::ignition::msgs::ImageGeom & image() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Geometry * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:199
::ignition::msgs::BoxGeom * unsafe_arena_release_box()
Geometry(const Geometry &from)
void unsafe_arena_set_allocated_plane(::ignition::msgs::PlaneGeom *plane)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:164
void set_allocated_cone(::ignition::msgs::ConeGeom *cone)
void set_allocated_heightmap(::ignition::msgs::HeightmapGeom *heightmap)
void set_allocated_cylinder(::ignition::msgs::CylinderGeom *cylinder)
void set_allocated_ellipsoid(::ignition::msgs::EllipsoidGeom *ellipsoid)
const ::ignition::msgs::EllipsoidGeom & ellipsoid() const
void unsafe_arena_set_allocated_cone(::ignition::msgs::ConeGeom *cone)
void set_allocated_mesh(::ignition::msgs::MeshGeom *mesh)
::ignition::msgs::CapsuleGeom * unsafe_arena_release_capsule()
bool has_heightmap() const
::ignition::msgs::BoxGeom * mutable_box()
Geometry()
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:139
const ::ignition::msgs::Vector3d & points(int index) const
const ::ignition::msgs::BoxGeom & box() const
static const Geometry & default_instance()
void set_allocated_capsule(::ignition::msgs::CapsuleGeom *capsule)
void CopyFrom(const Geometry &from)
static const Geometry * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:173
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Vector3d > * mutable_points()
const ::ignition::msgs::Header & header() const
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Polyline > & polyline() const
::ignition::msgs::HeightmapGeom * release_heightmap()
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Geometry_Type_descriptor()
IGNITION_MSGS_VISIBLE PlaneGeomDefaultTypeInternal _PlaneGeom_default_instance_
constexpr Geometry_Type Geometry_Type_Type_MIN
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:116
IGNITION_MSGS_VISIBLE CapsuleGeomDefaultTypeInternal _CapsuleGeom_default_instance_
IGNITION_MSGS_VISIBLE HeightmapGeomDefaultTypeInternal _HeightmapGeom_default_instance_
IGNITION_MSGS_VISIBLE ConeGeomDefaultTypeInternal _ConeGeom_default_instance_
IGNITION_MSGS_VISIBLE bool Geometry_Type_IsValid(int value)
std::unique_ptr< const Geometry > ConstGeometryUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:1522
IGNITION_MSGS_VISIBLE ImageGeomDefaultTypeInternal _ImageGeom_default_instance_
IGNITION_MSGS_VISIBLE EllipsoidGeomDefaultTypeInternal _EllipsoidGeom_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< Geometry > GeometrySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:1523
constexpr int Geometry_Type_Type_ARRAYSIZE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:118
IGNITION_MSGS_VISIBLE MeshGeomDefaultTypeInternal _MeshGeom_default_instance_
std::shared_ptr< const Geometry > ConstGeometrySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:1524
const std::string & Geometry_Type_Name(T enum_t_value)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:122
std::unique_ptr< Geometry > GeometryUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:1521
bool Geometry_Type_Parse(const std::string &name, Geometry_Type *value)
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:129
IGNITION_MSGS_VISIBLE CylinderGeomDefaultTypeInternal _CylinderGeom_default_instance_
Atmosphere_Type
Definition: build/ignition-msgs8/include/ignition/msgs/atmosphere.pb.h:83
Geometry_Type
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:95
@ Geometry_Type_Geometry_Type_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:112
@ Geometry_Type_Geometry_Type_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:113
@ Geometry_Type_MESH
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:102
@ Geometry_Type_CYLINDER
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:97
@ Geometry_Type_SPHERE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:98
@ Geometry_Type_HEIGHTMAP
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:101
@ Geometry_Type_POLYLINE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:105
@ Geometry_Type_IMAGE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:100
@ Geometry_Type_TRIANGLE_FAN
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:103
@ Geometry_Type_CAPSULE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:110
@ Geometry_Type_AXIS
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:109
@ Geometry_Type_LINE_STRIP
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:104
@ Geometry_Type_ELLIPSOID
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:111
@ Geometry_Type_PLANE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:99
@ Geometry_Type_EMPTY
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:107
@ Geometry_Type_ARROW
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:108
@ Geometry_Type_BOX
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:96
@ Geometry_Type_CONE
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:106
IGNITION_MSGS_VISIBLE BoxGeomDefaultTypeInternal _BoxGeom_default_instance_
constexpr Geometry_Type Geometry_Type_Type_MAX
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:117
IGNITION_MSGS_VISIBLE SphereGeomDefaultTypeInternal _SphereGeom_default_instance_
IGNITION_MSGS_VISIBLE GeometryDefaultTypeInternal _Geometry_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/geometry.pb.h:70
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)