A QQUickItem that manages the render window.  
 More...
#include <MinimalScene.hh>
|  | 
| void | Ready () | 
|  | Slot called when thread is ready to be started. 
 | 
|  | 
A QQUickItem that manages the render window. 
◆ RenderWindowItem()
◆ ~RenderWindowItem()
◆ HandleKeyPress()
      
        
          | void HandleKeyPress | ( | const common::KeyEvent & | _e | ) |  | 
      
 
Handle key press event for snapping. 
- Parameters
- 
  
    | [in] | _e | The key event to process. |  
 
 
 
◆ HandleKeyRelease()
      
        
          | void HandleKeyRelease | ( | const common::KeyEvent & | _e | ) |  | 
      
 
Handle key release event for snapping. 
- Parameters
- 
  
    | [in] | _e | The key event to process. |  
 
 
 
◆ keyPressEvent()
◆ keyReleaseEvent()
  
  | 
        
          | virtual void keyReleaseEvent | ( | QKeyEvent * | _e | ) |  |  | overrideprotectedvirtual | 
 
 
◆ mouseMoveEvent()
◆ mousePressEvent()
◆ mouseReleaseEvent()
◆ OnDropped()
Callback when receives a drop event. 
- Parameters
- 
  
    | [in] | _drop | Dropped string. |  | [in] | _dropPos | x coordinate of mouse position. |  
 
 
 
◆ OnHovered()
Called when the mouse hovers to a new position. 
- Parameters
- 
  
    | [in] | _hoverPos | 2D coordinates of the hovered mouse position on the render window. |  
 
 
 
◆ Ready
Slot called when thread is ready to be started. 
 
 
◆ SetAmbientLight()
      
        
          | void SetAmbientLight | ( | const math::Color & | _ambient | ) |  | 
      
 
Set ambient light of render window. 
- Parameters
- 
  
    | [in] | _ambient | Color of ambient light |  
 
 
 
◆ SetBackgroundColor()
      
        
          | void SetBackgroundColor | ( | const math::Color & | _color | ) |  | 
      
 
Set background color of render window. 
- Parameters
- 
  
    | [in] | _color | Color of render window background |  
 
 
 
◆ SetCameraFarClip()
      
        
          | void SetCameraFarClip | ( | double | _far | ) |  | 
      
 
Set the render window camera's far clipping plane distance. 
- Parameters
- 
  
    | [in] | _far | Far clipping plane distance |  
 
 
 
◆ SetCameraHFOV()
      
        
          | void SetCameraHFOV | ( | const math::Angle & | _fov | ) |  | 
      
 
Set the Horizontal FOV of the camera. 
- Parameters
- 
  
    | [in] | _fov | FOV of the camera in degree |  
 
 
 
◆ SetCameraNearClip()
      
        
          | void SetCameraNearClip | ( | double | _near | ) |  | 
      
 
Set the render window camera's near clipping plane distance. 
- Parameters
- 
  
    | [in] | _near | Near clipping plane distance |  
 
 
 
◆ SetCameraPose()
      
        
          | void SetCameraPose | ( | const math::Pose3d & | _pose | ) |  | 
      
 
Set the initial pose the render window camera. 
- Parameters
- 
  
    | [in] | _pose | Initial camera pose |  
 
 
 
◆ SetCameraViewController()
      
        
          | void SetCameraViewController | ( | const std::string & | _view_controller | ) |  | 
      
 
Set the camera view controller. 
- Parameters
- 
  
    | [in] | _view_controller | The camera view controller type to set |  
 
 
 
◆ SetEngineName()
Set engine name used to create the render window. 
- Parameters
- 
  
    | [in] | _name | Name of render engine |  
 
 
 
◆ SetErrorCb()
Set a callback to be called in case there are errors. 
- Parameters
- 
  
  
 
 
◆ SetGraphicsAPI()
      
        
          | void SetGraphicsAPI | ( | const rendering::GraphicsAPI & | _graphicsAPI | ) |  | 
      
 
Set the graphics API. 
- Parameters
- 
  
    | [in] | _graphicsAPI | The type of graphics API |  
 
 
 
◆ SetSceneName()
Set name of scene created inside the render window. 
- Parameters
- 
  
  
 
 
◆ SetShadowTextureSize()
      
        
          | bool SetShadowTextureSize | ( | rendering::LightType | _lightType, | 
        
          |  |  | unsigned int | _textureSize | 
        
          |  | ) |  |  | 
      
 
Set the shadow texture size for the given light type. 
- Parameters
- 
  
    | _lightType | Light type that creates the shadow |  | _textureSize | Shadow texture size |  
 
 
 
◆ SetSkyEnabled()
      
        
          | void SetSkyEnabled | ( | const bool & | _sky | ) |  | 
      
 
Set if sky is enabled. 
- Parameters
- 
  
    | [in] | _sky | True to enable the sky, false otherwise. |  
 
 
 
◆ StopRendering()
Stop rendering and shutdown resources. 
 
 
◆ wheelEvent()
The documentation for this class was generated from the following file: