Class to manage lasso selection.  
 More...
#include <SelectionSystem.h>
Class to manage lasso selection. 
Definition at line 267 of file SelectionSystem.h.
      
        
          | reto::SelectionSystem::Lasso::Lasso | ( | const unsigned int & | width, | 
        
          |  |  | const unsigned int & | height | 
        
          |  | ) |  |  | 
      
 
Lasso constructor. 
- Parameters
- 
  
    | width | screen width |  | height | screen height |  
 
 
 
      
        
          | void reto::SelectionSystem::Lasso::addObject | ( | reto::Pickable * | object | ) |  | 
      
 
Method to add a pickable object. 
- Parameters
- 
  
  
 
 
      
        
          | void reto::SelectionSystem::Lasso::mouseDown | ( | const Point & | point | ) |  | 
      
 
Method used on mouse down callback to get a point. 
- Parameters
- 
  
    | point | first point of the selection |  
 
 
 
      
        
          | void reto::SelectionSystem::Lasso::mouseMove | ( | const Point & | point | ) |  | 
      
 
Method used on mouse move callback to get the a point. 
- Parameters
- 
  
    | point | next point of the selection |  
 
 
 
      
        
          | void reto::SelectionSystem::Lasso::mouseUp | ( | const Point & | point, | 
        
          |  |  | float * | viewProj | 
        
          |  | ) |  |  | 
      
 
Method used on mouse up callback to get the a point, call to transform feedback and clear points. 
- Parameters
- 
  
    | point | last point of the selection |  | viewProj | view projection matrix |  
 
 
 
Method to get program handler for filling. 
- Returns
- program handler. 
 
 
Method to get program handler for line. 
- Returns
- program handler. 
 
 
      
        
          | void reto::SelectionSystem::Lasso::removeObject | ( | reto::Pickable * | object | ) |  | 
      
 
Method to remove a pickable object. 
- Parameters
- 
  
  
 
 
      
        
          | void reto::SelectionSystem::Lasso::resize | ( | const unsigned int & | width, | 
        
          |  |  | const unsigned int & | height | 
        
          |  | ) |  |  | 
      
 
Method used on resize callback to change width and height for calculating points. 
- Parameters
- 
  
    | width | screen width |  | height | screen height |  
 
 
 
      
        
          | void reto::SelectionSystem::Lasso::setColor | ( | const Eigen::Vector4f & | color | ) |  | 
      
 
Method to set the selection color. 
- Parameters
- 
  
  
 
 
      
        
          | void reto::SelectionSystem::Lasso::setLineWidth | ( | const float & | width | ) |  | 
      
 
Method to set the width of the border line of the selection. 
- Parameters
- 
  
  
 
 
The documentation for this class was generated from the following file: