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 __bbcreaVtkScalarsToColors_h_INCLUDED__
5 #define __bbcreaVtkScalarsToColors_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include <vtkScalarsToColors.h>
11 #include <vtkLookupTable.h>
16 class bbcreaVtk_EXPORT ScalarsToColors
18 public bbtk::AtomicBlackBox
20 BBTK_BLACK_BOX_INTERFACE(ScalarsToColors,bbtk::AtomicBlackBox);
22 // 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 BBTK_DECLARE_INPUT(Type,int);
25 BBTK_DECLARE_INPUT(ScalarValue,double);
26 BBTK_DECLARE_INPUT(Range,std::vector<double> );
27 BBTK_DECLARE_OUTPUT(Color, std::vector<double> );
28 BBTK_DECLARE_OUTPUT(LookupTable,vtkScalarsToColors*);
29 BBTK_PROCESS(Process);
33 vtkLookupTable *_colorLookupTable;
37 // 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 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ScalarsToColors,bbtk::AtomicBlackBox);
42 BBTK_NAME("ScalarsToColors");
43 BBTK_AUTHOR("Info-Dev");
44 BBTK_DESCRIPTION("No Description.");
45 BBTK_CATEGORY("empty");
46 BBTK_INPUT(ScalarsToColors,Type,"Type of color table",int,"");
47 BBTK_INPUT(ScalarsToColors,ScalarValue,"Scalar value",double,"");
48 BBTK_INPUT(ScalarsToColors,Range,"Min Max range",std::vector<double>,"");
49 BBTK_OUTPUT(ScalarsToColors,Color,"Color",std::vector<double>,"");
50 BBTK_OUTPUT(ScalarsToColors,LookupTable,"LookupTable",vtkScalarsToColors*,"");
51 BBTK_END_DESCRIBE_BLACK_BOX(ScalarsToColors);
53 // 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)
56 // EO namespace bbcreaVtk
58 #endif // __bbcreaVtkScalarsToColors_h_INCLUDED__