<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" nature="file name" description="Name of the file to read"/>
-<output name="Out" type="vtkImageData*" description="Output image" special="vtk output"/>
+<vtkobject>vtkMetaImageReader</vtkobject>
+<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();
+ bbGetVtkObject()->SetFileName(bbGetInputIn().c_str());
+ bbGetVtkObject()->Update();
</PRE></process>
-</blackbox>
-
+</blackbox>
+