]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkHeartAngles.h
287d88fbffcc8580c0502e4b5c8f0ad7228bab89
[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 #include <vector>
11 namespace bbcreaVtk
12 {
13
14 class bbcreaVtk_EXPORT HeartAngles
15  : 
16    public bbtk::AtomicBlackBox
17 {
18   BBTK_BLACK_BOX_INTERFACE(HeartAngles,bbtk::AtomicBlackBox);
19
20 //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
21   BBTK_DECLARE_INPUT(Image, vtkImageData*);
22   BBTK_DECLARE_INPUT(PlanePoint,std::vector<double>);
23   BBTK_DECLARE_INPUT(Vector,std::vector<double>);
24   BBTK_DECLARE_INPUT(Normal,std::vector<double>);
25   BBTK_DECLARE_INPUT(Point2,std::vector<double>);
26   BBTK_DECLARE_OUTPUT(AlphaImage, vtkImageData*);
27   BBTK_DECLARE_OUTPUT(BetaImage, vtkImageData*);
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(HeartAngles,bbtk::AtomicBlackBox);
36 BBTK_NAME("HeartAngles");
37 BBTK_AUTHOR("carlos torres");
38 BBTK_DESCRIPTION("No Description.");
39 BBTK_CATEGORY("empty");
40 BBTK_INPUT(HeartAngles,Image,"Image",vtkImageData*,"");
41 BBTK_INPUT(HeartAngles,PlanePoint,"Punto en el plano componente X",std::vector<double>,"");
42 BBTK_INPUT(HeartAngles,Vector,"Vector componente X",std::vector<double>,"");
43 BBTK_INPUT(HeartAngles,Normal,"Normal componente X",std::vector<double>,"");
44 BBTK_INPUT(HeartAngles,Point2,"Punto P2 componente X",std::vector<double>,"");
45 BBTK_OUTPUT(HeartAngles,AlphaImage,"Alpha Image",vtkImageData*,"");
46 BBTK_OUTPUT(HeartAngles,BetaImage,"Beta Image",vtkImageData*,"");
47 BBTK_END_DESCRIBE_BLACK_BOX(HeartAngles);
48 //===== 
49 // 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)
50 //===== 
51 }
52 // EO namespace bbcreaVtk
53
54 #endif // __bbcreaVtkHeartAngles_h_INCLUDED__
55