]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkMetaImageReader.xml
*** empty log message ***
[bbtk.git] / packages / vtk / src / bbvtkMetaImageReader.xml
index 71314a16f3ad3e05b765f66fb76ca045c2a70ea6..891912fecabc6f4a5a81c6f203b0e90c29516904 100644 (file)
@@ -1,6 +1,6 @@
 <?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>
 <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>
-
+<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"/>
+ <process><PRE>
+   SetFileName(bbGetInputIn().c_str());
+   Update();
+ </PRE></process>
+
+/*   bbGetOutputOut()->SetSource(NULL);*/
+<serconstructor><PRE>
+std::cout << "$$$$$$ constructing $$$$$"<<std::endl; 
+</PRE></serconstructor>     
+<serdestructor><PRE>  
+std::cout << "$$$$$$ deleting $$$$$"<<std::endl; 
+</PRE></serdestructor>
+</blackbox>