#include "bbcreaVtk_EXPORT.h"
#include "bbtkAtomicBlackBox.h"
#include "iostream"
-
+#include "vtkImageData.h"
+#include <vector>
namespace bbcreaVtk
{
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();
//=====
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)