Gazebo Sim

API Reference

8.7.0

Provides buttons for adding a point, directional, or spot light to the scene. More...

#include <Lights.hh>

Public Slots

void OnNewLightClicked (const QString &_sdfString)
 Callback in Qt thread when mode changes. More...
 

Public Member Functions

 Lights ()
 Constructor. More...
 
 ~Lights () override
 Destructor. More...
 
void LoadConfig (const tinyxml2::XMLElement *_pluginElem) override
 
- Public Member Functions inherited from Plugin
 Plugin ()
 
virtual ~Plugin ()
 
QQuickItem * CardItem () const
 
virtual std::string ConfigStr ()
 
QQmlContext * Context () const
 
bool DeleteLaterRequested () const
 
void Load (const tinyxml2::XMLElement *_pluginElem)
 
QQuickItem * PluginItem () const
 
void PostParentChanges ()
 
virtual std::string Title () const
 

Additional Inherited Members

- Protected Member Functions inherited from Plugin
void DeleteLater ()
 
- Protected Attributes inherited from Plugin
std::string configStr
 
std::string title
 

Detailed Description

Provides buttons for adding a point, directional, or spot light to the scene.

Constructor & Destructor Documentation

◆ Lights()

Lights ( )

Constructor.

◆ ~Lights()

~Lights ( )
override

Destructor.

Member Function Documentation

◆ LoadConfig()

void LoadConfig ( const tinyxml2::XMLElement *  _pluginElem)
overridevirtual

Reimplemented from Plugin.

◆ OnNewLightClicked

void OnNewLightClicked ( const QString &  _sdfString)
slot

Callback in Qt thread when mode changes.

Parameters
[in]_sdfStringtype name of the light to be created

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