]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkApplyTransformToPoint3D.h
#3466 ApplyTransformToPoint3D box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkApplyTransformToPoint3D.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 __bbcreaVtkApplyTransformToPoint3D_h_INCLUDED__
5 #define __bbcreaVtkApplyTransformToPoint3D_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10 #include "vtkLinearTransform.h"
11
12 namespace bbcreaVtk
13 {
14
15 class bbcreaVtk_EXPORT ApplyTransformToPoint3D
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(ApplyTransformToPoint3D,bbtk::AtomicBlackBox);
20 //===== 
21 // 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)
22 //===== 
23   BBTK_DECLARE_INPUT(Point,std::vector<double>);
24   BBTK_DECLARE_INPUT(DirectionInPoint,std::vector<double>);
25   BBTK_DECLARE_INPUT(Transform,vtkLinearTransform*);
26   BBTK_DECLARE_OUTPUT(Out,std::vector<double>);
27   BBTK_DECLARE_OUTPUT(OutDirection,std::vector<double>);
28   BBTK_PROCESS(Process);
29   void Process();
30 //===== 
31 // 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)
32 //===== 
33 };
34
35 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ApplyTransformToPoint3D,bbtk::AtomicBlackBox);
36   BBTK_NAME("ApplyTransformToPoint3D");
37   BBTK_AUTHOR("InfoDev");
38   BBTK_DESCRIPTION("No Description.");
39   BBTK_CATEGORY("empty");
40   
41   BBTK_INPUT(ApplyTransformToPoint3D,Point,"(default [0,0,0]) Point 3D [x,y,z]",std::vector<double>,"");
42   BBTK_INPUT(ApplyTransformToPoint3D,DirectionInPoint,"(default [0,0,1]) Direction from point [x,y,z]",std::vector<double>,"");
43   BBTK_INPUT(ApplyTransformToPoint3D,Transform,"vtkLinearTransform",vtkLinearTransform*,"");
44   
45   BBTK_OUTPUT(ApplyTransformToPoint3D,Out,"Point 3D [x,y,z] after Transform ",std::vector<double>,"");
46   BBTK_OUTPUT(ApplyTransformToPoint3D,OutDirection,"Direction 3D [x,y,z] after Transform",std::vector<double>,"");
47   
48 BBTK_END_DESCRIBE_BLACK_BOX(ApplyTransformToPoint3D);
49 //===== 
50 // 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)
51 //===== 
52 }
53 // EO namespace bbcreaVtk
54
55 #endif // __bbcreaVtkApplyTransformToPoint3D_h_INCLUDED__
56