]> Creatis software - clitk.git/blobdiff - common/clitkDicomRTStruct2ImageFilter.h
Allow to save vtk mesh in RTStruct2Image
[clitk.git] / common / clitkDicomRTStruct2ImageFilter.h
index 96de26da7698b7451633abb2e77b706bf8474275..f93cbb2969ca833f70682d1307b7f4993eed4cb0 100644 (file)
@@ -44,6 +44,7 @@ namespace clitk {
     void SetOutputSpacing(const double* spacing);
     void SetOutputSize(const unsigned long* size);
     void SetOutputImageFilename(std::string s);
+    void SetWriteMesh(bool b);
     void Update();    
     vtkImageData * GetOutput();
     template <int Dimension> typename itk::Image<unsigned char,Dimension>::ConstPointer GetITKOutput();
@@ -53,6 +54,7 @@ namespace clitk {
   protected:
     bool ImageInfoIsSet() const;
     bool mWriteOutput;
+    bool mWriteMesh;
     bool mCropMask;
     std::string mOutputFilename;
     std::vector<double> mSpacing;