]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkHausdorffDistancePointSetFilter.h
#3526 Active option in HausdorffDistancePointSetFilter box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkHausdorffDistancePointSetFilter.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 __bbcreaVtkHausdorffDistancePointSetFilter_h_INCLUDED__
5 #define __bbcreaVtkHausdorffDistancePointSetFilter_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include <vtkPolyData.h>
12
13 namespace bbcreaVtk
14 {
15
16 class bbcreaVtk_EXPORT HausdorffDistancePointSetFilter
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(HausdorffDistancePointSetFilter,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(Active,bool);
25   BBTK_DECLARE_INPUT(InA,vtkPolyData*);
26   BBTK_DECLARE_INPUT(InB,vtkPolyData*);
27
28   BBTK_DECLARE_OUTPUT(RelativeDistanceAtoB,double);
29   BBTK_DECLARE_OUTPUT(RelativeDistanceBtoA,double);
30   BBTK_DECLARE_OUTPUT(HausdorffDistance,double);
31   BBTK_DECLARE_OUTPUT(OutA,vtkPolyData*);
32   BBTK_DECLARE_OUTPUT(OutB,vtkPolyData*);
33   
34   BBTK_PROCESS(Process);
35   void Process();
36 //===== 
37 // 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)
38 //===== 
39 };
40
41 BBTK_BEGIN_DESCRIBE_BLACK_BOX(HausdorffDistancePointSetFilter,bbtk::AtomicBlackBox);
42   BBTK_NAME("HausdorffDistancePointSetFilter");
43   BBTK_AUTHOR("InfoDev");
44   BBTK_DESCRIPTION("(C++,Python) Output Mesh with HausdorffDistance and RelativeDistance vector information ");
45   BBTK_CATEGORY("empty");
46
47   BBTK_INPUT(HausdorffDistancePointSetFilter,Active,"(default true)   True/False",bool,"");
48   BBTK_INPUT(HausdorffDistancePointSetFilter,InA,"Mesh A",vtkPolyData*,"");
49   BBTK_INPUT(HausdorffDistancePointSetFilter,InB,"Mesh B",vtkPolyData*,"");
50
51   BBTK_OUTPUT(HausdorffDistancePointSetFilter,RelativeDistanceAtoB,"Relative distance A to B",double,"");
52   BBTK_OUTPUT(HausdorffDistancePointSetFilter,RelativeDistanceBtoA,"Relative distance B to A",double,"");
53   BBTK_OUTPUT(HausdorffDistancePointSetFilter,HausdorffDistance,"Hausdorff distance",double,"");
54   
55   BBTK_OUTPUT(HausdorffDistancePointSetFilter,OutA,"Output Mesh with 'Distance' vector information",vtkPolyData*,"");
56   BBTK_OUTPUT(HausdorffDistancePointSetFilter,OutB,"Output Mesh with 'Distance' vector information",vtkPolyData*,"");
57 BBTK_END_DESCRIBE_BLACK_BOX(HausdorffDistancePointSetFilter);
58 //===== 
59 // 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)
60 //===== 
61 }
62 // EO namespace bbcreaVtk
63
64 #endif // __bbcreaVtkHausdorffDistancePointSetFilter_h_INCLUDED__
65