Provides video recording capabilities to the 3D scene.  
 More...
#include <VideoRecorder.hh>
 | 
| void  | OnCancel () | 
|   | Callback when user cancels saving the recorded video.  
  | 
|   | 
| void  | OnSave (const QString &_url) | 
|   | Callback when user selects a path to save the recorded video.  
  | 
|   | 
| void  | OnStart (const QString &_format) | 
|   | Callback when video record start request is received.  
  | 
|   | 
| void  | OnStop () | 
|   | Callback when video record stop request is received.  
  | 
|   | 
Provides video recording capabilities to the 3D scene. 
 
◆ VideoRecorder()
◆ ~VideoRecorder()
◆ eventFilter()
  
  
      
        
          | bool eventFilter  | 
          ( | 
          QObject *  | 
          _obj,  | 
         
        
           | 
           | 
          QEvent *  | 
          _event  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
override   | 
  
 
 
◆ LoadConfig()
  
  
      
        
          | void LoadConfig  | 
          ( | 
          const tinyxml2::XMLElement *  | 
          _pluginElem | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ OnCancel
Callback when user cancels saving the recorded video. 
 
 
◆ OnSave
  
  
      
        
          | void OnSave  | 
          ( | 
          const QString &  | 
          _url | ) | 
           | 
         
       
   | 
  
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
  
  
      
        
          | void OnStart  | 
          ( | 
          const QString &  | 
          _format | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
Callback when video record start request is received. 
- Parameters
 - 
  
    | [in] | _format | Video encoding format  | 
  
   
 
 
◆ OnStop
Callback when video record stop request is received. 
 
 
◆ Update()
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: