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 __bbcreaVtkScalarBarActor_h_INCLUDED__
5 #define __bbcreaVtkScalarBarActor_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include <vtkRenderer.h>
11 #include <vtkScalarsToColors.h>
12 #include <vtkTextProperty.h>
13 #include <vtkScalarBarActor.h>
18 class bbcreaVtk_EXPORT ScalarBarActor
20 public bbtk::AtomicBlackBox
22 BBTK_BLACK_BOX_INTERFACE(ScalarBarActor,bbtk::AtomicBlackBox);
24 // 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)
26 BBTK_DECLARE_INPUT(LookupTable,vtkScalarsToColors*);
27 BBTK_DECLARE_INPUT(DisplayPosition,std::vector<double>);
28 BBTK_DECLARE_INPUT(Title,std::string);
29 BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
30 BBTK_DECLARE_INPUT(Active,bool);
31 // BBTK_DECLARE_OUTPUT(Out,double);
32 BBTK_PROCESS(Process);
36 vtkScalarBarActor *scalarbarActor;
39 // 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)
43 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ScalarBarActor,bbtk::AtomicBlackBox);
44 BBTK_NAME("ScalarBarActor");
45 BBTK_AUTHOR("Info-Dev");
46 BBTK_DESCRIPTION("No Description.");
47 BBTK_CATEGORY("empty");
48 BBTK_INPUT(ScalarBarActor,LookupTable,"LookupTable",vtkScalarsToColors*,"");
49 BBTK_INPUT(ScalarBarActor,DisplayPosition,"(default EMPTY) [x,y] ",std::vector<double>,"");
50 BBTK_INPUT(ScalarBarActor,Title,"('Value' default) Title",std::string,"");
51 BBTK_INPUT(ScalarBarActor,Renderer,"Renderer",vtkRenderer*,"");
52 BBTK_INPUT(ScalarBarActor,Active,"(true default) Active true/false",bool,"");
53 // BBTK_OUTPUT(ScalarBarActor,Out,"First output",double,"");
54 BBTK_END_DESCRIBE_BLACK_BOX(ScalarBarActor);
56 // 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)
59 // EO namespace bbcreaVtk
61 #endif // __bbcreaVtkScalarBarActor_h_INCLUDED__