]> Creatis software - creaRigidRegistration.git/blob - PackRecalage/src/bbPackRecalageTransparency.h
New items
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageTransparency.h
1 #ifndef __bbPackRecalageTransparency_h_INCLUDED__
2 #define __bbPackRecalageTransparency_h_INCLUDED__
3 #include "bbPackRecalage_EXPORT.h"
4 #include "bbtkAtomicBlackBox.h"
5 #include "iostream"
6
7 #include "vtkImageData.h"
8 #include "vtkProp3D.h"
9
10 #include "iostream"
11
12 namespace bbPackRecalage
13 {
14
15 class bbPackRecalage_EXPORT Transparency
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(Transparency,bbtk::AtomicBlackBox);
20   BBTK_DECLARE_INPUT(Image1, vtkImageData*);
21   BBTK_DECLARE_INPUT(Image2, vtkImageData*);
22   BBTK_DECLARE_OUTPUT(Actor1, vtkProp3D*);
23   BBTK_DECLARE_OUTPUT(Actor2, vtkProp3D*);
24   BBTK_PROCESS(Process);
25   void Process();
26 };
27
28 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Transparency,bbtk::AtomicBlackBox);
29 BBTK_NAME("Transparency");
30 BBTK_AUTHOR("c.perez75@uniandes.edu.co");
31 BBTK_DESCRIPTION("Superposition of 2 images using transparency");
32 BBTK_CATEGORY("__CATEGORY__");
33 BBTK_INPUT(Transparency, Image1, "Input Image1", vtkImageData*, "");
34 BBTK_INPUT(Transparency, Image2, "Input Image2", vtkImageData*, "");
35 BBTK_OUTPUT(Transparency, Actor1, "Base image actor", vtkProp3D*, "");
36 BBTK_OUTPUT(Transparency, Actor2, "Upper image actor", vtkProp3D*, "");
37 BBTK_END_DESCRIBE_BLACK_BOX(Transparency);
38 }
39 // EO namespace bbPackRecalage
40
41 #endif // __bbPackRecalageTransparency_h_INCLUDED__
42