]> Creatis software - bbtk.git/blob - kernel/appli/bbCreateBlackBox/xml-templates/VTK_PolyDataAlgorithm-template.xml
875a647c599efa3427b62ccbdaa1c65e3c2c22bf
[bbtk.git] / kernel / appli / bbCreateBlackBox / xml-templates / VTK_PolyDataAlgorithm-template.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!--==========================================================================
3    STARTS THE DESCRIPTION OF THE BLACK BOX -->
4 <blackbox name="__BLACKBOXNAME__" type="VTK_PolyDataAlgorithm">
5
6  <!--========================================================================
7     THE BOX DOCUMENTATION -->
8
9 <author>__AUTHOR__</author>
10 <description><PRE>__DESCRIPTION__</PRE></description>
11 <category>__CategoryBlackBox__</category>
12
13 <!--========================================================================
14     #include directives to be put in the .h generated
15     There must be one tag per file to include -->
16
17 <include>vtkAppendPolyData.h</include> 
18
19   <!--========================================================================
20     THE vtk class the box inherits from (if any) -->
21 <vtkparent>vtkAppendPolyData</vtkparent>
22
23  <!--========================================================================
24     INPUTS/OUTPUTS DECLARATION -->
25 <output name="Out" type="vtkPolyData*" special="vtk output" description="Output Mesh"/>
26 <input name="In1" type="vtkPolyData *" description="PolyData 1"/>
27 <input name="In2" type="vtkPolyData *" description="PolyData 2"/>
28 <input name="In3" type="vtkPolyData *" description="PolyData 3"/>
29 <input name="In4" type="vtkPolyData *" description="PolyData 4"/>
30 <input name="In5" type="vtkPolyData *" description="PolyData 5"/>
31
32  <!--========================================================================
33     PROCESS section -->
34
35 <process>
36 <PRE>
37   bbSetOutput((vtkPolyData *)0);
38
39   Update();
40 </PRE>
41 </process>
42
43   <!--========================================================================
44     CONSTRUCTORS / DESTRUCTORS (OPTIONAL) 
45     THE CONSTRUCTION METHOD BODY :
46     Generaly you initialize the Input variables with their default values
47     This is also where you should allocate the output pointers -->
48
49 <constructor>
50 <PRE>
51   bbSetInputIn1((vtkPolyData *)0);
52   bbSetInputIn2((vtkPolyData *)0);
53   bbSetInputIn3((vtkPolyData *)0);
54   bbSetInputIn4((vtkPolyData *)0);
55   bbSetInputIn5((vtkPolyData *)0);
56   bbSetOutputOut((vtkPolyData *)0);
57 </PRE>
58 </constructor>
59
60   <!-- THE COPY-CONSTRUCTION METHOD BODY :
61     Here does nothing 
62     But this is where you should allocate the output pointers if any
63     and copy the pointed values (to avoid bug caused by multiple references)-->
64   <copyconstructor>
65   <PRE>
66   </PRE>
67   </copyconstructor>
68
69   <!-- THE DESTRUCTION METHOD BODY :
70     Here does nothing 
71     but this is where you should desallocate the output pointers if any -->
72
73   <destructor>
74   <PRE>
75
76   </PRE>
77   </destructor>
78
79 <!--=======================================================================-->
80 <!-- END OF BLACK BOX DESCRIPTION -->
81 </blackbox>
82
83