1 <?xml version="1.0" encoding="iso-8859-1"?>
4 <blackbox name="AppendPolyData" type="VTK_PolyDataAlgorithm">
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>
10 <include>vtkAppendPolyData.h</include>
11 <vtkobject>vtkAppendPolyData</vtkobject>
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"/>
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());
32 bbGetVtkObject()->AddInputData(bbGetInputIn1());
33 bbGetVtkObject()->AddInputData(bbGetInputIn2());
34 bbGetVtkObject()->AddInputData(bbGetInputIn3());
35 bbGetVtkObject()->AddInputData(bbGetInputIn4());
36 bbGetVtkObject()->AddInputData(bbGetInputIn5());
40 bbGetVtkObject()->Update();
46 bbSetInputIn1((vtkPolyData *)0);
47 bbSetInputIn2((vtkPolyData *)0);
48 bbSetInputIn3((vtkPolyData *)0);
49 bbSetInputIn4((vtkPolyData *)0);
50 bbSetInputIn5((vtkPolyData *)0);
51 bbSetOutputOut((vtkPolyData *)0);