X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkImage2DicomRTStructFilter.h;h=d570934d046f96f2d9f0e39ba4a8e180c44ad1f9;hb=857c9e74552dccd4c71364c15cca4ade140511fc;hp=749a0be5f9685fbd9ec752e7436943060bf7bada;hpb=82ee6175b7043cab5b9c3fd29865b1f15ef989a1;p=clitk.git diff --git a/common/clitkImage2DicomRTStructFilter.h b/common/clitkImage2DicomRTStructFilter.h index 749a0be..d570934 100644 --- a/common/clitkImage2DicomRTStructFilter.h +++ b/common/clitkImage2DicomRTStructFilter.h @@ -41,18 +41,23 @@ namespace clitk { typedef typename clitk::DicomRT_StructureSet::Pointer DicomRTStructPointer; // Set inputs - itkSetMacro(Input, ImagePointer); - itkGetConstMacro(Input, ImagePointer); + itkSetMacro(InputFilenames, std::vector ); + itkSetMacro(StructureSetFilename, std::string); + itkSetMacro(DicomFolder, std::string); + itkSetMacro(OutputFilename, std::string); + void SetROIType(std::string type); + itkSetMacro(ThresholdValue, PixelType); // Run filter void Update(); - // Get output - itkGetConstMacro(DicomRTStruct, DicomRTStructPointer); - protected: - ImagePointer m_Input; - DicomRTStructPointer m_DicomRTStruct; + std::string m_StructureSetFilename; + std::string m_DicomFolder; + std::string m_OutputFilename; + std::string m_ROIType; + PixelType m_ThresholdValue; + std::vector m_InputFilenames; }; //--------------------------------------------------------------------