]> Creatis software - clitk.git/blobdiff - common/clitkImage2DicomRTStructFilter.h
Allow to insert several images/contours at one time
[clitk.git] / common / clitkImage2DicomRTStructFilter.h
index 924bcc01db3d458a8add1d10daf712939c0e0835..d570934d046f96f2d9f0e39ba4a8e180c44ad1f9 100644 (file)
@@ -41,25 +41,23 @@ namespace clitk {
     typedef typename clitk::DicomRT_StructureSet::Pointer DicomRTStructPointer;
 
     // Set inputs
-    itkSetMacro(Input, ImagePointer);
-    itkGetConstMacro(Input, ImagePointer);
+    itkSetMacro(InputFilenames, std::vector<std::string> );
     itkSetMacro(StructureSetFilename, std::string);
     itkSetMacro(DicomFolder, std::string);
     itkSetMacro(OutputFilename, std::string);
-    void SetROIName(std::string name, std::string type);
+    void SetROIType(std::string type);
     itkSetMacro(ThresholdValue, PixelType);
     
     // Run filter
     void Update();    
     
   protected:
-    ImagePointer m_Input;
     std::string m_StructureSetFilename;
     std::string m_DicomFolder;
     std::string m_OutputFilename;
-    std::string m_ROIName;
     std::string m_ROIType;
     PixelType m_ThresholdValue;
+    std::vector<std::string> m_InputFilenames;
   };
   //--------------------------------------------------------------------