]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkAppendPolyData.xml
Merge branch 'vtk8itk5wx3-mingw64' of ssh://git.creatis.insa-lyon.fr/bbtk into vtk8it...
[bbtk.git] / packages / vtk / src / bbvtkAppendPolyData.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3
4 <blackbox name="AppendPolyData" type="VTK_PolyDataAlgorithm">
5
6 <author>jpr at creatis.insa-lyon.fr</author>
7 <description><PRE>Appends one of more polygonal datasets into a single polygonal dataset</PRE></description>
8 <category>mesh</category>
9
10 <include>vtkAppendPolyData.h</include> 
11 <vtkobject>vtkAppendPolyData</vtkobject>
12
13 <output name="Out" type="vtkPolyData*" special="vtk output" description="Output Mesh"/>
14 <input name="In1" type="vtkPolyData *" description="PolyData 1"/>
15 <input name="In2" type="vtkPolyData *" description="PolyData 2"/>
16 <input name="In3" type="vtkPolyData *" description="PolyData 3"/>
17 <input name="In4" type="vtkPolyData *" description="PolyData 4"/>
18 <input name="In5" type="vtkPolyData *" description="PolyData 5"/>
19
20 <process>
21 <PRE>
22
23
24 //EED 2017-01-01 Migration VTK7
25 #if VTK_MAJOR_VERSION <= 5
26   bbGetVtkObject()->SetInput(bbGetInputIn1());
27   bbGetVtkObject()->SetInput(bbGetInputIn2());
28   bbGetVtkObject()->SetInput(bbGetInputIn3());
29   bbGetVtkObject()->SetInput(bbGetInputIn4());
30   bbGetVtkObject()->SetInput(bbGetInputIn5());
31 #else
32   bbGetVtkObject()->AddInputData(bbGetInputIn1());
33   bbGetVtkObject()->AddInputData(bbGetInputIn2());
34   bbGetVtkObject()->AddInputData(bbGetInputIn3());
35   bbGetVtkObject()->AddInputData(bbGetInputIn4());
36   bbGetVtkObject()->AddInputData(bbGetInputIn5());
37 #endif
38
39    
40   bbGetVtkObject()->Update();
41 </PRE>
42 </process>
43
44 <defaultValues>
45 <PRE>
46   bbSetInputIn1((vtkPolyData *)0);
47   bbSetInputIn2((vtkPolyData *)0);
48   bbSetInputIn3((vtkPolyData *)0);
49   bbSetInputIn4((vtkPolyData *)0);
50   bbSetInputIn5((vtkPolyData *)0);
51   bbSetOutputOut((vtkPolyData *)0);
52 </PRE>
53 </defaultValues>   
54
55
56 </blackbox>
57
58