#include <GLWidget.hh>
Inherits QWidget.
Unique identifiers for all selection levels supported. 
| Enumerator | 
|---|
| MODEL  | 
 Model level.  
 | 
| LINK  | 
 Link level.  
 | 
 
 
Return the user camera. 
- Returns
 - User camera. 
 
 
 
  
  
      
        
          | virtual void enterEvent  | 
          ( | 
          QEvent *  | 
          _event | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
  
  
      
        
          | void keyPressEvent  | 
          ( | 
          QKeyEvent *  | 
          _event | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | void keyReleaseEvent  | 
          ( | 
          QKeyEvent *  | 
          _event | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | void mouseDoubleClickEvent  | 
          ( | 
          QMouseEvent *  | 
          _event | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | void mouseMoveEvent  | 
          ( | 
          QMouseEvent *  | 
          _event | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | void mousePressEvent  | 
          ( | 
          QMouseEvent *  | 
          _event | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | void mouseReleaseEvent  | 
          ( | 
          QMouseEvent *  | 
          _event | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | virtual void moveEvent  | 
          ( | 
          QMoveEvent *  | 
          _e | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
  
  
      
        
          | virtual QPaintEngine* paintEngine  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
protectedvirtual   | 
  
 
Override paintEngine to stop Qt From trying to draw on top of OGRE. 
- Returns
 - NULL. 
 
 
 
  
  
      
        
          | virtual void paintEvent  | 
          ( | 
          QPaintEvent *  | 
          _e | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
  
  
      
        
          | virtual void resizeEvent  | 
          ( | 
          QResizeEvent *  | 
          _e | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
Return the scene. 
- Returns
 - Scene. 
 
 
 
Returns the list of selected visuals. 
- Returns
 - List with pointers to selected visuals. 
 
 
 
  
  
      
        
          | void selectionMsgReceived  | 
          ( | 
          const QString &  | 
          _name | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
QT signal to notify when we received a selection msg. 
- Parameters
 - 
  
    | [in] | _name | Name of the selected entity.  | 
  
   
 
 
  
  
      
        
          | virtual void showEvent  | 
          ( | 
          QShowEvent *  | 
          _e | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
Custom processing for the QT showEvent. 
Based on empirical evidence, we believe Mac needs to create the render window in this function. 
- Parameters
 - 
  
    | [in] | _e | The QT show event information.  | 
  
   
 
 
View a scene in this widget. 
This will use the scene's UserCamera to visualize the scene. If a UserCamera does not exist, one is created with the name "gzclient_camera". 
- Parameters
 - 
  
    | [in] | _scene | Pointer to the scene to visualize.  | 
  
   
 
 
  
  
      
        
          | void wheelEvent  | 
          ( | 
          QWheelEvent *  | 
          _event | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: