#include <anatomist/window3D/boxviewslice.h>
|  | 
|  | BoxViewSlice (Action *action) | 
|  | 
| virtual | ~BoxViewSlice () | 
|  | 
| virtual void | beginTrackball (int x, int y) | 
|  | 
| virtual void | moveTrackball (int x, int y) | 
|  | 
| virtual void | endTrackball (int x, int y) | 
|  | 
| void | setCubeColor (float r, float g, float b, float a) | 
|  | 
| void | setPlaneColor (float r, float g, float b, float a) | 
|  | 
| void | setTextColor (float r, float g, float b) | 
|  | 
| void | setObjectsReferential (Referential *ref) | 
|  | 
| void | enablePlane (bool) | 
|  | 
| void | enableText (bool) | 
|  | 
| void | initOjects () | 
|  | 
| void | buildSmallBox () | 
|  | 
| void | buildCube () | 
|  | 
| void | buildPlane () | 
|  | 
| void | removeObjects () | 
|  | 
| QGraphicsView * | graphicsView () | 
|  | 
| void | updateText (const QString &) | 
|  | 
| void | addObject (carto::rc_ptr< AObject > obj) | 
|  | 
| void | removeObject (carto::rc_ptr< AObject > obj) | 
|  | 
| void | clearAdditionalObjects () | 
|  | 
| std::list< carto::rc_ptr< AObject > > & | additionalObjects () | 
|  | 
| void | drawText (float posx, float posy, const QString &text) | 
|  | 
| float | objectsSize () | 
|  | 
| void | updateRect () | 
|  | 
| std::pair< bool, float > | lineIntersect (const Point3df &pnorm, float d, const Point3df &linedir, const Point3df &x0) | 
|  | Intersect plane (pnorm, d) with line (linedir, x0) pnorm: normal vector to plane d: plane equation offset linedir: line vector x0: point in the line returns: pair( valid, lambda coef ) (pos=x0+lambda*linedir)  More... 
 | 
|  | 
| void | clearTmpItems () | 
|  | 
Definition at line 52 of file boxviewslice.h.
 
◆ BoxViewSlice()
      
        
          | anatomist::BoxViewSlice::BoxViewSlice | ( | Action * | action | ) |  | 
      
 
 
◆ ~BoxViewSlice()
  
  | 
        
          | virtual anatomist::BoxViewSlice::~BoxViewSlice | ( |  | ) |  |  | virtual | 
 
 
◆ additionalObjects()
◆ addObject()
◆ beginTrackball()
  
  | 
        
          | virtual void anatomist::BoxViewSlice::beginTrackball | ( | int | x, |  
          |  |  | int | y |  
          |  | ) |  |  |  | virtual | 
 
 
◆ buildCube()
      
        
          | void anatomist::BoxViewSlice::buildCube | ( |  | ) |  | 
      
 
 
◆ buildPlane()
      
        
          | void anatomist::BoxViewSlice::buildPlane | ( |  | ) |  | 
      
 
 
◆ buildSmallBox()
      
        
          | void anatomist::BoxViewSlice::buildSmallBox | ( |  | ) |  | 
      
 
 
◆ clearAdditionalObjects()
      
        
          | void anatomist::BoxViewSlice::clearAdditionalObjects | ( |  | ) |  | 
      
 
 
◆ clearTmpItems()
      
        
          | void anatomist::BoxViewSlice::clearTmpItems | ( |  | ) |  | 
      
 
 
◆ drawText()
      
        
          | void anatomist::BoxViewSlice::drawText | ( | float | posx, | 
        
          |  |  | float | posy, | 
        
          |  |  | const QString & | text | 
        
          |  | ) |  |  | 
      
 
 
◆ enablePlane()
      
        
          | void anatomist::BoxViewSlice::enablePlane | ( | bool |  | ) |  | 
      
 
 
◆ enableText()
      
        
          | void anatomist::BoxViewSlice::enableText | ( | bool |  | ) |  | 
      
 
 
◆ endTrackball()
  
  | 
        
          | virtual void anatomist::BoxViewSlice::endTrackball | ( | int | x, |  
          |  |  | int | y |  
          |  | ) |  |  |  | virtual | 
 
 
◆ graphicsView()
      
        
          | QGraphicsView* anatomist::BoxViewSlice::graphicsView | ( |  | ) |  | 
      
 
 
◆ initOjects()
      
        
          | void anatomist::BoxViewSlice::initOjects | ( |  | ) |  | 
      
 
 
◆ lineIntersect()
      
        
          | std::pair<bool, float> anatomist::BoxViewSlice::lineIntersect | ( | const Point3df & | pnorm, | 
        
          |  |  | float | d, | 
        
          |  |  | const Point3df & | linedir, | 
        
          |  |  | const Point3df & | x0 | 
        
          |  | ) |  |  | 
      
 
Intersect plane (pnorm, d) with line (linedir, x0) pnorm: normal vector to plane d: plane equation offset linedir: line vector x0: point in the line returns: pair( valid, lambda coef ) (pos=x0+lambda*linedir) 
 
 
◆ moveTrackball()
  
  | 
        
          | virtual void anatomist::BoxViewSlice::moveTrackball | ( | int | x, |  
          |  |  | int | y |  
          |  | ) |  |  |  | virtual | 
 
 
◆ objectsSize()
      
        
          | float anatomist::BoxViewSlice::objectsSize | ( |  | ) |  | 
      
 
 
◆ removeObject()
◆ removeObjects()
      
        
          | void anatomist::BoxViewSlice::removeObjects | ( |  | ) |  | 
      
 
 
◆ setCubeColor()
      
        
          | void anatomist::BoxViewSlice::setCubeColor | ( | float | r, | 
        
          |  |  | float | g, | 
        
          |  |  | float | b, | 
        
          |  |  | float | a | 
        
          |  | ) |  |  | 
      
 
 
◆ setObjectsReferential()
      
        
          | void anatomist::BoxViewSlice::setObjectsReferential | ( | Referential * | ref | ) |  | 
      
 
 
◆ setPlaneColor()
      
        
          | void anatomist::BoxViewSlice::setPlaneColor | ( | float | r, | 
        
          |  |  | float | g, | 
        
          |  |  | float | b, | 
        
          |  |  | float | a | 
        
          |  | ) |  |  | 
      
 
 
◆ setTextColor()
      
        
          | void anatomist::BoxViewSlice::setTextColor | ( | float | r, | 
        
          |  |  | float | g, | 
        
          |  |  | float | b | 
        
          |  | ) |  |  | 
      
 
 
◆ updateRect()
      
        
          | void anatomist::BoxViewSlice::updateRect | ( |  | ) |  | 
      
 
 
◆ updateText()
      
        
          | void anatomist::BoxViewSlice::updateText | ( | const QString & |  | ) |  | 
      
 
 
The documentation for this class was generated from the following file: