]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkHausdorffDistancePointSetFilter.h
#3458 box HausdorffDistancePointSetFilter
[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(InA,vtkPolyData*);
25   BBTK_DECLARE_INPUT(InB,vtkPolyData*);
26
27   BBTK_DECLARE_OUTPUT(RelativeDistanceAtoB,double);
28   BBTK_DECLARE_OUTPUT(RelativeDistanceBtoA,double);
29   BBTK_DECLARE_OUTPUT(HausdorffDistance,double);
30   BBTK_DECLARE_OUTPUT(OutA,vtkPolyData*);
31   BBTK_DECLARE_OUTPUT(OutB,vtkPolyData*);
32   
33   BBTK_PROCESS(Process);
34   void Process();
35 //===== 
36 // 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)
37 //===== 
38 };
39
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(HausdorffDistancePointSetFilter,bbtk::AtomicBlackBox);
41   BBTK_NAME("HausdorffDistancePointSetFilter");
42   BBTK_AUTHOR("InfoDev");
43   BBTK_DESCRIPTION("Output Mesh with HausdorffDistance and RelativeDistance vector information ");
44   BBTK_CATEGORY("empty");
45
46   BBTK_INPUT(HausdorffDistancePointSetFilter,InA,"Mesh A",vtkPolyData*,"");
47   BBTK_INPUT(HausdorffDistancePointSetFilter,InB,"Mesh B",vtkPolyData*,"");
48
49   BBTK_OUTPUT(HausdorffDistancePointSetFilter,RelativeDistanceAtoB,"Relative distance A to B",double,"");
50   BBTK_OUTPUT(HausdorffDistancePointSetFilter,RelativeDistanceBtoA,"Relative distance B to A",double,"");
51   BBTK_OUTPUT(HausdorffDistancePointSetFilter,HausdorffDistance,"Hausdorff distance",double,"");
52   
53   BBTK_OUTPUT(HausdorffDistancePointSetFilter,OutA,"Output Mesh with 'Distance' vector information",vtkPolyData*,"");
54   BBTK_OUTPUT(HausdorffDistancePointSetFilter,OutB,"Output Mesh with 'Distance' vector information",vtkPolyData*,"");
55 BBTK_END_DESCRIBE_BLACK_BOX(HausdorffDistancePointSetFilter);
56 //===== 
57 // 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)
58 //===== 
59 }
60 // EO namespace bbcreaVtk
61
62 #endif // __bbcreaVtkHausdorffDistancePointSetFilter_h_INCLUDED__
63