22 #include <ignition/math/Pose3.hh>    23 #include <ignition/math/Angle.hh>    24 #include <ignition/utils/ImplPtr.hh>    29 #include "sdf/sdf_config.h"    35   inline namespace SDF_VERSION_NAMESPACE {
    39   struct PoseRelativeToGraph;
    40   template <
typename T> 
class ScopedGraph;
    82     public: 
void SetType(
const LightType _type);
    86     public: std::string Name() 
const;
    90     public: 
void SetName(
const std::string &_name);
    97     public: 
const ignition::math::Pose3d &RawPose() 
const;
   102     public: 
void SetRawPose(
const ignition::math::Pose3d &_pose);
   108     public: 
const std::string &PoseRelativeTo() 
const;
   114     public: 
void SetPoseRelativeTo(
const std::string &_frame);
   123     public: 
bool CastShadows() 
const;
   127     public: 
void SetCastShadows(
const bool _cast);
   131     public: 
double Intensity() 
const;
   135     public: 
void SetIntensity(
const double _intensity);
   141     public: ignition::math::Color Diffuse() 
const;
   147     public: 
void SetDiffuse(
const ignition::math::Color &_color);
   153     public: ignition::math::Color Specular() 
const;
   159     public: 
void SetSpecular(
const ignition::math::Color &_color);
   163     public: 
double AttenuationRange() 
const;
   167     public: 
void SetAttenuationRange(
const double _range);
   173     public: 
double LinearAttenuationFactor() 
const;
   179     public: 
void SetLinearAttenuationFactor(
const double _factor);
   185     public: 
double ConstantAttenuationFactor() 
const;
   191     public: 
void SetConstantAttenuationFactor(
const double _factor);
   196     public: 
double QuadraticAttenuationFactor() 
const;
   201     public: 
void SetQuadraticAttenuationFactor(
const double _factor);
   207     public: ignition::math::Vector3d Direction() 
const;
   212     public: 
void SetDirection(
const ignition::math::Vector3d  &_dir);
   217     public: ignition::math::Angle SpotInnerAngle() 
const;
   222     public: 
void SetSpotInnerAngle(
const ignition::math::Angle &_angle);
   227     public: ignition::math::Angle SpotOuterAngle() 
const;
   232     public: 
void SetSpotOuterAngle(
const ignition::math::Angle &_angle);
   239     public: 
double SpotFalloff() 
const;
   246     public: 
void SetSpotFalloff(
const double _falloff);
   256     private: 
void CopyFrom(
const Light &_light);
   262     private: 
void SetXmlParentName(
const std::string &_xmlParentName);
   268     private: 
void SetPoseRelativeToGraph(
   269         sdf::ScopedGraph<PoseRelativeToGraph> _graph);
   279     IGN_UTILS_IMPL_PTR(dataPtr)
 LightType
The set of light types. 
Definition: Light.hh:45
 
Provides a description of a light source. 
Definition: Light.hh:63
 
A directional light source. 
 
std::vector< Error > Errors
A vector of Error. 
Definition: Types.hh:98
 
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported. 
Definition: system_util.hh:41
 
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
 
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
 
SemanticPose is a data structure that can be used by different DOM objects to resolve poses on a Pose...
Definition: SemanticPose.hh:54
 
namespace for Simulation Description Format parser 
Definition: Actor.hh:33