21 #include <ignition/math/Pose3.hh>    22 #include <ignition/math/Angle.hh>    26 #include "sdf/sdf_config.h"    32   inline namespace SDF_VERSION_NAMESPACE {
    99     public: 
void SetType(
const LightType _type);
   103     public: std::string Name() 
const;
   107     public: 
void SetName(
const std::string &_name) 
const;
   114     public: 
const ignition::math::Pose3d &Pose() 
const;
   119     public: 
void SetPose(
const ignition::math::Pose3d &_pose);
   125     public: 
const std::string &PoseFrame() 
const;
   131     public: 
void SetPoseFrame(
const std::string &_frame);
   135     public: 
bool CastShadows() 
const;
   139     public: 
void SetCastShadows(
const bool _cast);
   145     public: ignition::math::Color Diffuse() 
const;
   151     public: 
void SetDiffuse(
const ignition::math::Color &_color) 
const;
   157     public: ignition::math::Color Specular() 
const;
   163     public: 
void SetSpecular(
const ignition::math::Color &_color) 
const;
   167     public: 
double AttenuationRange() 
const;
   171     public: 
void SetAttenuationRange(
const double _range);
   177     public: 
double LinearAttenuationFactor() 
const;
   183     public: 
void SetLinearAttenuationFactor(
const double _factor);
   189     public: 
double ConstantAttenuationFactor() 
const;
   195     public: 
void SetConstantAttenuationFactor(
const double _factor);
   200     public: 
double QuadraticAttenuationFactor() 
const;
   205     public: 
void SetQuadraticAttenuationFactor(
const double _factor);
   211     public: ignition::math::Vector3d Direction() 
const;
   216     public: 
void SetDirection(
const ignition::math::Vector3d  &_dir);
   221     public: ignition::math::Angle SpotInnerAngle() 
const;
   226     public: 
void SetSpotInnerAngle(
const ignition::math::Angle &_angle);
   231     public: ignition::math::Angle SpotOuterAngle() 
const;
   236     public: 
void SetSpotOuterAngle(
const ignition::math::Angle &_angle);
   243     public: 
double SpotFalloff() 
const;
   250     public: 
void SetSpotFalloff(
const double _falloff);
   260     private: 
void CopyFrom(
const Light &_light);
   263     private: LightPrivate *dataPtr = 
nullptr;
 Provides a description of a light source. 
Definition: Light.hh:59
 
class SDFORMAT_VISIBLE Element
Definition: Element.hh:47
 
LightType
The set of light types. 
Definition: Light.hh:41
 
A directional light source. 
 
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:51
 
std::vector< Error > Errors
A vector of Error. 
Definition: Types.hh:74
 
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported. 
Definition: system_util.hh:48
 
namespace for Simulation Description Format parser 
Definition: AirPressure.hh:25