X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDicomRTStruct2ImageFilter.h;h=0df00dd46fcfca8a0bf86647487b26156b462eaf;hb=755bb12001696923319a0b95f7109ab92e645abf;hp=1add60e469c5ccab31a9221cb732d87f00348389;hpb=6c46b5b1d02d65fdb3fdccc8174346b49a05a32f;p=clitk.git diff --git a/common/clitkDicomRTStruct2ImageFilter.h b/common/clitkDicomRTStruct2ImageFilter.h index 1add60e..0df00dd 100644 --- a/common/clitkDicomRTStruct2ImageFilter.h +++ b/common/clitkDicomRTStruct2ImageFilter.h @@ -18,7 +18,7 @@ =========================================================================*/ #ifndef CLITKDICOMRTSTRUCT2IMAGEFILTER_H -#define CLITKDICOMRT_TRUCT2IMAGEFILTER_H +#define CLITKDICOMRTSTRUCT2IMAGEFILTER_H #include "clitkDicomRT_ROI.h" #include "clitkImageCommon.h" @@ -37,6 +37,7 @@ namespace clitk { void SetROI(clitk::DicomRT_ROI * roi); ///This is used to create a mask with the same characteristics as an input image + void SetImage(vvImage::Pointer image); void SetImageFilename(std::string s); void SetOutputOrigin(const double* origin); void SetOutputSpacing(const double* spacing); @@ -46,6 +47,7 @@ namespace clitk { vtkImageData * GetOutput(); template typename itk::Image::ConstPointer GetITKOutput(); void SetCropMaskEnabled(bool b); + void SetWriteOutputFlag(bool b); protected: bool ImageInfoIsSet() const;