]> Creatis software - bbtk.git/blob - kernel/appli/bbCreateBlackBox/xml-templates/VTK_ImageAlgorithm-template.xml
bf2eea9644ac7cee52e5cd950af5b4476d16c244
[bbtk.git] / kernel / appli / bbCreateBlackBox / xml-templates / VTK_ImageAlgorithm-template.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!--==========================================================================
3    STARTS THE DESCRIPTION OF THE BLACK BOX -->
4
5 <blackbox name="__BLACKBOXNAME__" type="VTK_ImageAlgorithm">
6
7  <!--========================================================================
8     THE BOX DOCUMENTATION -->
9
10 <author>__AUTHOR__</author>
11 <description><PRE>__DESCRIPTION__</PRE></description>
12 <category>__CategoryBlackBox__</category>
13
14 <!--========================================================================
15     #include directives to be put in the .h generated
16     There must be one tag per file to include -->
17
18 <include>vtkImageAnisotropicDiffusion3D.h</include> 
19 <include>vtkImageData.h                  </include> 
20
21   <!--========================================================================
22     THE vtk class the box inherits from (if any) -->
23 <vtkparent>vtkImageAnisotropicDiffusion3D</vtkparent>
24
25  <!--========================================================================
26     INPUTS/OUTPUTS DECLARATION -->
27
28 <input name="In" type="vtkImageData*" special="vtk input" description="Input image"/>
29 <output name="Out" type="vtkImageData*" special="vtk output" description="Output image"/>
30 <input name="DiffusionThreshold" type="double" special="vtk parameter" description="Difference threshold that stops diffusion"/>
31
32   <!--========================================================================
33     CONSTRUCTORS / DESTRUCTORS (OPTIONAL) 
34     THE CONSTRUCTION METHOD BODY :
35     Generaly you initialize the Input variables with their default values
36     This is also where you should allocate the output pointers -->
37
38   <constructor>
39   <PRE>
40     bbSetInputIn(0);
41   </PRE>
42   </constructor>
43
44   <!-- THE COPY-CONSTRUCTION METHOD BODY :
45     Here does nothing 
46     But this is where you should allocate the output pointers if any
47     and copy the pointed values (to avoid bug caused by multiple references)-->
48   <copyconstructor>
49   <PRE>
50   </PRE>
51   </copyconstructor>
52
53   <!-- THE DESTRUCTION METHOD BODY :
54     Here does nothing 
55     but this is where you should desallocate the output pointers if any -->
56
57   <destructor>
58   <PRE>
59
60   </PRE>
61   </destructor>
62
63 <!--=======================================================================-->
64 <!-- END OF BLACK BOX DESCRIPTION -->
65 </blackbox>
66