]> Creatis software - clitk.git/blob - vv/vvStructureSetActor.h
- display binary image as overlay
[clitk.git] / vv / vvStructureSetActor.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 VVSTRUCTURESETACTOR_H
20 #define VVSTRUCTURESETACTOR_H
21
22 #include "clitkDicomRT_StructureSet.h"
23 #include <QObject>
24
25 class vvSlicerManager;
26 class vvROIActor;
27
28 //------------------------------------------------------------------------------
29 class vvStructureSetActor: public QObject {
30   Q_OBJECT
31     public:
32   vvStructureSetActor();
33   ~vvStructureSetActor();
34
35   void SetStructureSet(clitk::DicomRT_StructureSet * s);
36   void SetSlicerManager(vvSlicerManager * s);
37   void CreateNewROIActor(int n);
38   vvROIActor* GetROIActor(int n);
39
40  protected:
41   clitk::DicomRT_StructureSet * mStructureSet;
42   vvSlicerManager * mSlicerManager;
43   std::vector<vvROIActor*> mROIActors;
44   std::map<int, int> mMapROIIndex;
45
46 }; // end class vvStructureSetActor
47 //------------------------------------------------------------------------------
48
49 #endif
50