]> Creatis software - bbtk.git/blob - kernel/appli/bbCreateBlackBox/xml-templates/VTK_PolyDataAlgorithm-template.xml
Some cleaning
[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   SetInput(bbGetInputIn1());
38   SetInput(bbGetInputIn2());
39   SetInput(bbGetInputIn3());
40   SetInput(bbGetInputIn4());
41   SetInput(bbGetInputIn5());
42
43   Update();
44 </PRE>
45 </process>
46
47   <!--========================================================================
48     CONSTRUCTORS / DESTRUCTORS (OPTIONAL) 
49     THE CONSTRUCTION METHOD BODY :
50     Generaly you initialize the Input variables with their default values
51     This is also where you should allocate the output pointers -->
52
53 <constructor>
54 <PRE>
55   bbSetInputIn1((vtkPolyData *)0);
56   bbSetInputIn2((vtkPolyData *)0);
57   bbSetInputIn3((vtkPolyData *)0);
58   bbSetInputIn4((vtkPolyData *)0);
59   bbSetInputIn5((vtkPolyData *)0);
60   bbSetOutputOut((vtkPolyData *)0);
61 </PRE>
62 </constructor>
63
64   <!-- THE COPY-CONSTRUCTION METHOD BODY :
65     Here does nothing 
66     But this is where you should allocate the output pointers if any
67     and copy the pointed values (to avoid bug caused by multiple references)-->
68   <copyconstructor>
69   <PRE>
70   </PRE>
71   </copyconstructor>
72
73   <!-- THE DESTRUCTION METHOD BODY :
74     Here does nothing 
75     but this is where you should desallocate the output pointers if any -->
76
77   <destructor>
78   <PRE>
79
80   </PRE>
81   </destructor>
82
83 <!--=======================================================================-->
84 <!-- END OF BLACK BOX DESCRIPTION -->
85 </blackbox>
86
87