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)
4 #ifndef __bbcreaVtkActor_h_INCLUDED__
5 #define __bbcreaVtkActor_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include "vtkProp3D.h"
11 #include "vtkTransform.h"
12 #include "vtkRenderer.h"
17 class bbcreaVtk_EXPORT Actor
19 public bbtk::AtomicBlackBox
21 BBTK_BLACK_BOX_INTERFACE(Actor,bbtk::AtomicBlackBox);
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)
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);
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)
42 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Actor,bbtk::AtomicBlackBox);
44 BBTK_AUTHOR("Info-Dev");
45 BBTK_DESCRIPTION("No Description.");
46 BBTK_CATEGORY("empty");
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*,"");
56 // BBTK_OUTPUT(Actor,Out,"First output",double,"");
57 BBTK_END_DESCRIBE_BLACK_BOX(Actor);
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)
62 // EO namespace bbcreaVtk
64 #endif // __bbcreaVtkActor_h_INCLUDED__