//===== // 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) //===== #ifndef __bbcreaVtkScalarsToColors_h_INCLUDED__ #define __bbcreaVtkScalarsToColors_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include #include #include namespace bbcreaVtk { class bbcreaVtk_EXPORT ScalarsToColors : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(ScalarsToColors,bbtk::AtomicBlackBox); //===== // 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(Type,int); BBTK_DECLARE_INPUT(ScalarValue,double); BBTK_DECLARE_INPUT(Range,std::vector ); BBTK_DECLARE_OUTPUT(Color, std::vector ); BBTK_DECLARE_OUTPUT(LookupTable,vtkScalarsToColors*); BBTK_PROCESS(Process); void Process(); bool firsttime; vtkLookupTable *_colorLookupTable; vtkColorTransferFunction *_volumeColor; //===== // 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_BEGIN_DESCRIBE_BLACK_BOX(ScalarsToColors,bbtk::AtomicBlackBox); BBTK_NAME("ScalarsToColors"); BBTK_AUTHOR("Info-Dev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(ScalarsToColors,Type,"0 (default) Type of color table",int,""); BBTK_INPUT(ScalarsToColors,ScalarValue,"Scalar value -> Color OUT",double,""); BBTK_INPUT(ScalarsToColors,Range,"Min Max range",std::vector,""); BBTK_OUTPUT(ScalarsToColors,Color,"Color",std::vector,""); BBTK_OUTPUT(ScalarsToColors,LookupTable,"LookupTable",vtkScalarsToColors*,""); BBTK_END_DESCRIBE_BLACK_BOX(ScalarsToColors); //===== // 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) //===== } // EO namespace bbcreaVtk #endif // __bbcreaVtkScalarsToColors_h_INCLUDED__