X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvStructureSetActor.h;h=35888a6f0c482d70a87d2ef369315a5843274b61;hb=5a7da4aedae5c204bc55c187717193e5950f9a44;hp=91c105867d0d688c8bdf76bd8a6670179ecc8033;hpb=e94da8e1a76e3c9bf5301ce46e72074ba01cd1c1;p=clitk.git diff --git a/vv/vvStructureSetActor.h b/vv/vvStructureSetActor.h index 91c1058..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,12 +35,16 @@ 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 //------------------------------------------------------------------------------