Abstract scene for Scene, a QGraphicsScene class, part of Graphics View Framework.  
 More...
#include <AbstractScene.h>
 | 
| virtual void  | calculateMatrixViewScene ()=0 | 
|   | Method that calculates the transformation matrix of the scene. This matrix will be set in each QGraphicsView class that watches this scene.  More...
  | 
|   | 
| virtual void  | calculateWindow (double wMM, double hMM)=0 | 
|   | Method that calculates the ratio of the size of the scene with the paper size. This calculation is necessary so that the paper always is centered in the scene.  More...
  | 
|   | 
Abstract scene for Scene, a QGraphicsScene class, part of Graphics View Framework. 
Definition at line 48 of file AbstractScene.h.
 
      
        
          | te::layout::AbstractScene::AbstractScene  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | virtual te::layout::AbstractScene::~AbstractScene  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
  
  
      
        
          | virtual void te::layout::AbstractScene::calculateMatrixViewScene  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedpure virtual   | 
  
 
Method that calculates the transformation matrix of the scene. This matrix will be set in each QGraphicsView class that watches this scene. 
Implemented in te::layout::Scene.
 
 
  
  
      
        
          | virtual void te::layout::AbstractScene::calculateWindow  | 
          ( | 
          double  | 
          wMM,  | 
         
        
           | 
           | 
          double  | 
          hMM  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedpure virtual   | 
  
 
Method that calculates the ratio of the size of the scene with the paper size. This calculation is necessary so that the paper always is centered in the scene. 
- Parameters
 - 
  
    | wMM | width of physical screen in millimeters  | 
    | hMM | height of physical screen in millimeters  | 
  
   
Implemented in te::layout::Scene.
 
 
  
  
      
        
          | virtual void te::layout::AbstractScene::init  | 
          ( | 
          double  | 
          screenWMM,  | 
         
        
           | 
           | 
          double  | 
          screenHMM  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
Method that starts the scene and configures. Calculates the transformation matrix of the scene and calculates the ratio of the size of the scene with the paper size. 
- Parameters
 - 
  
    | screenWMM | width of physical screen in millimeters  | 
    | screenHMM | height of physical screen in millimeters  | 
  
   
Implemented in te::layout::Scene.
 
 
  
  
      
        
          | virtual void te::layout::AbstractScene::insertItem  | 
          ( | 
          ItemObserver *  | 
          item | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
Method that inserts a graphic object in the scene. Inverts the matrix of the object if necessary, ex.: TextItem. 
- Parameters
 - 
  
  
 
Implemented in te::layout::Scene.
 
 
The documentation for this class was generated from the following files: