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)
4 #ifndef __bbcreaVtkHeartAngles_h_INCLUDED__
5 #define __bbcreaVtkHeartAngles_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
9 #include "vtkImageData.h"
14 class bbcreaVtk_EXPORT HeartAngles
16 public bbtk::AtomicBlackBox
18 BBTK_BLACK_BOX_INTERFACE(HeartAngles,bbtk::AtomicBlackBox);
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);
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)
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);
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)
52 // EO namespace bbcreaVtk
54 #endif // __bbcreaVtkHeartAngles_h_INCLUDED__