]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMetaImageReader.xml
#3008 BBTK Feature New Normal - Active option in box vtk::IsoSurfaceExtractor
[bbtk.git] / packages / vtk / src / bbvtkMetaImageReader.xml
index 71314a16f3ad3e05b765f66fb76ca045c2a70ea6..fd36427c76664c67bda78fa7a7917b856223fa92 100644 (file)
@@ -1,28 +1,24 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 
-<blackbox name="MetaImageReader" type="vtkImageAlgorithm">
+<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">
-Filename
-</input>  
-
-<output 
-  name="Out" 
-  type="vtkImageData*" 
-  special="vtk output">
-Output image
-</output>
-
-</blackbox>
-
+<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>
+   bbGetVtkObject()->SetFileName(bbGetInputIn().c_str());
+printf("EED MetaImageReader::Process  %s\n", bbGetInputIn().c_str() );
+   bbGetVtkObject()->Update();
+ </PRE></process>
+
+</blackbox>