]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMetaImageReader.xml
.
[bbtk.git] / packages / vtk / src / bbvtkMetaImageReader.xml
index 8c50c7878375811f464878d3d65001d26a7c415d..e93d4f1528aba4e3e6ef4200d3aee59b334106e7 100644 (file)
@@ -3,16 +3,21 @@
 <blackbox name="MetaImageReader" type="VTK_ImageAlgorithm">
 
 <author>laurent.guigues at creatis.insa-lyon.fr</author>
-<description><PRE>Reads .mhd / .mha image formats (bbfication of vtkMetaImageReader)</PRE></description>
+<description><PRE>Reads .mhd / .mhd image formats (bbfication of vtkMetaImageReader)</PRE></description>
 <category>image;read/write</category>
 
 <include>vtkMetaImageReader.h</include> 
 <include>vtkImageData.h</include> 
 <vtkparent>vtkMetaImageReader</vtkparent>
 
-<input name="In" type="std::string" description="Filename"/>  
-<output name="Out" type="vtkImageData*" description="Output image" special="vtk output"/>
-
-</blackbox>
+<input  name="In"  type="std::string"   nature="file name"   description="Name of the file to read"/>  
+<output name="Out" type="vtkImageData*" special="vtk output" description="Output image" />
+ <process><PRE>
+   mVtkObject->SetFileName(bbGetInputIn().c_str());
+   mVtkObject->Update();
+ </PRE></process>
 
+</blackbox>