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 ======================================================================-====*/
22 #include "clitkDicomRT_ROI.h"
25 class vvSlicerManager;
27 class vvBinaryImageOverlayActor;
30 //------------------------------------------------------------------------------
31 class vvROIActor: public QObject {
37 void SetROI(clitk::DicomRT_ROI * r);
38 clitk::DicomRT_ROI * GetROI() { return mROI; }
39 void SetSlicerManager(vvSlicerManager * s);
42 void SetVisible(bool b);
44 void SetOpacity(double x);
46 void SetSelected(bool b);
49 void UpdateSlice(int slicer, int slices);
53 clitk::DicomRT_ROI * mROI;
54 vvSlicerManager * mSlicerManager;
55 std::vector<vvImageContour *> mImageContour;
56 std::vector<vvBinaryImageOverlayActor *> mOverlayActors;
62 }; // end class vvROIActor
63 //------------------------------------------------------------------------------