VideoRecorder Class Reference
Provides video recording cababilities to the 3D scene. More...
#include <VideoRecorder.hh>
Public Slots | |
void | OnCancel () |
Callback when user cancels saving the recorded video. More... | |
void | OnSave (const QString &_url) |
Callback when user selects a path to save the recorded video. More... | |
void | OnStart (const QString &_format) |
Callback when video record start request is received. More... | |
void | OnStop () |
Callback when video record stop request is received. More... | |
Public Member Functions | |
VideoRecorder () | |
Constructor. More... | |
~VideoRecorder () override | |
Destructor. More... | |
bool | eventFilter (QObject *_obj, QEvent *_event) override |
void | LoadConfig (const tinyxml2::XMLElement *_pluginElem) override |
void | Update (const UpdateInfo &_info, EntityComponentManager &_ecm) override |
Update callback called every time the system is stepped. This is called at a Gazebo Transport thread, so any interaction with Qt should be done through signals and slots. More... | |
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 video recording cababilities to the 3D scene.
Constructor & Destructor Documentation
◆ VideoRecorder()
VideoRecorder | ( | ) |
Constructor.
◆ ~VideoRecorder()
|
override |
Destructor.
Member Function Documentation
◆ eventFilter()
|
override |
◆ LoadConfig()
|
overridevirtual |
Reimplemented from Plugin.
◆ OnCancel
|
slot |
Callback when user cancels saving the recorded video.
◆ OnSave
|
slot |
Callback when user selects a path to save the recorded video.
- Parameters
-
[in] _url Path of the file to save the recorded video
◆ OnStart
|
slot |
Callback when video record start request is received.
- Parameters
-
[in] _format Video encoding format
◆ OnStop
|
slot |
Callback when video record stop request is received.
◆ Update()
|
overridevirtual |
Update callback called every time the system is stepped. This is called at a Gazebo Transport thread, so any interaction with Qt should be done through signals and slots.
- Parameters
-
[in] _info Current simulation information, such as time. [in] _ecm Mutable reference to the ECM, so the system can read and write entities and their components.
Reimplemented from GuiSystem.
The documentation for this class was generated from the following file: