]> Creatis software - clitk.git/blob - vv/vvROIActor.h
- add future structure set manager
[clitk.git] / vv / vvROIActor.h
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to: 
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
9   This software is distributed WITHOUT ANY WARRANTY; without even
10   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11   PURPOSE.  See the copyright notices for more information.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ======================================================================-====*/
18
19 #ifndef VVROIACTOR_H
20 #define VVROIACTOR_H
21
22 #include "clitkDicomRT_ROI.h"
23 #include <QObject>
24
25 class vvSlicerManager;
26 class vvImageContour;
27 class vvBinaryImageOverlayActor;
28 class vtkActor;
29
30 //------------------------------------------------------------------------------
31 class vvROIActor: public QObject {
32   Q_OBJECT
33     public:
34   vvROIActor();
35   ~vvROIActor();
36
37   void SetROI(const clitk::DicomRT_ROI * r);
38   void SetSlicerManager(vvSlicerManager * s);
39   void Update();
40   void Initialize();
41
42 public slots:
43   void UpdateSlice(int slicer, int slices);
44
45  protected:
46   const clitk::DicomRT_ROI * mROI;
47   vvSlicerManager * mSlicerManager;
48   std::vector<vvImageContour *> mImageContour;
49   std::vector<vvBinaryImageOverlayActor *> mOverlayActors;
50
51 }; // end class vvROIActor
52 //------------------------------------------------------------------------------
53
54 #endif
55