Ignition Msgs

API Reference

5.6.0

#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
 
int ByteSize () const
 
bool cast_shadows () const
 
void Clear ()
 
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_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 CopyFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const Light &from)
 
const ::ignition::msgs::Colordiffuse () const
 
const ::ignition::msgs::Vector3ddirection () const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_diffuse () const
 
bool has_direction () const
 
bool has_header () const
 
bool has_pose () const
 
bool has_specular () const
 
const ::ignition::msgs::Headerheader () const
 
::google::protobuf::uint32 id () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *output) const
 
bool IsInitialized () const
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const Light &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
::ignition::msgs::Colormutable_diffuse ()
 
::ignition::msgs::Vector3dmutable_direction ()
 
::ignition::msgs::Headermutable_header ()
 
::std::stringmutable_name ()
 
::ignition::msgs::Posemutable_pose ()
 
::ignition::msgs::Colormutable_specular ()
 
const ::std::stringname () const
 
LightNew () const
 
LightNew (::google::protobuf::Arena *arena) const
 
Lightoperator= (const Light &from)
 
::google::protobuf::uint32 parent_id () const
 
const ::ignition::msgs::Posepose () const
 
float range () const
 
::ignition::msgs::Colorrelease_diffuse ()
 
::ignition::msgs::Vector3drelease_direction ()
 
::ignition::msgs::Headerrelease_header ()
 
::std::stringrelease_name ()
 
::ignition::msgs::Poserelease_pose ()
 
::ignition::msgs::Colorrelease_specular ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8 * SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
void set_allocated_diffuse (::ignition::msgs::Color *diffuse)
 
void set_allocated_direction (::ignition::msgs::Vector3d *direction)
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_name (::std::string *name)
 
void set_allocated_pose (::ignition::msgs::Pose *pose)
 
void set_allocated_specular (::ignition::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_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 (::ignition::msgs::Light_LightType value)
 
const ::ignition::msgs::Colorspecular () const
 
float spot_falloff () const
 
float spot_inner_angle () const
 
float spot_outer_angle () const
 
void Swap (Light *other)
 
::ignition::msgs::Light_LightType type () const
 

Static Public Member Functions

static const Lightdefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static const ::google::protobuf::EnumDescriptor * LightType_descriptor ()
 
static bool LightType_IsValid (int value)
 
static const ::std::stringLightType_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 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 LightType_ARRAYSIZE
 
static const LightType LightType_MAX
 
static const LightType LightType_MIN
 
static const LightType POINT
 
static const LightType SPOT
 

Friends

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2flight_2eproto ()
 
void protobuf_AssignDesc_ignition_2fmsgs_2flight_2eproto ()
 
void protobuf_ShutdownFile_ignition_2fmsgs_2flight_2eproto ()
 

Member Typedef Documentation

◆ LightType

Constructor & Destructor Documentation

◆ Light() [1/2]

Light ( )

◆ ~Light()

virtual ~Light ( )
virtual

◆ Light() [2/2]

Light ( const Light from)

Member Function Documentation

◆ attenuation_constant()

float attenuation_constant ( ) const
inline

◆ attenuation_linear()

float attenuation_linear ( ) const
inline

◆ attenuation_quadratic()

float attenuation_quadratic ( ) const
inline

◆ ByteSize()

int ByteSize ( ) const

◆ cast_shadows()

bool cast_shadows ( ) const
inline

◆ Clear()

void Clear ( )

◆ clear_attenuation_constant()

void clear_attenuation_constant ( )
inline

◆ clear_attenuation_linear()

void clear_attenuation_linear ( )
inline

◆ clear_attenuation_quadratic()

void clear_attenuation_quadratic ( )
inline

◆ clear_cast_shadows()

void clear_cast_shadows ( )
inline

◆ clear_diffuse()

void clear_diffuse ( )
inline

◆ clear_direction()

void clear_direction ( )
inline

◆ clear_header()

void clear_header ( )
inline

◆ clear_id()

void clear_id ( )
inline

◆ clear_name()

void clear_name ( )
inline

◆ clear_parent_id()

void clear_parent_id ( )
inline

◆ clear_pose()

void clear_pose ( )
inline

◆ clear_range()

void clear_range ( )
inline

◆ clear_specular()

void clear_specular ( )
inline

◆ clear_spot_falloff()

void clear_spot_falloff ( )
inline

◆ clear_spot_inner_angle()

void clear_spot_inner_angle ( )
inline

◆ clear_spot_outer_angle()

void clear_spot_outer_angle ( )
inline

◆ clear_type()

void clear_type ( )
inline

◆ CopyFrom() [1/2]

void CopyFrom ( const ::google::protobuf::Message &  from)

◆ CopyFrom() [2/2]

void CopyFrom ( const Light from)

◆ default_instance()

static const Light& default_instance ( )
static

Referenced by EntityFactory::light().

◆ descriptor()

static const ::google::protobuf::Descriptor* descriptor ( )
static

◆ diffuse()

const ::ignition::msgs::Color & diffuse ( ) const
inline

◆ direction()

const ::ignition::msgs::Vector3d & direction ( ) const
inline

◆ GetCachedSize()

int GetCachedSize ( ) const
inline

◆ GetMetadata()

::google::protobuf::Metadata GetMetadata ( ) const

◆ has_diffuse()

bool has_diffuse ( ) const
inline

◆ has_direction()

bool has_direction ( ) const
inline

◆ has_header()

bool has_header ( ) const
inline

◆ has_pose()

bool has_pose ( ) const
inline

◆ has_specular()

bool has_specular ( ) const
inline

◆ header()

const ::ignition::msgs::Header & header ( ) const
inline

◆ id()

google::protobuf::uint32 id ( ) const
inline

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  output 
) const

