]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkHeartAngles.h
2196 creaVtk Feature New Normal Completion of code HeartAngles 2013-12-04 11:20
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkHeartAngles.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 __bbcreaVtkHeartAngles_h_INCLUDED__
5 #define __bbcreaVtkHeartAngles_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9 #include "vtkImageData.h"
10 namespace bbcreaVtk
11 {
12
13 class bbcreaVtk_EXPORT HeartAngles
14  : 
15    public bbtk::AtomicBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(HeartAngles,bbtk::AtomicBlackBox);
18
19 //vtkImageData* image, double Px, double Py, double Pz, double Vx, double Vy, double Vz, double Nx, double Ny, double Nz, double p2x, double p2y, double p2z
20   BBTK_DECLARE_INPUT(Image, vtkImageData*);
21   BBTK_DECLARE_INPUT(Px,double);
22   BBTK_DECLARE_INPUT(Py,double);
23   BBTK_DECLARE_INPUT(Pz,double);
24   BBTK_DECLARE_INPUT(Vx,double);
25   BBTK_DECLARE_INPUT(Vy,double);
26   BBTK_DECLARE_INPUT(Vz,double);
27   BBTK_DECLARE_INPUT(Nx,double);
28   BBTK_DECLARE_INPUT(Ny,double);
29   BBTK_DECLARE_INPUT(Nz,double);
30   BBTK_DECLARE_INPUT(p2x,double);
31   BBTK_DECLARE_INPUT(p2y,double);
32   BBTK_DECLARE_INPUT(p2z,double);
33   BBTK_DECLARE_OUTPUT(AlphaImage, vtkImageData*);
34   BBTK_DECLARE_OUTPUT(BetaImage, vtkImageData*);
35   BBTK_PROCESS(Process);
36   void Process();
37 //===== 
38 // 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)
39 //===== 
40 };
41
42 BBTK_BEGIN_DESCRIBE_BLACK_BOX(HeartAngles,bbtk::AtomicBlackBox);
43 BBTK_NAME("HeartAngles");
44 BBTK_AUTHOR("carlos torres");
45 BBTK_DESCRIPTION("No Description.");
46 BBTK_CATEGORY("empty");
47 BBTK_INPUT(HeartAngles,Image,"Image",vtkImageData*,"");
48 BBTK_INPUT(HeartAngles,Px,"Punto en el plano componente X",double,"");
49 BBTK_INPUT(HeartAngles,Py,"Punto en el plano componente Y",double,"");
50 BBTK_INPUT(HeartAngles,Pz,"Punto en el plano componente Z",double,"");
51 BBTK_INPUT(HeartAngles,Vx,"Vector componente X",double,"");
52 BBTK_INPUT(HeartAngles,Vy,"Vector componente Y",double,"");
53 BBTK_INPUT(HeartAngles,Vz,"Vector componente Z",double,"");
54 BBTK_INPUT(HeartAngles,Nx,"Normal componente X",double,"");
55 BBTK_INPUT(HeartAngles,Ny,"Normal componente Y",double,"");
56 BBTK_INPUT(HeartAngles,Nz,"Normal componente Z",double,"");
57 BBTK_INPUT(HeartAngles,p2x,"Punto P2 componente X",double,"");
58 BBTK_INPUT(HeartAngles,p2y,"Punto P2 componente Y",double,"");
59 BBTK_INPUT(HeartAngles,p2z,"Punto P2 componente Z",double,"");
60 BBTK_OUTPUT(HeartAngles,AlphaImage,"Alpha Image",vtkImageData*,"");
61 BBTK_OUTPUT(HeartAngles,BetaImage,"Beta Image",vtkImageData*,"");
62 BBTK_END_DESCRIBE_BLACK_BOX(HeartAngles);
63 //===== 
64 // 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)
65 //===== 
66 }
67 // EO namespace bbcreaVtk
68
69 #endif // __bbcreaVtkHeartAngles_h_INCLUDED__
70