X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvStructureSetActor.h;h=35888a6f0c482d70a87d2ef369315a5843274b61;hb=58589a922e65bf0ceab2eaa27025f9dc222e0329;hp=119169d95a7d9c4a95acfd9cf722221dc03d95af;hpb=fe61abeb6e452e5f54bef60a287aa104e4e02d70;p=clitk.git diff --git a/vv/vvStructureSetActor.h b/vv/vvStructureSetActor.h index 119169d..35888a6 100644 --- a/vv/vvStructureSetActor.h +++ b/vv/vvStructureSetActor.h @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,13 +14,14 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef VVSTRUCTURESETACTOR_H #define VVSTRUCTURESETACTOR_H #include "clitkDicomRT_StructureSet.h" #include +#include class vvSlicerManager; class vvROIActor; @@ -34,13 +35,15 @@ class vvStructureSetActor: public QObject { void SetStructureSet(clitk::DicomRT_StructureSet * s); void SetSlicerManager(vvSlicerManager * s); - void CreateNewROIActor(int n); + void CreateNewROIActor(int n, bool modeBG=true); vvROIActor* GetROIActor(int n); - + int GetNumberOfROIs(); + std::vector< QSharedPointer > & GetROIList(); + protected: clitk::DicomRT_StructureSet * mStructureSet; vvSlicerManager * mSlicerManager; - std::vector mROIActors; + std::vector< QSharedPointer > mROIActors; std::map mMapROIIndex; }; // end class vvStructureSetActor