1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
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
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.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ======================================================================-====*/
19 #ifndef VVSTRUCTURESETACTOR_H
20 #define VVSTRUCTURESETACTOR_H
22 #include "clitkDicomRT_StructureSet.h"
25 class vvSlicerManager;
28 //------------------------------------------------------------------------------
29 class vvStructureSetActor: public QObject {
32 vvStructureSetActor();
33 ~vvStructureSetActor();
35 void SetStructureSet(clitk::DicomRT_StructureSet * s);
36 void SetSlicerManager(vvSlicerManager * s);
37 void CreateNewROIActor(int n, bool modeBG=true);
38 vvROIActor* GetROIActor(int n);
39 int GetNumberOfROIs();
40 std::vector<vvROIActor*> & GetROIList();
43 clitk::DicomRT_StructureSet * mStructureSet;
44 vvSlicerManager * mSlicerManager;
45 std::vector<vvROIActor*> mROIActors;
46 std::map<int, int> mMapROIIndex;
48 }; // end class vvStructureSetActor
49 //------------------------------------------------------------------------------