4 #ifndef PROTOBUF_ignition_2fmsgs_2fcamera_5flens_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fcamera_5flens_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 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 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. 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> 32 #pragma GCC system_header 35 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 38 #include <sys/sysmacros.h> 56 class IGNITION_MSGS_VISIBLE
CameraLens :
public ::google::protobuf::Message {
68 static const ::google::protobuf::Descriptor* descriptor();
77 CameraLens* New(::google::protobuf::Arena* arena)
const;
78 void CopyFrom(const ::google::protobuf::Message& from);
79 void MergeFrom(const ::google::protobuf::Message& from);
83 bool IsInitialized()
const;
86 bool MergePartialFromCodedStream(
87 ::google::protobuf::io::CodedInputStream* input);
88 void SerializeWithCachedSizes(
89 ::google::protobuf::io::CodedOutputStream* output)
const;
90 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
91 bool deterministic, ::google::protobuf::uint8* output)
const;
93 return InternalSerializeWithCachedSizesToArray(
false, output);
99 void SetCachedSize(
int size)
const;
102 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
103 return _internal_metadata_.arena();
105 inline void* MaybeArenaPtr()
const {
106 return _internal_metadata_.raw_arena_ptr();
110 ::google::protobuf::Metadata GetMetadata()
const;
117 bool has_header()
const;
119 static const int kHeaderFieldNumber = 1;
120 const ::ignition::msgs::Header& header()
const;
127 static const int kTypeFieldNumber = 2;
128 const ::std::string& type()
const;
129 void set_type(const ::std::string& value);
130 void set_type(
const char* value);
131 void set_type(
const char* value,
size_t size);
138 static const int kC1FieldNumber = 3;
140 void set_c1(
double value);
144 static const int kC2FieldNumber = 4;
146 void set_c2(
double value);
150 static const int kC3FieldNumber = 5;
152 void set_c3(
double value);
156 static const int kFFieldNumber = 6;
158 void set_f(
double value);
162 static const int kFunFieldNumber = 7;
163 const ::std::string& fun()
const;
164 void set_fun(const ::std::string& value);
165 void set_fun(
const char* value);
166 void set_fun(
const char* value,
size_t size);
172 void clear_scale_to_hfov();
173 static const int kScaleToHfovFieldNumber = 8;
174 bool scale_to_hfov()
const;
175 void set_scale_to_hfov(
bool value);
178 void clear_cutoff_angle();
179 static const int kCutoffAngleFieldNumber = 9;
180 double cutoff_angle()
const;
181 void set_cutoff_angle(
double value);
185 static const int kHfovFieldNumber = 10;
187 void set_hfov(
double value);
190 void clear_env_texture_size();
191 static const int kEnvTextureSizeFieldNumber = 11;
192 ::google::protobuf::int32 env_texture_size()
const;
193 void set_env_texture_size(::google::protobuf::int32 value);
198 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
199 bool _is_default_instance_;
201 ::google::protobuf::internal::ArenaStringPtr type_;
206 ::google::protobuf::internal::ArenaStringPtr fun_;
207 double cutoff_angle_;
209 ::google::protobuf::int32 env_texture_size_;
211 mutable int _cached_size_;
216 void InitAsDefaultInstance();
224 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 229 return !_is_default_instance_ && header_ != NULL;
232 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
237 return header_ != NULL ? *header_ : *default_instance_->header_;
241 if (header_ == NULL) {
242 header_ = new ::ignition::msgs::Header;
267 type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
271 return type_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
275 type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
280 type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
285 type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
286 ::
std::string(reinterpret_cast<const char*>(value), size));
292 return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
297 return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
305 type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type);
367 fun_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
371 return fun_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
375 fun_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
380 fun_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
385 fun_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
386 ::
std::string(reinterpret_cast<const char*>(value), size));
392 return fun_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
397 return fun_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
405 fun_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fun);
411 scale_to_hfov_ =
false;
415 return scale_to_hfov_;
419 scale_to_hfov_ = value;
429 return cutoff_angle_;
433 cutoff_angle_ = value;
453 env_texture_size_ = 0;
457 return env_texture_size_;
461 env_texture_size_ = value;
465 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 481 #endif // PROTOBUF_ignition_2fmsgs_2fcamera_5flens_2eproto__INCLUDED void set_allocated_fun(::std::string *fun)
Definition: camera_lens.pb.h:399
CameraLens & operator=(const CameraLens &from)
Definition: camera_lens.pb.h:63
void clear_c1()
Definition: camera_lens.pb.h:310
std::unique_ptr< const CameraLens > ConstCameraLensUniquePtr
Definition: camera_lens.pb.h:468
void clear_fun()
Definition: camera_lens.pb.h:366
::std::string * mutable_fun()
Definition: camera_lens.pb.h:389
void protobuf_AssignDesc_ignition_2fmsgs_2fcamera_5flens_2eproto()
void set_c3(double value)
Definition: camera_lens.pb.h:345
std::shared_ptr< CameraLens > CameraLensSharedPtr
Definition: camera_lens.pb.h:469
::google::protobuf::int32 env_texture_size() const
Definition: camera_lens.pb.h:455
void set_hfov(double value)
Definition: camera_lens.pb.h:445
void set_allocated_type(::std::string *type)
Definition: camera_lens.pb.h:299
void set_c1(double value)
Definition: camera_lens.pb.h:317
void set_f(double value)
Definition: camera_lens.pb.h:359
const ::std::string & fun() const
Definition: camera_lens.pb.h:369
::std::string * release_type()
Definition: camera_lens.pb.h:294
bool scale_to_hfov() const
Definition: camera_lens.pb.h:413
void set_env_texture_size(::google::protobuf::int32 value)
Definition: camera_lens.pb.h:459
double c3() const
Definition: camera_lens.pb.h:341
std::shared_ptr< const CameraLens > ConstCameraLensSharedPtr
Definition: camera_lens.pb.h:470
::ignition::msgs::Header * release_header()
Definition: camera_lens.pb.h:247
double f() const
Definition: camera_lens.pb.h:355
void clear_hfov()
Definition: camera_lens.pb.h:438
void clear_c2()
Definition: camera_lens.pb.h:324
const ::std::string & type() const
Definition: camera_lens.pb.h:269
::std::string * mutable_type()
Definition: camera_lens.pb.h:289
int GetCachedSize() const
Definition: camera_lens.pb.h:95
std::unique_ptr< CameraLens > CameraLensUniquePtr
Definition: camera_lens.pb.h:467
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fcamera_5flens_2eproto()
::std::string * release_fun()
Definition: camera_lens.pb.h:394
void protobuf_ShutdownFile_ignition_2fmsgs_2fcamera_5flens_2eproto()
double c1() const
Definition: camera_lens.pb.h:313
void set_allocated_header(::ignition::msgs::Header *header)
Definition: camera_lens.pb.h:254
void clear_c3()
Definition: camera_lens.pb.h:338
void clear_scale_to_hfov()
Definition: camera_lens.pb.h:410
void set_fun(const ::std::string &value)
Definition: camera_lens.pb.h:373
void set_type(const ::std::string &value)
Definition: camera_lens.pb.h:273
void clear_header()
Definition: camera_lens.pb.h:231
double hfov() const
Definition: camera_lens.pb.h:441
void set_scale_to_hfov(bool value)
Definition: camera_lens.pb.h:417
void clear_f()
Definition: camera_lens.pb.h:352
void clear_env_texture_size()
Definition: camera_lens.pb.h:452
Definition: camera_lens.pb.h:56
::ignition::msgs::Header * mutable_header()
Definition: camera_lens.pb.h:239
bool has_header() const
Definition: camera_lens.pb.h:228
double c2() const
Definition: camera_lens.pb.h:327
CameraLens * New() const
Definition: camera_lens.pb.h:75
double cutoff_angle() const
Definition: camera_lens.pb.h:427
void set_cutoff_angle(double value)
Definition: camera_lens.pb.h:431
void set_c2(double value)
Definition: camera_lens.pb.h:331
const ::ignition::msgs::Header & header() const
Definition: camera_lens.pb.h:235
void clear_cutoff_angle()
Definition: camera_lens.pb.h:424
void clear_type()
Definition: camera_lens.pb.h:266
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: camera_lens.pb.h:92