]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkScalarBarActor.h
4a54397d6227c3be0955ff866fe0c6f762bbc933
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkScalarBarActor.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 __bbcreaVtkScalarBarActor_h_INCLUDED__
5 #define __bbcreaVtkScalarBarActor_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include <vtkRenderer.h>
11 #include <vtkScalarsToColors.h>
12 #include <vtkTextProperty.h>
13
14 namespace bbcreaVtk
15 {
16
17 class bbcreaVtk_EXPORT ScalarBarActor
18  : 
19    public bbtk::AtomicBlackBox
20 {
21   BBTK_BLACK_BOX_INTERFACE(ScalarBarActor,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(LookupTable,vtkScalarsToColors*);
26   BBTK_DECLARE_INPUT(DisplayPosition,std::vector<double>);
27   BBTK_DECLARE_INPUT(Title,std::string);
28   BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
29 //  BBTK_DECLARE_OUTPUT(Out,double);
30   BBTK_PROCESS(Process);
31   void Process();
32
33   bool firsttime;
34
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(ScalarBarActor,bbtk::AtomicBlackBox);
41   BBTK_NAME("ScalarBarActor");
42   BBTK_AUTHOR("Info-Dev");
43   BBTK_DESCRIPTION("No Description.");
44   BBTK_CATEGORY("empty");
45   BBTK_INPUT(ScalarBarActor,LookupTable,"LookupTable",vtkScalarsToColors*,"");
46   BBTK_INPUT(ScalarBarActor,DisplayPosition,"(default EMPTY)  [x,y] ",std::vector<double>,"");
47   BBTK_INPUT(ScalarBarActor,Title,"Title ",std::string,"");
48   BBTK_INPUT(ScalarBarActor,Renderer,"Renderer",vtkRenderer*,"");
49 //  BBTK_OUTPUT(ScalarBarActor,Out,"First output",double,"");
50 BBTK_END_DESCRIBE_BLACK_BOX(ScalarBarActor);
51 //===== 
52 // 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)
53 //===== 
54 }
55 // EO namespace bbcreaVtk
56
57 #endif // __bbcreaVtkScalarBarActor_h_INCLUDED__
58