]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkHeartAngles.h
2209 creaVtk Feature New Normal Correction of Heart Angles Box 2013-12-13 16:50
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkHeartAngles.h
index b422d7f27af3fc69d1ea9bb7dc5720db151bab3e..287d88fbffcc8580c0502e4b5c8f0ad7228bab89 100644 (file)
@@ -6,7 +6,8 @@
 #include "bbcreaVtk_EXPORT.h"
 #include "bbtkAtomicBlackBox.h"
 #include "iostream"
-
+#include "vtkImageData.h"
+#include <vector>
 namespace bbcreaVtk
 {
 
@@ -15,11 +16,15 @@ class bbcreaVtk_EXPORT HeartAngles
    public bbtk::AtomicBlackBox
 {
   BBTK_BLACK_BOX_INTERFACE(HeartAngles,bbtk::AtomicBlackBox);
-//===== 
-// 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)
-//===== 
-  BBTK_DECLARE_INPUT(In,double);
-  BBTK_DECLARE_OUTPUT(Out,double);
+
+//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
+  BBTK_DECLARE_INPUT(Image, vtkImageData*);
+  BBTK_DECLARE_INPUT(PlanePoint,std::vector<double>);
+  BBTK_DECLARE_INPUT(Vector,std::vector<double>);
+  BBTK_DECLARE_INPUT(Normal,std::vector<double>);
+  BBTK_DECLARE_INPUT(Point2,std::vector<double>);
+  BBTK_DECLARE_OUTPUT(AlphaImage, vtkImageData*);
+  BBTK_DECLARE_OUTPUT(BetaImage, vtkImageData*);
   BBTK_PROCESS(Process);
   void Process();
 //===== 
@@ -32,8 +37,13 @@ BBTK_NAME("HeartAngles");
 BBTK_AUTHOR("carlos torres");
 BBTK_DESCRIPTION("No Description.");
 BBTK_CATEGORY("empty");
-BBTK_INPUT(HeartAngles,In,"First input",double,"");
-BBTK_OUTPUT(HeartAngles,Out,"First output",double,"");
+BBTK_INPUT(HeartAngles,Image,"Image",vtkImageData*,"");
+BBTK_INPUT(HeartAngles,PlanePoint,"Punto en el plano componente X",std::vector<double>,"");
+BBTK_INPUT(HeartAngles,Vector,"Vector componente X",std::vector<double>,"");
+BBTK_INPUT(HeartAngles,Normal,"Normal componente X",std::vector<double>,"");
+BBTK_INPUT(HeartAngles,Point2,"Punto P2 componente X",std::vector<double>,"");
+BBTK_OUTPUT(HeartAngles,AlphaImage,"Alpha Image",vtkImageData*,"");
+BBTK_OUTPUT(HeartAngles,BetaImage,"Beta Image",vtkImageData*,"");
 BBTK_END_DESCRIBE_BLACK_BOX(HeartAngles);
 //===== 
 // 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)