X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDicomRTStruct2ImageFilter.h;h=96de26da7698b7451633abb2e77b706bf8474275;hb=5d27ea238f9a92605b0834bf5758b1d404026da5;hp=1add60e469c5ccab31a9221cb732d87f00348389;hpb=42e050104aebe7830f2111d096f0dd6673987d1e;p=clitk.git diff --git a/common/clitkDicomRTStruct2ImageFilter.h b/common/clitkDicomRTStruct2ImageFilter.h index 1add60e..96de26d 100644 --- a/common/clitkDicomRTStruct2ImageFilter.h +++ b/common/clitkDicomRTStruct2ImageFilter.h @@ -18,11 +18,12 @@ =========================================================================*/ #ifndef CLITKDICOMRTSTRUCT2IMAGEFILTER_H -#define CLITKDICOMRT_TRUCT2IMAGEFILTER_H +#define CLITKDICOMRTSTRUCT2IMAGEFILTER_H #include "clitkDicomRT_ROI.h" #include "clitkImageCommon.h" #include +#include #include #include @@ -37,6 +38,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 +48,7 @@ namespace clitk { vtkImageData * GetOutput(); template typename itk::Image::ConstPointer GetITKOutput(); void SetCropMaskEnabled(bool b); + void SetWriteOutputFlag(bool b); protected: bool ImageInfoIsSet() const; @@ -55,6 +58,8 @@ namespace clitk { std::vector mSpacing; std::vector mOrigin; std::vector mSize; + std::vector< std::vector< double> > mDirection; + vtkSmartPointer mTransformMatrix; clitk::DicomRT_ROI * mROI; vtkSmartPointer mBinaryImage; };