#ifndef __bbPackRecalageTransparency_h_INCLUDED__ #define __bbPackRecalageTransparency_h_INCLUDED__ #include "bbPackRecalage_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkImageData.h" #include "vtkProp3D.h" #include "iostream" namespace bbPackRecalage { class bbPackRecalage_EXPORT Transparency : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(Transparency,bbtk::AtomicBlackBox); BBTK_DECLARE_INPUT(Image1, vtkImageData*); BBTK_DECLARE_INPUT(Image2, vtkImageData*); BBTK_DECLARE_OUTPUT(Actor1, vtkProp3D*); BBTK_DECLARE_OUTPUT(Actor2, vtkProp3D*); BBTK_PROCESS(Process); void Process(); }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(Transparency,bbtk::AtomicBlackBox); BBTK_NAME("Transparency"); BBTK_AUTHOR("c.perez75@uniandes.edu.co"); BBTK_DESCRIPTION("Superposition of 2 images using transparency"); BBTK_CATEGORY("__CATEGORY__"); BBTK_INPUT(Transparency, Image1, "Input Image1", vtkImageData*, ""); BBTK_INPUT(Transparency, Image2, "Input Image2", vtkImageData*, ""); BBTK_OUTPUT(Transparency, Actor1, "Base image actor", vtkProp3D*, ""); BBTK_OUTPUT(Transparency, Actor2, "Upper image actor", vtkProp3D*, ""); BBTK_END_DESCRIBE_BLACK_BOX(Transparency); } // EO namespace bbPackRecalage #endif // __bbPackRecalageTransparency_h_INCLUDED__