X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDicomRTStruct2ImageFilter.h;h=f93cbb2969ca833f70682d1307b7f4993eed4cb0;hb=d98418e7948315cd8c6ae9a2d5452ef0b52f9827;hp=4943818092d4c5b481cc89fae5e16cdd1c6d951f;hpb=a365564201d98b704f43e1f52124f55f5e110d2e;p=clitk.git diff --git a/common/clitkDicomRTStruct2ImageFilter.h b/common/clitkDicomRTStruct2ImageFilter.h index 4943818..f93cbb2 100644 --- a/common/clitkDicomRTStruct2ImageFilter.h +++ b/common/clitkDicomRTStruct2ImageFilter.h @@ -23,6 +23,7 @@ #include "clitkDicomRT_ROI.h" #include "clitkImageCommon.h" #include +#include #include #include @@ -43,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 typename itk::Image::ConstPointer GetITKOutput(); @@ -52,12 +54,14 @@ namespace clitk { 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; };