◆ IsInitialized()

bool IsInitialized ( ) const

◆ LightType_descriptor()

static const ::google::protobuf::EnumDescriptor* LightType_descriptor ( )
inlinestatic

◆ LightType_IsValid()

static bool LightType_IsValid ( int  value)
inlinestatic

◆ LightType_Name()

static const ::std::string& LightType_Name ( LightType  value)
inlinestatic

◆ LightType_Parse()

static bool LightType_Parse ( const ::std::string name,
LightType value 
)
inlinestatic

◆ MergeFrom() [1/2]

void MergeFrom ( const ::google::protobuf::Message &  from)

◆ MergeFrom() [2/2]

void MergeFrom ( const Light from)

◆ MergePartialFromCodedStream()

bool MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)

◆ mutable_diffuse()

ignition::msgs::Color * mutable_diffuse ( )
inline

◆ mutable_direction()

ignition::msgs::Vector3d * mutable_direction ( )
inline

◆ mutable_header()

ignition::msgs::Header * mutable_header ( )
inline

◆ mutable_name()

std::string * mutable_name ( )
inline

◆ mutable_pose()

ignition::msgs::Pose * mutable_pose ( )
inline

◆ mutable_specular()

ignition::msgs::Color * mutable_specular ( )
inline

◆ name()

const ::std::string & name ( ) const
inline

◆ New() [1/2]

Light* New ( ) const
inline

References Light::New().

Referenced by Light::New().

◆ New() [2/2]

Light* New ( ::google::protobuf::Arena *  arena) const

◆ operator=()

Light& operator= ( const Light from)
inline

◆ parent_id()

google::protobuf::uint32 parent_id ( ) const
inline

◆ pose()

const ::ignition::msgs::Pose & pose ( ) const
inline

◆ range()

float range ( ) const
inline

◆ release_diffuse()

ignition::msgs::Color * release_diffuse ( )
inline

◆ release_direction()

ignition::msgs::Vector3d * release_direction ( )
inline

◆ release_header()

ignition::msgs::Header * release_header ( )
inline

◆ release_name()

std::string * release_name ( )
inline

◆ release_pose()

ignition::msgs::Pose * release_pose ( )
inline

◆ release_specular()

ignition::msgs::Color * release_specular ( )
inline

◆ SerializeWithCachedSizes()

void SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const

◆ SerializeWithCachedSizesToArray()

::google::protobuf::uint8* SerializeWithCachedSizesToArray ( ::google::protobuf::uint8 *  output) const
inline

◆ set_allocated_diffuse()

void set_allocated_diffuse ( ::ignition::msgs::Color diffuse)
inline

◆ set_allocated_direction()

void set_allocated_direction ( ::ignition::msgs::Vector3d direction)
inline

◆ set_allocated_header()

void set_allocated_header ( ::ignition::msgs::Header header)
inline

◆ set_allocated_name()

void set_allocated_name ( ::std::string name)
inline

