<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"/>
-<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"/>
+<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());
- vtkParent::Update();
- GetOutput()->GetDimensions();
- bbSetOutputNX(GetOutput()->GetDimensions()[0]);
- bbSetOutputNY(GetOutput()->GetDimensions()[1]);
- bbSetOutputNZ(GetOutput()->GetDimensions()[2]);
+ mVtkObject->SetFileName(bbGetInputIn().c_str());
+ mVtkObject->Update();
</PRE></process>
</blackbox>