--- /dev/null
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<blackbox name="MetaImageWriter">
+
+<author>laurent.guigues at creatis.insa-lyon.fr</author>
+<description><PRE>Writes .mhd / .mhd image formats (bbfication of vtkMetaImageWriter)</PRE></description>
+<category>image;read/write</category>
+
+<include>vtkMetaImageWriter.h</include>
+<include>vtkImageData.h</include>
+
+<input name="Filename" type="std::string" nature="file name" description="Name of the file to write"/>
+<input name="In" type="vtkImageData*" description="Input image" />
+
+ <process><PRE>
+ vtkMetaImageWriter* w = vtkMetaImageWriter::New();
+std::cout << "a"<<std::endl;
+//vtkImageData* in = vtkImageData::New();
+// in->ShallowCopy(bbGetInputIn());
+bbGetInputIn()->Update();
+ w->SetInput(bbGetInputIn());
+ w->SetFileName(bbGetInputFilename().c_str());
+
+bbGetInputIn()->Print(std::cout);
+std::cout << "a '"<< bbGetInputFilename()<<"'"<<std::endl;
+ w->Update();
+std::cout << "a"<<std::endl;
+ w->Delete();
+std::cout << "a"<<std::endl;
+ </PRE></process>
+
+</blackbox>
+
+