]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMetaImageReader.xml
.
[bbtk.git] / packages / vtk / src / bbvtkMetaImageReader.xml
index d254bc4253be6665106f5d38a49bdb37229a11eb..e93d4f1528aba4e3e6ef4200d3aee59b334106e7 100644 (file)
@@ -3,21 +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"/>
-
+<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>
-   SetFileName(bbGetInputIn().c_str());
-   Update();
+   mVtkObject->SetFileName(bbGetInputIn().c_str());
+   mVtkObject->Update();
  </PRE></process>
 
-</blackbox>
-
+</blackbox>