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://www.centreleonberard.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"
24 #include <QSharedPointer>
26 class vvSlicerManager;
29 //------------------------------------------------------------------------------
30 class vvStructureSetActor: public QObject {
33 vvStructureSetActor();
34 ~vvStructureSetActor();
36 void SetStructureSet(clitk::DicomRT_StructureSet * s);
37 void SetSlicerManager(vvSlicerManager * s);
38 void CreateNewROIActor(int n, bool modeBG=true);
39 vvROIActor* GetROIActor(int n);
40 int GetNumberOfROIs();
41 std::vector< QSharedPointer<vvROIActor> > & GetROIList();
44 clitk::DicomRT_StructureSet * mStructureSet;
45 vvSlicerManager * mSlicerManager;
46 std::vector< QSharedPointer<vvROIActor> > mROIActors;
47 std::map<int, int> mMapROIIndex;
49 }; // end class vvStructureSetActor
50 //------------------------------------------------------------------------------