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://www.centreleonberard.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 CLITKXML2DICOMRTSTRUCTFILTER_H
21 #define CLITKXML2DICOMRTSTRUCTFILTER_H
24 #include "clitkDicomRT_ROI.h"
25 #include "clitkImageCommon.h"
26 #include "clitkFilterBase.h"
27 #include "clitkDicomRT_StructureSet.h"
31 //--------------------------------------------------------------------
32 template<class PixelType>
33 class Xml2DicomRTStructFilter: public clitk::FilterBase {
36 Xml2DicomRTStructFilter();
37 ~Xml2DicomRTStructFilter();
39 typedef itk::Image<PixelType, 3> ImageType;
40 typedef typename ImageType::Pointer ImagePointer;
41 typedef typename clitk::DicomRT_StructureSet::Pointer DicomRTStructPointer;
43 itkSetMacro(InputFilename, std::string);
44 itkSetMacro(StructureSetFilename, std::string);
45 itkSetMacro(DicomFolder, std::string);
46 itkSetMacro(OutputFilename, std::string);
52 std::string m_StructureSetFilename;
53 std::string m_DicomFolder;
54 std::string m_OutputFilename;
55 std::string m_InputFilename;
57 //--------------------------------------------------------------------
59 } // end namespace clitk
61 #include "clitkXml2DicomRTStructFilter.txx"
63 #endif // CLITKXML2DICOMRTSTRUCTFILTER_H