#include <anatomist/window3D/trackball.h>
|  | 
|  | Trackball () | 
|  | 
|  | Trackball (const Trackball &a) | 
|  | 
| virtual | ~Trackball () | 
|  | 
| virtual std::string | name () const | 
|  | 
| QWidget * | actionView (QWidget *) | 
|  | 
| bool | viewableAction () const | 
|  | 
| virtual void | beginTrackball (int x, int y, int globalX, int globalY) | 
|  | 
| virtual void | moveTrackball (int x, int y, int globalX, int globalY) | 
|  | 
| virtual bool | moveTrackballInternal (int x, int y) | 
|  | Performs trackball calculations, but doesn't update view.  More... 
 | 
|  | 
| virtual void | endTrackball (int x, int y, int globalX, int globalY) | 
|  | 
| void | setCenter () | 
|  | 
| void | showRotationCenter () | 
|  | 
| virtual aims::Quaternion | rotation (int x, int y) | 
|  | 
|  | Action () | 
|  | 
| virtual | ~Action () | 
|  | 
| void | setView (View *view) | 
|  | 
| virtual bool | isSingleton () | 
|  | 
| View * | view () | 
|  | 
Definition at line 52 of file trackball.h.
 
◆ Trackball() [1/2]
      
        
          | anatomist::Trackball::Trackball | ( |  | ) |  | 
      
 
 
◆ Trackball() [2/2]
      
        
          | anatomist::Trackball::Trackball | ( | const Trackball & | a | ) |  | 
      
 
 
◆ ~Trackball()
  
  | 
        
          | virtual anatomist::Trackball::~Trackball | ( |  | ) |  |  | virtual | 
 
 
◆ actionView()
  
  | 
        
          | QWidget* anatomist::Trackball::actionView | ( | QWidget * |  | ) |  |  | virtual | 
 
 
◆ beginTrackball()
  
  | 
        
          | virtual void anatomist::Trackball::beginTrackball | ( | int | x, |  
          |  |  | int | y, |  
          |  |  | int | globalX, |  
          |  |  | int | globalY |  
          |  | ) |  |  |  | virtual | 
 
 
◆ creator()
  
  | 
        
          | static Action* anatomist::Trackball::creator | ( |  | ) |  |  | static | 
 
 
◆ endTrackball()
  
  | 
        
          | virtual void anatomist::Trackball::endTrackball | ( | int | x, |  
          |  |  | int | y, |  
          |  |  | int | globalX, |  
          |  |  | int | globalY |  
          |  | ) |  |  |  | virtual | 
 
 
◆ initQuaternion()
  
  | 
        
          | static aims::Quaternion anatomist::Trackball::initQuaternion | ( | float | x1, |  
          |  |  | float | y1, |  
          |  |  | float | x2, |  
          |  |  | float | y2 |  
          |  | ) |  |  |  | staticprotected | 
 
 
◆ moveTrackball()
  
  | 
        
          | virtual void anatomist::Trackball::moveTrackball | ( | int | x, |  
          |  |  | int | y, |  
          |  |  | int | globalX, |  
          |  |  | int | globalY |  
          |  | ) |  |  |  | virtual | 
 
 
◆ moveTrackballInternal()
  
  | 
        
          | virtual bool anatomist::Trackball::moveTrackballInternal | ( | int | x, |  
          |  |  | int | y |  
          |  | ) |  |  |  | virtual | 
 
Performs trackball calculations, but doesn't update view. 
- Returns
- true if something has changed (view must be updated) 
 
 
◆ name()
  
  | 
        
          | virtual std::string anatomist::Trackball::name | ( |  | ) | const |  | virtual | 
 
 
◆ rotation()
◆ setCenter()
      
        
          | void anatomist::Trackball::setCenter | ( |  | ) |  | 
      
 
 
◆ showRotationCenter()
      
        
          | void anatomist::Trackball::showRotationCenter | ( |  | ) |  | 
      
 
 
◆ tbProj2Sphere()
  
  | 
        
          | static float anatomist::Trackball::tbProj2Sphere | ( | float | r, |  
          |  |  | float | x, |  
          |  |  | float | y |  
          |  | ) |  |  |  | staticprotected | 
 
 
◆ viewableAction()
  
  | 
        
          | bool anatomist::Trackball::viewableAction | ( |  | ) | const |  | virtual | 
 
 
◆ _beginquat
◆ _beginx
  
  | 
        
          | int anatomist::Trackball::_beginx |  | protected | 
 
 
◆ _beginy
  
  | 
        
          | int anatomist::Trackball::_beginy |  | protected | 
 
 
The documentation for this class was generated from the following file: