#include <light.pb.h>
Public Types | |
typedef Light_LightType | LightType |
Public Member Functions | |
Light () | |
Light (const Light &from) | |
virtual | ~Light () |
float | attenuation_constant () const |
float | attenuation_linear () const |
float | attenuation_quadratic () const |
size_t | ByteSizeLong () const final |
bool | cast_shadows () const |
void | Clear () final |
void | clear_attenuation_constant () |
void | clear_attenuation_linear () |
void | clear_attenuation_quadratic () |
void | clear_cast_shadows () |
void | clear_diffuse () |
void | clear_direction () |
void | clear_header () |
void | clear_id () |
void | clear_intensity () |
void | clear_is_light_off () |
void | clear_name () |
void | clear_parent_id () |
void | clear_pose () |
void | clear_range () |
void | clear_specular () |
void | clear_spot_falloff () |
void | clear_spot_inner_angle () |
void | clear_spot_outer_angle () |
void | clear_type () |
void | clear_visualize_visual () |
void | CopyFrom (const ::google::protobuf::Message &from) final |
void | CopyFrom (const Light &from) |
const ::gz::msgs::Color & | diffuse () const |
const ::gz::msgs::Vector3d & | direction () const |
int | GetCachedSize () const final |
::google::protobuf::Metadata | GetMetadata () const final |
bool | has_diffuse () const |
bool | has_direction () const |
bool | has_header () const |
bool | has_pose () const |
bool | has_specular () const |
const ::gz::msgs::Header & | header () const |
::google::protobuf::uint32 | id () const |
float | intensity () const |
::google::protobuf::uint8 * | InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const final |
bool | is_light_off () const |
bool | IsInitialized () const final |
void | MergeFrom (const ::google::protobuf::Message &from) final |
void | MergeFrom (const Light &from) |
bool | MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final |
::gz::msgs::Color * | mutable_diffuse () |
::gz::msgs::Vector3d * | mutable_direction () |
::gz::msgs::Header * | mutable_header () |
::std::string * | mutable_name () |
::gz::msgs::Pose * | mutable_pose () |
::gz::msgs::Color * | mutable_specular () |
const ::std::string & | name () const |
Light * | New () const final |
Light * | New (::google::protobuf::Arena *arena) const final |
Light & | operator= (const Light &from) |
::google::protobuf::uint32 | parent_id () const |
const ::gz::msgs::Pose & | pose () const |
float | range () const |
::gz::msgs::Color * | release_diffuse () |
::gz::msgs::Vector3d * | release_direction () |
::gz::msgs::Header * | release_header () |
::std::string * | release_name () |
::gz::msgs::Pose * | release_pose () |
::gz::msgs::Color * | release_specular () |
void | SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final |
void | set_allocated_diffuse (::gz::msgs::Color *diffuse) |
void | set_allocated_direction (::gz::msgs::Vector3d *direction) |
void | set_allocated_header (::gz::msgs::Header *header) |
void | set_allocated_name (::std::string *name) |
void | set_allocated_pose (::gz::msgs::Pose *pose) |
void | set_allocated_specular (::gz::msgs::Color *specular) |
void | set_attenuation_constant (float value) |
void | set_attenuation_linear (float value) |
void | set_attenuation_quadratic (float value) |
void | set_cast_shadows (bool value) |
void | set_id (::google::protobuf::uint32 value) |
void | set_intensity (float value) |
void | set_is_light_off (bool value) |
void | set_name (const ::std::string &value) |
void | set_name (const char *value) |
void | set_name (const char *value, size_t size) |
void | set_parent_id (::google::protobuf::uint32 value) |
void | set_range (float value) |
void | set_spot_falloff (float value) |
void | set_spot_inner_angle (float value) |
void | set_spot_outer_angle (float value) |
void | set_type (::gz::msgs::Light_LightType value) |
void | set_visualize_visual (bool value) |
const ::gz::msgs::Color & | specular () const |
float | spot_falloff () const |
float | spot_inner_angle () const |
float | spot_outer_angle () const |
void | Swap (Light *other) |
::gz::msgs::Light_LightType | type () const |
bool | visualize_visual () const |
Static Public Member Functions | |
static const Light & | default_instance () |
static const ::google::protobuf::Descriptor * | descriptor () |
static void | InitAsDefaultInstance () |
static const Light * | internal_default_instance () |
static const ::google::protobuf::EnumDescriptor * | LightType_descriptor () |
static bool | LightType_IsValid (int value) |
static const ::std::string & | LightType_Name (LightType value) |
static bool | LightType_Parse (const ::std::string &name, LightType *value) |
Static Public Attributes | |
static const LightType | DIRECTIONAL |
static const int | kAttenuationConstantFieldNumber = 7 |
static const int | kAttenuationLinearFieldNumber = 8 |
static const int | kAttenuationQuadraticFieldNumber = 9 |
static const int | kCastShadowsFieldNumber = 12 |
static const int | kDiffuseFieldNumber = 5 |
static const int | kDirectionFieldNumber = 10 |
static const int | kHeaderFieldNumber = 1 |
static const int | kIdFieldNumber = 16 |
static constexpr int | kIndexInFileMessages |
static const int | kIntensityFieldNumber = 18 |
static const int | kIsLightOffFieldNumber = 19 |
static const int | kNameFieldNumber = 2 |
static const int | kParentIdFieldNumber = 17 |
static const int | kPoseFieldNumber = 4 |
static const int | kRangeFieldNumber = 11 |
static const int | kSpecularFieldNumber = 6 |
static const int | kSpotFalloffFieldNumber = 15 |
static const int | kSpotInnerAngleFieldNumber = 13 |
static const int | kSpotOuterAngleFieldNumber = 14 |
static const int | kTypeFieldNumber = 3 |
static const int | kVisualizeVisualFieldNumber = 20 |
static const int | LightType_ARRAYSIZE |
static const LightType | LightType_MAX |
static const LightType | LightType_MIN |
static const LightType | POINT |
static const LightType | SPOT |
Member Typedef Documentation
🔗LightType
typedef Light_LightType LightType |
Constructor & Destructor Documentation
🔗Light() [1/2]
Light | ( | ) |
🔗~Light()
|
virtual |
🔗Light() [2/2]
Member Function Documentation
🔗attenuation_constant()
|
inline |
🔗attenuation_linear()
|
inline |
🔗attenuation_quadratic()
|
inline |
🔗ByteSizeLong()
|
final |
🔗cast_shadows()
|
inline |
🔗Clear()
|
final |
🔗clear_attenuation_constant()
|
inline |
🔗clear_attenuation_linear()
|
inline |
🔗clear_attenuation_quadratic()
|
inline |
🔗clear_cast_shadows()
|
inline |
🔗clear_diffuse()
void clear_diffuse | ( | ) |
🔗clear_direction()
void clear_direction | ( | ) |
🔗clear_header()
void clear_header | ( | ) |
🔗clear_id()
|
inline |
🔗clear_intensity()
|
inline |
🔗clear_is_light_off()
|
inline |
🔗clear_name()
|
inline |
🔗clear_parent_id()
|
inline |
🔗clear_pose()
void clear_pose | ( | ) |
🔗clear_range()
|
inline |
🔗clear_specular()
void clear_specular | ( | ) |
🔗clear_spot_falloff()
|
inline |
🔗clear_spot_inner_angle()
|
inline |
🔗clear_spot_outer_angle()
|
inline |
🔗clear_type()
|
inline |
🔗clear_visualize_visual()
|
inline |
🔗CopyFrom() [1/2]
|
final |
🔗CopyFrom() [2/2]
void CopyFrom | ( | const Light & | from | ) |
🔗default_instance()
|
static |
🔗descriptor()
|
static |
🔗diffuse()
|
inline |
References gz::msgs::_Color_default_instance_.
Referenced by Light::set_allocated_diffuse().
🔗direction()
|
inline |
References gz::msgs::_Vector3d_default_instance_.
Referenced by Light::set_allocated_direction().
🔗GetCachedSize()
|
inlinefinal |
🔗GetMetadata()
|
final |
🔗has_diffuse()
|
inline |
References Light::internal_default_instance().
🔗has_direction()
|
inline |
References Light::internal_default_instance().
🔗has_header()
|
inline |
References Light::internal_default_instance().
🔗has_pose()
|
inline |
References Light::internal_default_instance().
🔗has_specular()
|
inline |
References Light::internal_default_instance().
🔗header()
|
inline |
References gz::msgs::_Header_default_instance_.
Referenced by Light::set_allocated_header().
🔗id()
|
inline |
🔗InitAsDefaultInstance()
|
static |
🔗intensity()
|
inline |
🔗internal_default_instance()
|
inlinestatic |
References gz::msgs::_Light_default_instance_.
Referenced by Light::has_diffuse(), Light::has_direction(), Light::has_header(), Light::has_pose(), and Light::has_specular().
🔗InternalSerializeWithCachedSizesToArray()
|
final |
🔗is_light_off()
|
inline |
🔗IsInitialized()
|
final |
🔗LightType_descriptor()
|
inlinestatic |
References gz::msgs::Light_LightType_descriptor().
🔗LightType_IsValid()
|
inlinestatic |
References gz::msgs::Light_LightType_IsValid().
🔗LightType_Name()
|
inlinestatic |
References gz::msgs::Light_LightType_Name().
🔗LightType_Parse()
|
inlinestatic |
References gz::msgs::Light_LightType_Parse().
🔗MergeFrom() [1/2]
|
final |
🔗MergeFrom() [2/2]
void MergeFrom | ( | const Light & | from | ) |
🔗MergePartialFromCodedStream()
|
final |
🔗mutable_diffuse()
|
inline |
🔗mutable_direction()
|
inline |
🔗mutable_header()
|
inline |
🔗mutable_name()
|
inline |
🔗mutable_pose()
|
inline |
🔗mutable_specular()
|
inline |
🔗name()
|
inline |
Referenced by Light::set_allocated_name().
🔗New() [1/2]
|
inlinefinal |
🔗New() [2/2]
|
inlinefinal |
🔗operator=()
🔗parent_id()
|
inline |
🔗pose()
|
inline |
References gz::msgs::_Pose_default_instance_.
Referenced by Light::set_allocated_pose().
🔗range()
|
inline |
🔗release_diffuse()
|
inline |
🔗release_direction()
|
inline |
🔗release_header()
|
inline |
🔗release_name()
|
inline |
🔗release_pose()
|
inline |
🔗release_specular()
|
inline |
🔗SerializeWithCachedSizes()
|
final |
🔗set_allocated_diffuse()
|
inline |
References Light::diffuse().
🔗set_allocated_direction()
|
inline |
References Light::direction().
🔗set_allocated_header()
|
inline |
References Light::header().
🔗set_allocated_name()
|
inline |
References Light::name().
🔗set_allocated_pose()
|
inline |
References Light::pose().
🔗set_allocated_specular()
|
inline |
References Light::specular().
🔗set_attenuation_constant()
|
inline |
🔗set_attenuation_linear()
|
inline |
🔗set_attenuation_quadratic()
|
inline |
🔗set_cast_shadows()
|
inline |
🔗set_id()
|
inline |
🔗set_intensity()
|
inline |
🔗set_is_light_off()
|
inline |
🔗set_name() [1/3]
|
inline |
🔗set_name() [2/3]
|
inline |
🔗set_name() [3/3]
|
inline |
🔗set_parent_id()
|
inline |
🔗set_range()
|
inline |
🔗set_spot_falloff()
|
inline |
🔗set_spot_inner_angle()
|
inline |
🔗set_spot_outer_angle()
|
inline |
🔗set_type()
|
inline |
🔗set_visualize_visual()
|
inline |
🔗specular()
|
inline |
References gz::msgs::_Color_default_instance_.
Referenced by Light::set_allocated_specular().
🔗spot_falloff()
|
inline |
🔗spot_inner_angle()
|
inline |
🔗spot_outer_angle()
|
inline |
🔗Swap()
void Swap | ( | Light * | other | ) |
🔗type()
|
inline |
🔗visualize_visual()
|
inline |
Member Data Documentation
🔗DIRECTIONAL
|
static |
🔗kAttenuationConstantFieldNumber
|
static |
🔗kAttenuationLinearFieldNumber
|
static |
🔗kAttenuationQuadraticFieldNumber
|
static |
🔗kCastShadowsFieldNumber
|
static |
🔗kDiffuseFieldNumber
|
static |
🔗kDirectionFieldNumber
|
static |
🔗kHeaderFieldNumber
|
static |
🔗kIdFieldNumber
|
static |
🔗kIndexInFileMessages
|
staticconstexpr |
🔗kIntensityFieldNumber
|
static |
🔗kIsLightOffFieldNumber
|
static |
🔗kNameFieldNumber
|
static |
🔗kParentIdFieldNumber
|
static |
🔗kPoseFieldNumber
|
static |
🔗kRangeFieldNumber
|
static |
🔗kSpecularFieldNumber
|
static |
🔗kSpotFalloffFieldNumber
|
static |
🔗kSpotInnerAngleFieldNumber
|
static |
🔗kSpotOuterAngleFieldNumber
|
static |
🔗kTypeFieldNumber
|
static |
🔗kVisualizeVisualFieldNumber
|
static |
🔗LightType_ARRAYSIZE
|
static |
🔗LightType_MAX
|
static |
🔗LightType_MIN
|
static |
🔗POINT
|
static |
🔗SPOT
|
static |
The documentation for this class was generated from the following file: