Ignition Msgs

API Reference

5.6.0
heightmapgeom.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/heightmapgeom.proto
3 
4 #ifndef PROTOBUF_ignition_2fmsgs_2fheightmapgeom_2eproto__INCLUDED
5 #define PROTOBUF_ignition_2fmsgs_2fheightmapgeom_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/unknown_field_set.h>
30 #include "ignition/msgs/image.pb.h"
33 #ifndef _MSC_VER
34 #pragma GCC system_header
35 #else
36 #pragma warning(push)
37 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
38 #endif
39 #ifdef __linux__
40 #include <sys/sysmacros.h>
41 #endif
42 #include <memory>
43 #include <ignition/msgs/Export.hh>
44 // @@protoc_insertion_point(includes)
45 
46 namespace ignition {
47 namespace msgs {
48 
49 // Internal implementation detail -- do not call these.
53 
54 class HeightmapGeom;
55 class HeightmapGeom_Blend;
56 class HeightmapGeom_Texture;
57 
58 // ===================================================================
59 
60 class IGNITION_MSGS_VISIBLE HeightmapGeom_Texture : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.HeightmapGeom.Texture) */ {
61  public:
63  virtual ~HeightmapGeom_Texture();
64 
66 
68  CopyFrom(from);
69  return *this;
70  }
71 
72  static const ::google::protobuf::Descriptor* descriptor();
73  static const HeightmapGeom_Texture& default_instance();
74 
75  void Swap(HeightmapGeom_Texture* other);
76 
77  // implements Message ----------------------------------------------
78 
79  inline HeightmapGeom_Texture* New() const { return New(NULL); }
80 
81  HeightmapGeom_Texture* New(::google::protobuf::Arena* arena) const;
82  void CopyFrom(const ::google::protobuf::Message& from);
83  void MergeFrom(const ::google::protobuf::Message& from);
84  void CopyFrom(const HeightmapGeom_Texture& from);
85  void MergeFrom(const HeightmapGeom_Texture& from);
86  void Clear();
87  bool IsInitialized() const;
88 
89  int ByteSize() const;
90  bool MergePartialFromCodedStream(
91  ::google::protobuf::io::CodedInputStream* input);
92  void SerializeWithCachedSizes(
93  ::google::protobuf::io::CodedOutputStream* output) const;
94  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
95  bool deterministic, ::google::protobuf::uint8* output) const;
96  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
97  return InternalSerializeWithCachedSizesToArray(false, output);
98  }
99  int GetCachedSize() const { return _cached_size_; }
100  private:
101  void SharedCtor();
102  void SharedDtor();
103  void SetCachedSize(int size) const;
104  void InternalSwap(HeightmapGeom_Texture* other);
105  private:
106  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
107  return _internal_metadata_.arena();
108  }
109  inline void* MaybeArenaPtr() const {
110  return _internal_metadata_.raw_arena_ptr();
111  }
112  public:
113 
114  ::google::protobuf::Metadata GetMetadata() const;
115 
116  // nested types ----------------------------------------------------
117 
118  // accessors -------------------------------------------------------
119 
120  // optional string diffuse = 1;
121  void clear_diffuse();
122  static const int kDiffuseFieldNumber = 1;
123  const ::std::string& diffuse() const;
124  void set_diffuse(const ::std::string& value);
125  void set_diffuse(const char* value);
126  void set_diffuse(const char* value, size_t size);
127  ::std::string* mutable_diffuse();
128  ::std::string* release_diffuse();
129  void set_allocated_diffuse(::std::string* diffuse);
130 
131  // optional string normal = 2;
132  void clear_normal();
133  static const int kNormalFieldNumber = 2;
134  const ::std::string& normal() const;
135  void set_normal(const ::std::string& value);
136  void set_normal(const char* value);
137  void set_normal(const char* value, size_t size);
138  ::std::string* mutable_normal();
139  ::std::string* release_normal();
140  void set_allocated_normal(::std::string* normal);
141 
142  // optional double size = 3;
143  void clear_size();
144  static const int kSizeFieldNumber = 3;
145  double size() const;
146  void set_size(double value);
147 
148  // @@protoc_insertion_point(class_scope:ignition.msgs.HeightmapGeom.Texture)
149  private:
150 
151  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
152  bool _is_default_instance_;
153  ::google::protobuf::internal::ArenaStringPtr diffuse_;
154  ::google::protobuf::internal::ArenaStringPtr normal_;
155  double size_;
156  mutable int _cached_size_;
157  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fheightmapgeom_2eproto();
160 
161  void InitAsDefaultInstance();
162  static HeightmapGeom_Texture* default_instance_;
163 };
164 // -------------------------------------------------------------------
165 
166 class IGNITION_MSGS_VISIBLE HeightmapGeom_Blend : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.HeightmapGeom.Blend) */ {
167  public:
169  virtual ~HeightmapGeom_Blend();
170 
172 
174  CopyFrom(from);
175  return *this;
176  }
177 
178  static const ::google::protobuf::Descriptor* descriptor();
179  static const HeightmapGeom_Blend& default_instance();
180 
181  void Swap(HeightmapGeom_Blend* other);
182 
183  // implements Message ----------------------------------------------
184 
185  inline HeightmapGeom_Blend* New() const { return New(NULL); }
186 
187  HeightmapGeom_Blend* New(::google::protobuf::Arena* arena) const;
188  void CopyFrom(const ::google::protobuf::Message& from);
189  void MergeFrom(const ::google::protobuf::Message& from);
190  void CopyFrom(const HeightmapGeom_Blend& from);
191  void MergeFrom(const HeightmapGeom_Blend& from);
192  void Clear();
193  bool IsInitialized() const;
194 
195  int ByteSize() const;
196  bool MergePartialFromCodedStream(
197  ::google::protobuf::io::CodedInputStream* input);
198  void SerializeWithCachedSizes(
199  ::google::protobuf::io::CodedOutputStream* output) const;
200  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
201  bool deterministic, ::google::protobuf::uint8* output) const;
202  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
203  return InternalSerializeWithCachedSizesToArray(false, output);
204  }
205  int GetCachedSize() const { return _cached_size_; }
206  private:
207  void SharedCtor();
208  void SharedDtor();
209  void SetCachedSize(int size) const;
210  void InternalSwap(HeightmapGeom_Blend* other);
211  private:
212  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
213  return _internal_metadata_.arena();
214  }
215  inline void* MaybeArenaPtr() const {
216  return _internal_metadata_.raw_arena_ptr();
217  }
218  public:
219 
220  ::google::protobuf::Metadata GetMetadata() const;
221 
222  // nested types ----------------------------------------------------
223 
224  // accessors -------------------------------------------------------
225 
226  // optional double min_height = 1;
227  void clear_min_height();
228  static const int kMinHeightFieldNumber = 1;
229  double min_height() const;
230  void set_min_height(double value);
231 
232  // optional double fade_dist = 2;
233  void clear_fade_dist();
234  static const int kFadeDistFieldNumber = 2;
235  double fade_dist() const;
236  void set_fade_dist(double value);
237 
238  // @@protoc_insertion_point(class_scope:ignition.msgs.HeightmapGeom.Blend)
239  private:
240 
241  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
242  bool _is_default_instance_;
243  double min_height_;
244  double fade_dist_;
245  mutable int _cached_size_;
246  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fheightmapgeom_2eproto();
249 
250  void InitAsDefaultInstance();
251  static HeightmapGeom_Blend* default_instance_;
252 };
253 // -------------------------------------------------------------------
254 
255 class IGNITION_MSGS_VISIBLE HeightmapGeom : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.HeightmapGeom) */ {
256  public:
257  HeightmapGeom();
258  virtual ~HeightmapGeom();
259 
260  HeightmapGeom(const HeightmapGeom& from);
261 
262  inline HeightmapGeom& operator=(const HeightmapGeom& from) {
263  CopyFrom(from);
264  return *this;
265  }
266 
267  static const ::google::protobuf::Descriptor* descriptor();
268  static const HeightmapGeom& default_instance();
269 
270  void Swap(HeightmapGeom* other);
271 
272  // implements Message ----------------------------------------------
273 
274  inline HeightmapGeom* New() const { return New(NULL); }
275 
276  HeightmapGeom* New(::google::protobuf::Arena* arena) const;
277  void CopyFrom(const ::google::protobuf::Message& from);
278  void MergeFrom(const ::google::protobuf::Message& from);
279  void CopyFrom(const HeightmapGeom& from);
280  void MergeFrom(const HeightmapGeom& from);
281  void Clear();
282  bool IsInitialized() const;
283 
284  int ByteSize() const;
285  bool MergePartialFromCodedStream(
286  ::google::protobuf::io::CodedInputStream* input);
287  void SerializeWithCachedSizes(
288  ::google::protobuf::io::CodedOutputStream* output) const;
289  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
290  bool deterministic, ::google::protobuf::uint8* output) const;
291  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
292  return InternalSerializeWithCachedSizesToArray(false, output);
293  }
294  int GetCachedSize() const { return _cached_size_; }
295  private:
296  void SharedCtor();
297  void SharedDtor();
298  void SetCachedSize(int size) const;
299  void InternalSwap(HeightmapGeom* other);
300  private:
301  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
302  return _internal_metadata_.arena();
303  }
304  inline void* MaybeArenaPtr() const {
305  return _internal_metadata_.raw_arena_ptr();
306  }
307  public:
308 
309  ::google::protobuf::Metadata GetMetadata() const;
310 
311  // nested types ----------------------------------------------------
312 
315 
316  // accessors -------------------------------------------------------
317 
318  // optional .ignition.msgs.Header header = 1;
319  bool has_header() const;
320  void clear_header();
321  static const int kHeaderFieldNumber = 1;
322  const ::ignition::msgs::Header& header() const;
323  ::ignition::msgs::Header* mutable_header();
324  ::ignition::msgs::Header* release_header();
325  void set_allocated_header(::ignition::msgs::Header* header);
326 
327  // optional .ignition.msgs.Image image = 2;
328  bool has_image() const;
329  void clear_image();
330  static const int kImageFieldNumber = 2;
331  const ::ignition::msgs::Image& image() const;
332  ::ignition::msgs::Image* mutable_image();
333  ::ignition::msgs::Image* release_image();
334  void set_allocated_image(::ignition::msgs::Image* image);
335 
336  // optional .ignition.msgs.Vector3d size = 3;
337  bool has_size() const;
338  void clear_size();
339  static const int kSizeFieldNumber = 3;
340  const ::ignition::msgs::Vector3d& size() const;
341  ::ignition::msgs::Vector3d* mutable_size();
342  ::ignition::msgs::Vector3d* release_size();
343  void set_allocated_size(::ignition::msgs::Vector3d* size);
344 
345  // optional .ignition.msgs.Vector3d origin = 4;
346  bool has_origin() const;
347  void clear_origin();
348  static const int kOriginFieldNumber = 4;
349  const ::ignition::msgs::Vector3d& origin() const;
350  ::ignition::msgs::Vector3d* mutable_origin();
351  ::ignition::msgs::Vector3d* release_origin();
352  void set_allocated_origin(::ignition::msgs::Vector3d* origin);
353 
354  // repeated float heights = 5;
355  int heights_size() const;
356  void clear_heights();
357  static const int kHeightsFieldNumber = 5;
358  float heights(int index) const;
359  void set_heights(int index, float value);
360  void add_heights(float value);
361  const ::google::protobuf::RepeatedField< float >&
362  heights() const;
363  ::google::protobuf::RepeatedField< float >*
364  mutable_heights();
365 
366  // optional int32 width = 6;
367  void clear_width();
368  static const int kWidthFieldNumber = 6;
369  ::google::protobuf::int32 width() const;
370  void set_width(::google::protobuf::int32 value);
371 
372  // optional int32 height = 7;
373  void clear_height();
374  static const int kHeightFieldNumber = 7;
375  ::google::protobuf::int32 height() const;
376  void set_height(::google::protobuf::int32 value);
377 
378  // repeated .ignition.msgs.HeightmapGeom.Texture texture = 8;
379  int texture_size() const;
380  void clear_texture();
381  static const int kTextureFieldNumber = 8;
382  const ::ignition::msgs::HeightmapGeom_Texture& texture(int index) const;
383  ::ignition::msgs::HeightmapGeom_Texture* mutable_texture(int index);
385  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Texture >*
386  mutable_texture();
387  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Texture >&
388  texture() const;
389 
390  // repeated .ignition.msgs.HeightmapGeom.Blend blend = 9;
391  int blend_size() const;
392  void clear_blend();
393  static const int kBlendFieldNumber = 9;
394  const ::ignition::msgs::HeightmapGeom_Blend& blend(int index) const;
395  ::ignition::msgs::HeightmapGeom_Blend* mutable_blend(int index);
397  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Blend >*
398  mutable_blend();
399  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Blend >&
400  blend() const;
401 
402  // optional bool use_terrain_paging = 10;
403  void clear_use_terrain_paging();
404  static const int kUseTerrainPagingFieldNumber = 10;
405  bool use_terrain_paging() const;
406  void set_use_terrain_paging(bool value);
407 
408  // optional string filename = 11;
409  void clear_filename();
410  static const int kFilenameFieldNumber = 11;
411  const ::std::string& filename() const;
412  void set_filename(const ::std::string& value);
413  void set_filename(const char* value);
414  void set_filename(const char* value, size_t size);
415  ::std::string* mutable_filename();
416  ::std::string* release_filename();
417  void set_allocated_filename(::std::string* filename);
418 
419  // optional uint32 sampling = 12;
420  void clear_sampling();
421  static const int kSamplingFieldNumber = 12;
422  ::google::protobuf::uint32 sampling() const;
423  void set_sampling(::google::protobuf::uint32 value);
424 
425  // @@protoc_insertion_point(class_scope:ignition.msgs.HeightmapGeom)
426  private:
427 
428  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
429  bool _is_default_instance_;
430  ::ignition::msgs::Header* header_;
431  ::ignition::msgs::Image* image_;
434  ::google::protobuf::RepeatedField< float > heights_;
435  mutable int _heights_cached_byte_size_;
436  ::google::protobuf::int32 width_;
437  ::google::protobuf::int32 height_;
438  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Texture > texture_;
439  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Blend > blend_;
440  ::google::protobuf::internal::ArenaStringPtr filename_;
441  bool use_terrain_paging_;
442  ::google::protobuf::uint32 sampling_;
443  mutable int _cached_size_;
444  friend void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fheightmapgeom_2eproto();
447 
448  void InitAsDefaultInstance();
449  static HeightmapGeom* default_instance_;
450 };
451 // ===================================================================
452 
453 
454 // ===================================================================
455 
456 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
457 // HeightmapGeom_Texture
458 
459 // optional string diffuse = 1;
461  diffuse_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
462 }
463 inline const ::std::string& HeightmapGeom_Texture::diffuse() const {
464  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.Texture.diffuse)
465  return diffuse_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
466 }
467 inline void HeightmapGeom_Texture::set_diffuse(const ::std::string& value) {
468 
469  diffuse_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
470  // @@protoc_insertion_point(field_set:ignition.msgs.HeightmapGeom.Texture.diffuse)
471 }
472 inline void HeightmapGeom_Texture::set_diffuse(const char* value) {
473 
474  diffuse_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
475  // @@protoc_insertion_point(field_set_char:ignition.msgs.HeightmapGeom.Texture.diffuse)
476 }
477 inline void HeightmapGeom_Texture::set_diffuse(const char* value, size_t size) {
478 
479  diffuse_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
480  ::std::string(reinterpret_cast<const char*>(value), size));
481  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.HeightmapGeom.Texture.diffuse)
482 }
483 inline ::std::string* HeightmapGeom_Texture::mutable_diffuse() {
484 
485  // @@protoc_insertion_point(field_mutable:ignition.msgs.HeightmapGeom.Texture.diffuse)
486  return diffuse_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
487 }
488 inline ::std::string* HeightmapGeom_Texture::release_diffuse() {
489  // @@protoc_insertion_point(field_release:ignition.msgs.HeightmapGeom.Texture.diffuse)
490 
491  return diffuse_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
492 }
494  if (diffuse != NULL) {
495 
496  } else {
497 
498  }
499  diffuse_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), diffuse);
500  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.HeightmapGeom.Texture.diffuse)
501 }
502 
503 // optional string normal = 2;
505  normal_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
506 }
507 inline const ::std::string& HeightmapGeom_Texture::normal() const {
508  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.Texture.normal)
509  return normal_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
510 }
511 inline void HeightmapGeom_Texture::set_normal(const ::std::string& value) {
512 
513  normal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
514  // @@protoc_insertion_point(field_set:ignition.msgs.HeightmapGeom.Texture.normal)
515 }
516 inline void HeightmapGeom_Texture::set_normal(const char* value) {
517 
518  normal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
519  // @@protoc_insertion_point(field_set_char:ignition.msgs.HeightmapGeom.Texture.normal)
520 }
521 inline void HeightmapGeom_Texture::set_normal(const char* value, size_t size) {
522 
523  normal_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
524  ::std::string(reinterpret_cast<const char*>(value), size));
525  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.HeightmapGeom.Texture.normal)
526 }
527 inline ::std::string* HeightmapGeom_Texture::mutable_normal() {
528 
529  // @@protoc_insertion_point(field_mutable:ignition.msgs.HeightmapGeom.Texture.normal)
530  return normal_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
531 }
532 inline ::std::string* HeightmapGeom_Texture::release_normal() {
533  // @@protoc_insertion_point(field_release:ignition.msgs.HeightmapGeom.Texture.normal)
534 
535  return normal_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
536 }
538  if (normal != NULL) {
539 
540  } else {
541 
542  }
543  normal_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), normal);
544  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.HeightmapGeom.Texture.normal)
545 }
546 
547 // optional double size = 3;
549  size_ = 0;
550 }
551 inline double HeightmapGeom_Texture::size() const {
552  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.Texture.size)
553  return size_;
554 }
555 inline void HeightmapGeom_Texture::set_size(double value) {
556 
557  size_ = value;
558  // @@protoc_insertion_point(field_set:ignition.msgs.HeightmapGeom.Texture.size)
559 }
560 
561 // -------------------------------------------------------------------
562 
563 // HeightmapGeom_Blend
564 
565 // optional double min_height = 1;
567  min_height_ = 0;
568 }
569 inline double HeightmapGeom_Blend::min_height() const {
570  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.Blend.min_height)
571  return min_height_;
572 }
573 inline void HeightmapGeom_Blend::set_min_height(double value) {
574 
575  min_height_ = value;
576  // @@protoc_insertion_point(field_set:ignition.msgs.HeightmapGeom.Blend.min_height)
577 }
578 
579 // optional double fade_dist = 2;
581  fade_dist_ = 0;
582 }
583 inline double HeightmapGeom_Blend::fade_dist() const {
584  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.Blend.fade_dist)
585  return fade_dist_;
586 }
587 inline void HeightmapGeom_Blend::set_fade_dist(double value) {
588 
589  fade_dist_ = value;
590  // @@protoc_insertion_point(field_set:ignition.msgs.HeightmapGeom.Blend.fade_dist)
591 }
592 
593 // -------------------------------------------------------------------
594 
595 // HeightmapGeom
596 
597 // optional .ignition.msgs.Header header = 1;
598 inline bool HeightmapGeom::has_header() const {
599  return !_is_default_instance_ && header_ != NULL;
600 }
602  if (GetArenaNoVirtual() == NULL && header_ != NULL) delete header_;
603  header_ = NULL;
604 }
605 inline const ::ignition::msgs::Header& HeightmapGeom::header() const {
606  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.header)
607  return header_ != NULL ? *header_ : *default_instance_->header_;
608 }
609 inline ::ignition::msgs::Header* HeightmapGeom::mutable_header() {
610 
611  if (header_ == NULL) {
612  header_ = new ::ignition::msgs::Header;
613  }
614  // @@protoc_insertion_point(field_mutable:ignition.msgs.HeightmapGeom.header)
615  return header_;
616 }
617 inline ::ignition::msgs::Header* HeightmapGeom::release_header() {
618  // @@protoc_insertion_point(field_release:ignition.msgs.HeightmapGeom.header)
619 
620  ::ignition::msgs::Header* temp = header_;
621  header_ = NULL;
622  return temp;
623 }
625  delete header_;
626  header_ = header;
627  if (header) {
628 
629  } else {
630 
631  }
632  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.HeightmapGeom.header)
633 }
634 
635 // optional .ignition.msgs.Image image = 2;
636 inline bool HeightmapGeom::has_image() const {
637  return !_is_default_instance_ && image_ != NULL;
638 }
640  if (GetArenaNoVirtual() == NULL && image_ != NULL) delete image_;
641  image_ = NULL;
642 }
643 inline const ::ignition::msgs::Image& HeightmapGeom::image() const {
644  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.image)
645  return image_ != NULL ? *image_ : *default_instance_->image_;
646 }
647 inline ::ignition::msgs::Image* HeightmapGeom::mutable_image() {
648 
649  if (image_ == NULL) {
650  image_ = new ::ignition::msgs::Image;
651  }
652  // @@protoc_insertion_point(field_mutable:ignition.msgs.HeightmapGeom.image)
653  return image_;
654 }
655 inline ::ignition::msgs::Image* HeightmapGeom::release_image() {
656  // @@protoc_insertion_point(field_release:ignition.msgs.HeightmapGeom.image)
657 
658  ::ignition::msgs::Image* temp = image_;
659  image_ = NULL;
660  return temp;
661 }
663  delete image_;
664  image_ = image;
665  if (image) {
666 
667  } else {
668 
669  }
670  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.HeightmapGeom.image)
671 }
672 
673 // optional .ignition.msgs.Vector3d size = 3;
674 inline bool HeightmapGeom::has_size() const {
675  return !_is_default_instance_ && size_ != NULL;
676 }
678  if (GetArenaNoVirtual() == NULL && size_ != NULL) delete size_;
679  size_ = NULL;
680 }
681 inline const ::ignition::msgs::Vector3d& HeightmapGeom::size() const {
682  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.size)
683  return size_ != NULL ? *size_ : *default_instance_->size_;
684 }
685 inline ::ignition::msgs::Vector3d* HeightmapGeom::mutable_size() {
686 
687  if (size_ == NULL) {
688  size_ = new ::ignition::msgs::Vector3d;
689  }
690  // @@protoc_insertion_point(field_mutable:ignition.msgs.HeightmapGeom.size)
691  return size_;
692 }
693 inline ::ignition::msgs::Vector3d* HeightmapGeom::release_size() {
694  // @@protoc_insertion_point(field_release:ignition.msgs.HeightmapGeom.size)
695 
696  ::ignition::msgs::Vector3d* temp = size_;
697  size_ = NULL;
698  return temp;
699 }
701  delete size_;
702  size_ = size;
703  if (size) {
704 
705  } else {
706 
707  }
708  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.HeightmapGeom.size)
709 }
710 
711 // optional .ignition.msgs.Vector3d origin = 4;
712 inline bool HeightmapGeom::has_origin() const {
713  return !_is_default_instance_ && origin_ != NULL;
714 }
716  if (GetArenaNoVirtual() == NULL && origin_ != NULL) delete origin_;
717  origin_ = NULL;
718 }
719 inline const ::ignition::msgs::Vector3d& HeightmapGeom::origin() const {
720  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.origin)
721  return origin_ != NULL ? *origin_ : *default_instance_->origin_;
722 }
723 inline ::ignition::msgs::Vector3d* HeightmapGeom::mutable_origin() {
724 
725  if (origin_ == NULL) {
726  origin_ = new ::ignition::msgs::Vector3d;
727  }
728  // @@protoc_insertion_point(field_mutable:ignition.msgs.HeightmapGeom.origin)
729  return origin_;
730 }
731 inline ::ignition::msgs::Vector3d* HeightmapGeom::release_origin() {
732  // @@protoc_insertion_point(field_release:ignition.msgs.HeightmapGeom.origin)
733 
734  ::ignition::msgs::Vector3d* temp = origin_;
735  origin_ = NULL;
736  return temp;
737 }
739  delete origin_;
740  origin_ = origin;
741  if (origin) {
742 
743  } else {
744 
745  }
746  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.HeightmapGeom.origin)
747 }
748 
749 // repeated float heights = 5;
750 inline int HeightmapGeom::heights_size() const {
751  return heights_.size();
752 }
754  heights_.Clear();
755 }
756 inline float HeightmapGeom::heights(int index) const {
757  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.heights)
758  return heights_.Get(index);
759 }
760 inline void HeightmapGeom::set_heights(int index, float value) {
761  heights_.Set(index, value);
762  // @@protoc_insertion_point(field_set:ignition.msgs.HeightmapGeom.heights)
763 }
764 inline void HeightmapGeom::add_heights(float value) {
765  heights_.Add(value);
766  // @@protoc_insertion_point(field_add:ignition.msgs.HeightmapGeom.heights)
767 }
768 inline const ::google::protobuf::RepeatedField< float >&
770  // @@protoc_insertion_point(field_list:ignition.msgs.HeightmapGeom.heights)
771  return heights_;
772 }
773 inline ::google::protobuf::RepeatedField< float >*
775  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.HeightmapGeom.heights)
776  return &heights_;
777 }
778 
779 // optional int32 width = 6;
781  width_ = 0;
782 }
783 inline ::google::protobuf::int32 HeightmapGeom::width() const {
784  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.width)
785  return width_;
786 }
787 inline void HeightmapGeom::set_width(::google::protobuf::int32 value) {
788 
789  width_ = value;
790  // @@protoc_insertion_point(field_set:ignition.msgs.HeightmapGeom.width)
791 }
792 
793 // optional int32 height = 7;
795  height_ = 0;
796 }
797 inline ::google::protobuf::int32 HeightmapGeom::height() const {
798  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.height)
799  return height_;
800 }
801 inline void HeightmapGeom::set_height(::google::protobuf::int32 value) {
802 
803  height_ = value;
804  // @@protoc_insertion_point(field_set:ignition.msgs.HeightmapGeom.height)
805 }
806 
807 // repeated .ignition.msgs.HeightmapGeom.Texture texture = 8;
808 inline int HeightmapGeom::texture_size() const {
809  return texture_.size();
810 }
812  texture_.Clear();
813 }
814 inline const ::ignition::msgs::HeightmapGeom_Texture& HeightmapGeom::texture(int index) const {
815  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.texture)
816  return texture_.Get(index);
817 }
818 inline ::ignition::msgs::HeightmapGeom_Texture* HeightmapGeom::mutable_texture(int index) {
819  // @@protoc_insertion_point(field_mutable:ignition.msgs.HeightmapGeom.texture)
820  return texture_.Mutable(index);
821 }
822 inline ::ignition::msgs::HeightmapGeom_Texture* HeightmapGeom::add_texture() {
823  // @@protoc_insertion_point(field_add:ignition.msgs.HeightmapGeom.texture)
824  return texture_.Add();
825 }
826 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Texture >*
828  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.HeightmapGeom.texture)
829  return &texture_;
830 }
831 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Texture >&
833  // @@protoc_insertion_point(field_list:ignition.msgs.HeightmapGeom.texture)
834  return texture_;
835 }
836 
837 // repeated .ignition.msgs.HeightmapGeom.Blend blend = 9;
838 inline int HeightmapGeom::blend_size() const {
839  return blend_.size();
840 }
842  blend_.Clear();
843 }
844 inline const ::ignition::msgs::HeightmapGeom_Blend& HeightmapGeom::blend(int index) const {
845  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.blend)
846  return blend_.Get(index);
847 }
848 inline ::ignition::msgs::HeightmapGeom_Blend* HeightmapGeom::mutable_blend(int index) {
849  // @@protoc_insertion_point(field_mutable:ignition.msgs.HeightmapGeom.blend)
850  return blend_.Mutable(index);
851 }
852 inline ::ignition::msgs::HeightmapGeom_Blend* HeightmapGeom::add_blend() {
853  // @@protoc_insertion_point(field_add:ignition.msgs.HeightmapGeom.blend)
854  return blend_.Add();
855 }
856 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Blend >*
858  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.HeightmapGeom.blend)
859  return &blend_;
860 }
861 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Blend >&
863  // @@protoc_insertion_point(field_list:ignition.msgs.HeightmapGeom.blend)
864  return blend_;
865 }
866 
867 // optional bool use_terrain_paging = 10;
869  use_terrain_paging_ = false;
870 }
872  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.use_terrain_paging)
873  return use_terrain_paging_;
874 }
875 inline void HeightmapGeom::set_use_terrain_paging(bool value) {
876 
877  use_terrain_paging_ = value;
878  // @@protoc_insertion_point(field_set:ignition.msgs.HeightmapGeom.use_terrain_paging)
879 }
880 
881 // optional string filename = 11;
883  filename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
884 }
885 inline const ::std::string& HeightmapGeom::filename() const {
886  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.filename)
887  return filename_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
888 }
889 inline void HeightmapGeom::set_filename(const ::std::string& value) {
890 
891  filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
892  // @@protoc_insertion_point(field_set:ignition.msgs.HeightmapGeom.filename)
893 }
894 inline void HeightmapGeom::set_filename(const char* value) {
895 
896  filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
897  // @@protoc_insertion_point(field_set_char:ignition.msgs.HeightmapGeom.filename)
898 }
899 inline void HeightmapGeom::set_filename(const char* value, size_t size) {
900 
901  filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
902  ::std::string(reinterpret_cast<const char*>(value), size));
903  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.HeightmapGeom.filename)
904 }
905 inline ::std::string* HeightmapGeom::mutable_filename() {
906 
907  // @@protoc_insertion_point(field_mutable:ignition.msgs.HeightmapGeom.filename)
908  return filename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
909 }
910 inline ::std::string* HeightmapGeom::release_filename() {
911  // @@protoc_insertion_point(field_release:ignition.msgs.HeightmapGeom.filename)
912 
913  return filename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
914 }
916  if (filename != NULL) {
917 
918  } else {
919 
920  }
921  filename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filename);
922  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.HeightmapGeom.filename)
923 }
924 
925 // optional uint32 sampling = 12;
927  sampling_ = 0u;
928 }
929 inline ::google::protobuf::uint32 HeightmapGeom::sampling() const {
930  // @@protoc_insertion_point(field_get:ignition.msgs.HeightmapGeom.sampling)
931  return sampling_;
932 }
933 inline void HeightmapGeom::set_sampling(::google::protobuf::uint32 value) {
934 
935  sampling_ = value;
936  // @@protoc_insertion_point(field_set:ignition.msgs.HeightmapGeom.sampling)
937 }
938 
939 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
940 // -------------------------------------------------------------------
941 
942 // -------------------------------------------------------------------
943 
944 
949 // @@protoc_insertion_point(namespace_scope)
950 
951 } // namespace msgs
952 } // namespace ignition
953 
954 #ifdef _MSC_VER
955 #pragma warning(pop)
956 #endif
957 // @@protoc_insertion_point(global_scope)
958 
959 #endif // PROTOBUF_ignition_2fmsgs_2fheightmapgeom_2eproto__INCLUDED
int GetCachedSize() const
Definition: heightmapgeom.pb.h:205
void clear_header()
Definition: heightmapgeom.pb.h:601
HeightmapGeom * New() const
Definition: heightmapgeom.pb.h:274
void clear_fade_dist()
Definition: heightmapgeom.pb.h:580
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: heightmapgeom.pb.h:96
void clear_origin()
Definition: heightmapgeom.pb.h:715
::std::string * mutable_filename()
Definition: heightmapgeom.pb.h:905
void add_heights(float value)
Definition: heightmapgeom.pb.h:764
const ::ignition::msgs::Header & header() const
Definition: heightmapgeom.pb.h:605
::ignition::msgs::Header * mutable_header()
Definition: heightmapgeom.pb.h:609
void set_allocated_diffuse(::std::string *diffuse)
Definition: heightmapgeom.pb.h:493
void set_allocated_image(::ignition::msgs::Image *image)
Definition: heightmapgeom.pb.h:662
std::shared_ptr< HeightmapGeom > HeightmapGeomSharedPtr
Definition: heightmapgeom.pb.h:947
void set_min_height(double value)
Definition: heightmapgeom.pb.h:573
::ignition::msgs::HeightmapGeom_Texture * add_texture()
Definition: heightmapgeom.pb.h:822
double min_height() const
Definition: heightmapgeom.pb.h:569
bool use_terrain_paging() const
Definition: heightmapgeom.pb.h:871
void set_height(::google::protobuf::int32 value)
Definition: heightmapgeom.pb.h:801
int GetCachedSize() const
Definition: heightmapgeom.pb.h:99
::ignition::msgs::Header * release_header()
Definition: heightmapgeom.pb.h:617
void set_use_terrain_paging(bool value)
Definition: heightmapgeom.pb.h:875
void set_allocated_filename(::std::string *filename)
Definition: heightmapgeom.pb.h:915
Definition: image.pb.h:95
int heights_size() const
Definition: heightmapgeom.pb.h:750
HeightmapGeom_Texture & operator=(const HeightmapGeom_Texture &from)
Definition: heightmapgeom.pb.h:67
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Texture > & texture() const
Definition: heightmapgeom.pb.h:832
void clear_use_terrain_paging()
Definition: heightmapgeom.pb.h:868
void clear_size()
Definition: heightmapgeom.pb.h:548
void set_sampling(::google::protobuf::uint32 value)
Definition: heightmapgeom.pb.h:933
::std::string * release_normal()
Definition: heightmapgeom.pb.h:532
::ignition::msgs::Image * release_image()
Definition: heightmapgeom.pb.h:655
void clear_image()
Definition: heightmapgeom.pb.h:639
void set_fade_dist(double value)
Definition: heightmapgeom.pb.h:587
const ::ignition::msgs::Vector3d & size() const
Definition: heightmapgeom.pb.h:681
::google::protobuf::int32 width() const
Definition: heightmapgeom.pb.h:783
bool has_size() const
Definition: heightmapgeom.pb.h:674
void set_filename(const ::std::string &value)
Definition: heightmapgeom.pb.h:889
const ::std::string & filename() const
Definition: heightmapgeom.pb.h:885
const ::ignition::msgs::Image & image() const
Definition: heightmapgeom.pb.h:643
Definition: header.pb.h:161
STL class.
HeightmapGeom_Blend Blend
Definition: heightmapgeom.pb.h:314
HeightmapGeom_Texture Texture
Definition: heightmapgeom.pb.h:313
void protobuf_AssignDesc_ignition_2fmsgs_2fheightmapgeom_2eproto()
double fade_dist() const
Definition: heightmapgeom.pb.h:583
void set_allocated_normal(::std::string *normal)
Definition: heightmapgeom.pb.h:537
::google::protobuf::uint32 sampling() const
Definition: heightmapgeom.pb.h:929
::ignition::msgs::Vector3d * mutable_size()
Definition: heightmapgeom.pb.h:685
void set_diffuse(const ::std::string &value)
Definition: heightmapgeom.pb.h:467
const ::ignition::msgs::Vector3d & origin() const
Definition: heightmapgeom.pb.h:719
::ignition::msgs::Vector3d * release_origin()
Definition: heightmapgeom.pb.h:731
void clear_sampling()
Definition: heightmapgeom.pb.h:926
::ignition::msgs::HeightmapGeom_Blend * add_blend()
Definition: heightmapgeom.pb.h:852
int GetCachedSize() const
Definition: heightmapgeom.pb.h:294
HeightmapGeom_Blend * New() const
Definition: heightmapgeom.pb.h:185
Definition: heightmapgeom.pb.h:255
const ::google::protobuf::RepeatedField< float > & heights() const
Definition: heightmapgeom.pb.h:769
void set_heights(int index, float value)
Definition: heightmapgeom.pb.h:760
const ::std::string & normal() const
Definition: heightmapgeom.pb.h:507
Definition: heightmapgeom.pb.h:166
::std::string * mutable_diffuse()
Definition: heightmapgeom.pb.h:483
double size() const
Definition: heightmapgeom.pb.h:551
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Blend > & blend() const
Definition: heightmapgeom.pb.h:862
void set_allocated_header(::ignition::msgs::Header *header)
Definition: heightmapgeom.pb.h:624
void clear_filename()
Definition: heightmapgeom.pb.h:882
Definition: vector3d.pb.h:56
void set_allocated_size(::ignition::msgs::Vector3d *size)
Definition: heightmapgeom.pb.h:700
STL class.
void clear_heights()
Definition: heightmapgeom.pb.h:753
HeightmapGeom_Texture * New() const
Definition: heightmapgeom.pb.h:79
std::shared_ptr< const HeightmapGeom > ConstHeightmapGeomSharedPtr
Definition: heightmapgeom.pb.h:948
int blend_size() const
Definition: heightmapgeom.pb.h:838
void clear_width()
Definition: heightmapgeom.pb.h:780
::ignition::msgs::Image * mutable_image()
Definition: heightmapgeom.pb.h:647
bool has_image() const
Definition: heightmapgeom.pb.h:636
::std::string * mutable_normal()
Definition: heightmapgeom.pb.h:527
::std::string * release_diffuse()
Definition: heightmapgeom.pb.h:488
const ::std::string & diffuse() const
Definition: heightmapgeom.pb.h:463
void set_width(::google::protobuf::int32 value)
Definition: heightmapgeom.pb.h:787
::google::protobuf::int32 height() const
Definition: heightmapgeom.pb.h:797
std::unique_ptr< const HeightmapGeom > ConstHeightmapGeomUniquePtr
Definition: heightmapgeom.pb.h:946
HeightmapGeom & operator=(const HeightmapGeom &from)
Definition: heightmapgeom.pb.h:262
std::unique_ptr< HeightmapGeom > HeightmapGeomUniquePtr
Definition: heightmapgeom.pb.h:945
void clear_size()
Definition: heightmapgeom.pb.h:677
void clear_diffuse()
Definition: heightmapgeom.pb.h:460
void clear_min_height()
Definition: heightmapgeom.pb.h:566
void clear_normal()
Definition: heightmapgeom.pb.h:504
bool has_header() const
Definition: heightmapgeom.pb.h:598
::std::string * release_filename()
Definition: heightmapgeom.pb.h:910
::ignition::msgs::Vector3d * release_size()
Definition: heightmapgeom.pb.h:693
HeightmapGeom_Blend & operator=(const HeightmapGeom_Blend &from)
Definition: heightmapgeom.pb.h:173
void clear_blend()
Definition: heightmapgeom.pb.h:841
::ignition::msgs::Vector3d * mutable_origin()
Definition: heightmapgeom.pb.h:723
void set_normal(const ::std::string &value)
Definition: heightmapgeom.pb.h:511
::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Texture > * mutable_texture()
Definition: heightmapgeom.pb.h:827
void clear_texture()
Definition: heightmapgeom.pb.h:811
void clear_height()
Definition: heightmapgeom.pb.h:794
::google::protobuf::RepeatedField< float > * mutable_heights()
Definition: heightmapgeom.pb.h:774
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fheightmapgeom_2eproto()
int texture_size() const
Definition: heightmapgeom.pb.h:808
::google::protobuf::RepeatedPtrField< ::ignition::msgs::HeightmapGeom_Blend > * mutable_blend()
Definition: heightmapgeom.pb.h:857
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: heightmapgeom.pb.h:291
void set_size(double value)
Definition: heightmapgeom.pb.h:555
void protobuf_ShutdownFile_ignition_2fmsgs_2fheightmapgeom_2eproto()
bool has_origin() const
Definition: heightmapgeom.pb.h:712
Definition: heightmapgeom.pb.h:60
void set_allocated_origin(::ignition::msgs::Vector3d *origin)
Definition: heightmapgeom.pb.h:738
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: heightmapgeom.pb.h:202