]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMetaImageReader.xml
*** empty log message ***
[bbtk.git] / packages / vtk / src / bbvtkMetaImageReader.xml
index 71314a16f3ad3e05b765f66fb76ca045c2a70ea6..98540bd9e7c6c87f5cc5d84b126a52dd81335936 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 
-<blackbox name="MetaImageReader" type="vtkImageAlgorithm">
+<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>
 <include>vtkImageData.h</include> 
 <vtkparent>vtkMetaImageReader</vtkparent>
 
-<input 
-  name="In" 
-  type="std::string">
-Filename
-</input>  
-
-<output 
-  name="Out" 
-  type="vtkImageData*" 
-  special="vtk output">
-Output image
-</output>
-
-</blackbox>
+<input name="In" type="std::string" nature="file name" description="Name of the file to read"/>  
+<output name="Out" type="vtkImageData*" description="Output image" special="vtk output"/>
+ <process><PRE>
+   SetFileName(bbGetInputIn().c_str());
+   vtkParent::Update();
+ </PRE></process>
 
+</blackbox>