X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDicomRTStruct2ImageFilter.h;h=f93cbb2969ca833f70682d1307b7f4993eed4cb0;hb=d55f025b18f68066a52b8f33c2dc6481e82c2580;hp=1add60e469c5ccab31a9221cb732d87f00348389;hpb=91669882f4625b286c9dbaeec147983da01fe286;p=clitk.git diff --git a/common/clitkDicomRTStruct2ImageFilter.h b/common/clitkDicomRTStruct2ImageFilter.h index 1add60e..f93cbb2 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,24 +38,30 @@ 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); void SetOutputSize(const unsigned long* size); void SetOutputImageFilename(std::string s); + void SetWriteMesh(bool b); void Update(); vtkImageData * GetOutput(); template typename itk::Image::ConstPointer GetITKOutput(); void SetCropMaskEnabled(bool b); + void SetWriteOutputFlag(bool b); protected: bool ImageInfoIsSet() const; bool mWriteOutput; + bool mWriteMesh; bool mCropMask; std::string mOutputFilename; std::vector mSpacing; std::vector mOrigin; std::vector mSize; + std::vector< std::vector< double> > mDirection; + vtkSmartPointer mTransformMatrix; clitk::DicomRT_ROI * mROI; vtkSmartPointer mBinaryImage; };