]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkActor.h
#2843 creaVtk Feature New Normal - new box VtkActor from vtkProp3D
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkActor.h
1 //===== 
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)
3 //===== 
4 #ifndef __bbcreaVtkActor_h_INCLUDED__
5 #define __bbcreaVtkActor_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkProp3D.h"
11 #include "vtkTransform.h"
12 #include "vtkRenderer.h"
13
14 namespace bbcreaVtk
15 {
16
17 class bbcreaVtk_EXPORT Actor
18  : 
19    public bbtk::AtomicBlackBox
20 {
21   BBTK_BLACK_BOX_INTERFACE(Actor,bbtk::AtomicBlackBox);
22 //===== 
23 // 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)
24 //===== 
25   BBTK_DECLARE_INPUT(Active,bool);
26   BBTK_DECLARE_INPUT(In,vtkProp3D*);
27   BBTK_DECLARE_INPUT(Opacity,double);
28   BBTK_DECLARE_INPUT(Transform,vtkTransform*);
29   BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
30 //  BBTK_DECLARE_OUTPUT(Out,double);
31   BBTK_PROCESS(Process);
32   void Process();
33
34   bool backActive;
35 //===== 
36 // 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)
37 //===== 
38 };
39
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Actor,bbtk::AtomicBlackBox);
41  BBTK_NAME("Actor");
42  BBTK_AUTHOR("Info-Dev");
43  BBTK_DESCRIPTION("No Description.");
44  BBTK_CATEGORY("empty");
45
46  BBTK_INPUT(Actor,Active,"Active true/false  (default false)",bool,"");
47  BBTK_INPUT(Actor,In,"First input",vtkProp3D*,"");
48  BBTK_INPUT(Actor,Opacity,"Opacity 0..1 (default 1)",double,"");
49  BBTK_INPUT(Actor,Renderer,"Renderer",vtkRenderer*,"");
50
51 // BBTK_OUTPUT(Actor,Out,"First output",double,"");
52 BBTK_END_DESCRIBE_BLACK_BOX(Actor);
53 //===== 
54 // 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)
55 //===== 
56 }
57 // EO namespace bbcreaVtk
58
59 #endif // __bbcreaVtkActor_h_INCLUDED__
60