◆ set_allocated_pose()

void set_allocated_pose ( ::ignition::msgs::Pose pose)
inline

◆ set_allocated_specular()

void set_allocated_specular ( ::ignition::msgs::Color specular)
inline

◆ set_attenuation_constant()

void set_attenuation_constant ( float  value)
inline

◆ set_attenuation_linear()

void set_attenuation_linear ( float  value)
inline

◆ set_attenuation_quadratic()

void set_attenuation_quadratic ( float  value)
inline

◆ set_cast_shadows()

void set_cast_shadows ( bool  value)
inline

◆ set_id()

void set_id ( ::google::protobuf::uint32  value)
inline

◆ set_name() [1/3]

void set_name ( const ::std::string value)
inline

◆ set_name() [2/3]

void set_name ( const char *  value)
inline

◆ set_name() [3/3]

void set_name ( const char *  value,
size_t  size 
)
inline

◆ set_parent_id()

void set_parent_id ( ::google::protobuf::uint32  value)
inline

◆ set_range()

void set_range ( float  value)
inline

◆ set_spot_falloff()

void set_spot_falloff ( float  value)
inline

◆ set_spot_inner_angle()

void set_spot_inner_angle ( float  value)
inline

◆ set_spot_outer_angle()

void set_spot_outer_angle ( float  value)
inline

◆ set_type()

void set_type ( ::ignition::msgs::Light_LightType  value)
inline

◆ specular()

const ::ignition::msgs::Color & specular ( ) const
inline

◆ spot_falloff()

float spot_falloff ( ) const
inline

◆ spot_inner_angle()

float spot_inner_angle ( ) const
inline

◆ spot_outer_angle()

float spot_outer_angle ( ) const
inline

◆ Swap()

void Swap ( Light other)

◆ type()

ignition::msgs::Light_LightType type ( ) const
inline

Friends And Related Function Documentation

◆ protobuf_AddDesc_ignition_2fmsgs_2flight_2eproto

void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2flight_2eproto ( )
friend

◆ protobuf_AssignDesc_ignition_2fmsgs_2flight_2eproto

void protobuf_AssignDesc_ignition_2fmsgs_2flight_2eproto ( )
friend

◆ protobuf_ShutdownFile_ignition_2fmsgs_2flight_2eproto

void protobuf_ShutdownFile_ignition_2fmsgs_2flight_2eproto ( )
friend

Member Data Documentation

◆ DIRECTIONAL

const LightType DIRECTIONAL
static
Initial value:

◆ kAttenuationConstantFieldNumber

const int kAttenuationConstantFieldNumber = 7
static

◆ kAttenuationLinearFieldNumber

const int kAttenuationLinearFieldNumber = 8
static

◆ kAttenuationQuadraticFieldNumber

const int kAttenuationQuadraticFieldNumber = 9
static

◆ kCastShadowsFieldNumber

const int kCastShadowsFieldNumber = 12
static

◆ kDiffuseFieldNumber

const int kDiffuseFieldNumber = 5
static

◆ kDirectionFieldNumber

const int kDirectionFieldNumber = 10
static

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIdFieldNumber

const int kIdFieldNumber = 16
static

◆ kNameFieldNumber

const int kNameFieldNumber = 2
static

◆ kParentIdFieldNumber

const int kParentIdFieldNumber = 17
static

◆ kPoseFieldNumber

const int kPoseFieldNumber = 4
static

◆ kRangeFieldNumber

const int kRangeFieldNumber = 11
static

◆ kSpecularFieldNumber

const int kSpecularFieldNumber = 6
static

◆ kSpotFalloffFieldNumber

const int kSpotFalloffFieldNumber = 15
static

◆ kSpotInnerAngleFieldNumber

const int kSpotInnerAngleFieldNumber = 13
static

◆ kSpotOuterAngleFieldNumber

const int kSpotOuterAngleFieldNumber = 14
static

◆ kTypeFieldNumber

const int kTypeFieldNumber = 3
static

◆ LightType_ARRAYSIZE

const int LightType_ARRAYSIZE
static

◆ LightType_MAX

const LightType LightType_MAX
static

◆ LightType_MIN

const LightType LightType_MIN
static

◆ POINT

const LightType POINT
static
Initial value:

◆ SPOT

const LightType SPOT
static
Initial value:

The documentation for this class was generated from the following file: