From f5ee1c433d1c86bc0aa11fdaba7aa891cbad9b8a Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Thu, 11 Aug 2016 15:59:33 +0200 Subject: [PATCH] #3004 BBTK Feature New Normal - In box vtk:MetaImageWriter Compression option --- packages/vtk/src/bbvtkMetaImageWriter.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/vtk/src/bbvtkMetaImageWriter.xml b/packages/vtk/src/bbvtkMetaImageWriter.xml index cb55daa..0a09e3c 100644 --- a/packages/vtk/src/bbvtkMetaImageWriter.xml +++ b/packages/vtk/src/bbvtkMetaImageWriter.xml @@ -12,6 +12,7 @@ +
    vtkMetaImageWriter* w = vtkMetaImageWriter::New();
@@ -32,7 +33,7 @@
   if (bbGetInputIn()!=NULL)
   {
      w->SetInput(bbGetInputIn());
-     w->SetCompression(false);  // JPR
+     w->SetCompression(bbGetInputCompression());  
      w->SetFileDimensionality(bbGetInputIn()->GetDataDimension()); // NTU
      std::string userGivenName = bbGetInputFilename();
      if (userGivenName.substr(userGivenName.size()-4) != ".mhd")  //JPR
@@ -47,6 +48,14 @@
 
    w->Delete();
  
+ + +
+    bbSetInputCompression(false);
+  
+
+ + -- 2.47.1