]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkScalarBarActor.h
#3470 merge vtk8itk5wx3-mingw64
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkScalarBarActor.h
index 9dc840332ea460313f731f454c0acd0a5b871023..b72d79751904f1f2dd40efe50372bd09913c7b3c 100644 (file)
@@ -10,6 +10,7 @@
 #include <vtkRenderer.h>
 #include <vtkScalarsToColors.h>
 #include <vtkTextProperty.h>
+#include <vtkScalarBarActor.h>
 
 namespace bbcreaVtk
 {
@@ -23,12 +24,16 @@ class bbcreaVtk_EXPORT ScalarBarActor
 // 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)
 //===== 
   BBTK_DECLARE_INPUT(LookupTable,vtkScalarsToColors*);
+  BBTK_DECLARE_INPUT(DisplayPosition,std::vector<double>);
+  BBTK_DECLARE_INPUT(Title,std::string);
   BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
+  BBTK_DECLARE_INPUT(Active,bool);
 //  BBTK_DECLARE_OUTPUT(Out,double);
   BBTK_PROCESS(Process);
   void Process();
 
   bool firsttime;
+  vtkScalarBarActor *scalarbarActor;
 
 //===== 
 // 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)
@@ -41,7 +46,10 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ScalarBarActor,bbtk::AtomicBlackBox);
   BBTK_DESCRIPTION("No Description.");
   BBTK_CATEGORY("empty");
   BBTK_INPUT(ScalarBarActor,LookupTable,"LookupTable",vtkScalarsToColors*,"");
+  BBTK_INPUT(ScalarBarActor,DisplayPosition,"(default EMPTY)  [x,y] ",std::vector<double>,"");
+  BBTK_INPUT(ScalarBarActor,Title,"('Value' default) Title",std::string,"");
   BBTK_INPUT(ScalarBarActor,Renderer,"Renderer",vtkRenderer*,"");
+  BBTK_INPUT(ScalarBarActor,Active,"(true default) Active  true/false",bool,"");
 //  BBTK_OUTPUT(ScalarBarActor,Out,"First output",double,"");
 BBTK_END_DESCRIBE_BLACK_BOX(ScalarBarActor);
 //=====