X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkImage2DicomRTStructFilter.h;h=d570934d046f96f2d9f0e39ba4a8e180c44ad1f9;hb=794be53b8efec2ddb9c3097efd559c514fb4a813;hp=749a0be5f9685fbd9ec752e7436943060bf7bada;hpb=52ed5f9ca1bbe477fecfe703566993fed4e8895a;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; }; //--------------------------------------------------------------------