<input name="Filename" type="std::string" nature="file name" description="Name of the file to write"/>
<input name="In" type="vtkImageData*" description="Input image" />
+<input name="Compression" type="bool" description="default(false) true/false" />
<process><PRE>
vtkMetaImageWriter* w = vtkMetaImageWriter::New();
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
w->Delete();
</PRE></process>
+
+ <defaultValues>
+ <PRE>
+ bbSetInputCompression(false);
+ </PRE>
+ </defaultValues>
+
+
</blackbox>