/*========================================================================= Program: vv http://www.creatis.insa-lyon.fr/rio/vv Main authors : XX XX XX Authors belongs to: - University of LYON http://www.universite-lyon.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 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the copyright notices for more information. It is distributed under dual licence - BSD http://www.opensource.org/licenses/bsd-license.php - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html =========================================================================*/ #ifndef CLITKXML2DICOMRTSTRUCTFILTER_H #define CLITKXML2DICOMRTSTRUCTFILTER_H // clitk #include "clitkDicomRT_ROI.h" #include "clitkImageCommon.h" #include "clitkFilterBase.h" #include "clitkDicomRT_StructureSet.h" namespace clitk { //-------------------------------------------------------------------- template class Xml2DicomRTStructFilter: public clitk::FilterBase { public: Xml2DicomRTStructFilter(); ~Xml2DicomRTStructFilter(); typedef itk::Image ImageType; typedef typename ImageType::Pointer ImagePointer; typedef typename clitk::DicomRT_StructureSet::Pointer DicomRTStructPointer; itkSetMacro(UsePixel, bool); itkSetMacro(ImageMHD, std::string); itkSetMacro(InputFilename, std::string); itkSetMacro(StructureSetFilename, std::string); itkSetMacro(DicomFolder, std::string); itkSetMacro(OutputFilename, std::string); // Run filter void Update(); protected: bool m_UsePixel; std::string m_ImageMHD; std::string m_StructureSetFilename; std::string m_DicomFolder; std::string m_OutputFilename; std::string m_InputFilename; }; //-------------------------------------------------------------------- } // end namespace clitk #include "clitkXml2DicomRTStructFilter.txx" #endif // CLITKXML2DICOMRTSTRUCTFILTER_H