X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkImage2DicomRTStructFilter.h;h=b6a74b2fe7829ff7fb59b7cce19b0c343f0427a1;hb=0896f3c0ca8e3b1642f3fbce277c64618871f12b;hp=5eb6ddc7974514d70b8eea40ebfde684df01a972;hpb=6986b996d66273ab7818c12f51cbf5ae049ac04e;p=clitk.git diff --git a/common/clitkImage2DicomRTStructFilter.h b/common/clitkImage2DicomRTStructFilter.h index 5eb6ddc..b6a74b2 100644 --- a/common/clitkImage2DicomRTStructFilter.h +++ b/common/clitkImage2DicomRTStructFilter.h @@ -41,21 +41,25 @@ 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); + itkSetMacro(SkipInitialStructuresFlag, bool); // Run filter void Update(); protected: - ImagePointer m_Input; std::string m_StructureSetFilename; std::string m_DicomFolder; std::string m_OutputFilename; - + std::string m_ROIType; + PixelType m_ThresholdValue; + std::vector m_InputFilenames; + bool m_SkipInitialStructuresFlag; }; //--------------------------------------------------------------------