]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMetaImageReader.xml
.
[bbtk.git] / packages / vtk / src / bbvtkMetaImageReader.xml
index 085a1fdb98ac9880f9f82ea6caff81de2dcf37b4..e93d4f1528aba4e3e6ef4200d3aee59b334106e7 100644 (file)
 <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>