]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkActor.h
#3491 vtk9itk5wx3-macos
[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(Color,std::vector<double>);
29   BBTK_DECLARE_INPUT(LineWidth,double);
30   BBTK_DECLARE_INPUT(Transform,vtkTransform*);
31   BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
32 //  BBTK_DECLARE_OUTPUT(Out,double);
33   BBTK_PROCESS(Process);
34   void Process();
35
36   bool backActive;
37 //===== 
38 // 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)
39 //===== 
40 };
41
42 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Actor,bbtk::AtomicBlackBox);
43  BBTK_NAME("Actor");
44  BBTK_AUTHOR("Info-Dev");
45  BBTK_DESCRIPTION("No Description.");
46  BBTK_CATEGORY("empty");
47
48  BBTK_INPUT(Actor,Active,"Active true/false  (default false)",bool,"");
49  BBTK_INPUT(Actor,In,"First input",vtkProp3D*,"");
50  BBTK_INPUT(Actor,Opacity,"Opacity 0..1 (default 1)",double,"");
51  BBTK_INPUT(Actor,Color,"(default [1 0 0]red )  RGB color vector [0..1, 0..1, 0..1]   )", std::vector<double>,"");
52  BBTK_INPUT(Actor,LineWidth,"(default 0.5 ) With ligne   )",double,"");
53  BBTK_INPUT(Actor,Transform,"Transform",vtkTransform*,"");
54  BBTK_INPUT(Actor,Renderer,"Renderer",vtkRenderer*,"");
55
56 // BBTK_OUTPUT(Actor,Out,"First output",double,"");
57 BBTK_END_DESCRIBE_BLACK_BOX(Actor);
58 //===== 
59 // 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)
60 //===== 
61 }
62 // EO namespace bbcreaVtk
63
64 #endif // __bbcreaVtkActor_h_INCLUDED__
65