]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkPolyDataConnectivityFilter.h
#3505 Split Meshes
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPolyDataConnectivityFilter.h
1 //===== 
2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
3 //===== 
4 #ifndef __bbcreaVtkPolyDataConnectivityFilter_h_INCLUDED__
5 #define __bbcreaVtkPolyDataConnectivityFilter_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10 #include <vtkPolyData.h>
11 #include <vtkPolyDataConnectivityFilter.h>
12
13 namespace bbcreaVtk
14 {
15
16 class bbcreaVtk_EXPORT PolyDataConnectivityFilter
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(PolyDataConnectivityFilter,bbtk::AtomicBlackBox);
21 //===== 
22 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
23 //===== 
24   BBTK_DECLARE_INPUT(In,vtkPolyData*);
25   BBTK_DECLARE_INPUT(Type,int);
26   BBTK_DECLARE_OUTPUT(Out,std::vector<vtkPolyData*>);
27   BBTK_PROCESS(Process);
28   void Process();
29   
30   vtkPolyDataConnectivityFilter *connFilter;
31 //===== 
32 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
33 //===== 
34 };
35
36 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PolyDataConnectivityFilter,bbtk::AtomicBlackBox);
37 BBTK_NAME("PolyDataConnectivityFilter");
38 BBTK_AUTHOR("InfoDev");
39 BBTK_DESCRIPTION("No Description.");
40 BBTK_CATEGORY("empty");
41 BBTK_INPUT(PolyDataConnectivityFilter,In,"Input polydata",vtkPolyData*,"");
42 BBTK_INPUT(PolyDataConnectivityFilter,Type,"0: nothing, 1: Extract all connected regions",int,"");
43 BBTK_OUTPUT(PolyDataConnectivityFilter,Out,"output polydatas",std::vector<vtkPolyData*>,"");
44 BBTK_END_DESCRIBE_BLACK_BOX(PolyDataConnectivityFilter);
45 //===== 
46 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
47 //===== 
48 }
49 // EO namespace bbcreaVtk
50
51 #endif // __bbcreaVtkPolyDataConnectivityFilter_h_INCLUDED__
52