<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>
<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"/>
+<output name="NX" type="int" description="Number of Columns"/>
+<output name="NY" type="int" description="Number of Rows"/>
+<output name="NZ" type="int" description="Number of Planes"/>
<process><PRE>
SetFileName(bbGetInputIn().c_str());
vtkParent::Update();
+ GetOutput()->GetDimensions();
+ bbSetOutputNX(GetOutput()->GetDimensions()[0]);
+ bbSetOutputNY(GetOutput()->GetDimensions()[1]);
+ bbSetOutputNZ(GetOutput()->GetDimensions()[2]);
</PRE></process>
</blackbox>