X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkImageToImageGenericFilterBase.h;h=03b4f4acfa030d91b52e0804b521e06e6f30ed25;hb=3c2462eafabcf428b4d2775c414a7b5f62511d3f;hp=039b850a59199ead284232b2ee13681080042c31;hpb=573d80d0f7a17607d2ee883c21c940c0ba020282;p=clitk.git diff --git a/common/clitkImageToImageGenericFilterBase.h b/common/clitkImageToImageGenericFilterBase.h index 039b850..03b4f4a 100644 --- a/common/clitkImageToImageGenericFilterBase.h +++ b/common/clitkImageToImageGenericFilterBase.h @@ -62,6 +62,7 @@ namespace clitk { void SetInputFilenames(const std::vector & filenames); void EnableReadOnDisk(bool b); void EnableWriteOnDisk(bool b); + void EnableWriteCompression(bool b); void SetOutputFilename(const std::string & filename); void AddOutputFilename(const std::string filename); void SetOutputFilenames(const std::vector & filenames); @@ -94,6 +95,8 @@ namespace clitk { protected: bool m_ReadOnDisk; bool m_WriteOnDisk; + bool m_WriteCompression; + /// Call this function to dispatch an output towards the correct sink template void SetNextOutput(typename ImageType::Pointer output);