X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvStructureSetActor.h;h=35888a6f0c482d70a87d2ef369315a5843274b61;hb=ac3b981712ff4d47eb17132d3eed06ce29db71a6;hp=19b98da2bc88da907e391e371991af1b8f5c7969;hpb=1f2d49aa5d3d0e8d5913967e5464505e6f7a61c5;p=clitk.git diff --git a/vv/vvStructureSetActor.h b/vv/vvStructureSetActor.h index 19b98da..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,15 +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 & GetROIList(); + std::vector< QSharedPointer > & GetROIList(); protected: clitk::DicomRT_StructureSet * mStructureSet; vvSlicerManager * mSlicerManager; - std::vector mROIActors; + std::vector< QSharedPointer > mROIActors; std::map mMapROIIndex; }; // end class vvStructureSetActor