1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
3 Main authors : XX XX XX
6 - University of LYON http://www.universite-lyon.fr/
7 - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
8 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the copyright notices for more information.
14 It is distributed under dual licence
15 - BSD http://www.opensource.org/licenses/bsd-license.php
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
18 =========================================================================*/
20 #ifndef CLITKDICOMRT_ROI_CONVERTTOIMAGEFILTER_H
21 #define CLITKDICOMRT_ROI_CONVERTTOIMAGEFILTER_H
23 #include "clitkDicomRT_ROI.h"
24 #include "clitkImageCommon.h"
25 #include <vtkImageData.h>
29 //--------------------------------------------------------------------
30 class DicomRT_ROI_ConvertToImageFilter {
33 DicomRT_ROI_ConvertToImageFilter();
34 ~DicomRT_ROI_ConvertToImageFilter();
36 void SetROI(clitk::DicomRT_ROI * roi);
37 void SetImageFilename(std::string s);
38 void SetOutputImageFilename(std::string s);
40 vtkImageData * GetOutput();
41 void SetCropMaskEnabled(bool b);
47 std::string mOutputFilename;
48 std::vector<double> mSpacing;
49 std::vector<double> mOrigin;
50 std::vector<int> mSize;
51 clitk::DicomRT_ROI * mROI;
52 vtkImageData * mBinaryImage;
54 //--------------------------------------------------------------------
56 } // end namespace clitk
57 #endif // CLITKDICOMRT_ROI_CONVERTTOIMAGEFILTER_H