#ifdef _USE_WXWIDGETS_ #ifndef __bbcreaMaracasVisuTransferFunctionView_h_INCLUDED__ #define __bbcreaMaracasVisuTransferFunctionView_h_INCLUDED__ #include "bbtkWxBlackBox.h" #include "vtkImageData.h" #include "HistogramWidget.h" namespace bbcreaMaracasVisu { class /*BBTK_EXPORT*/ TransferFunctionView : public bbtk::WxBlackBox { BBTK_BLACK_BOX_INTERFACE(TransferFunctionView,bbtk::WxBlackBox); //================================================================== /// User callback called in the box contructor virtual void bbUserConstructor(); /// User callback called in the box copy constructor virtual void bbUserCopyConstructor(bbtk::BlackBox::Pointer); /// User callback called in the box destructor virtual void bbUserDestructor(); //================================================================== BBTK_DECLARE_INPUT(In, vtkImageData*); BBTK_PROCESS(Process); void Process(); BBTK_CREATE_WIDGET(CreateWidget); void CreateWidget(wxWindow* parent); private: HistogramWidget *mwxwidget; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(TransferFunctionView,bbtk::WxBlackBox); BBTK_NAME("TransferFunctionView"); BBTK_AUTHOR("eduardo.davila [at] creatis.insa-lyon.fr"); BBTK_DESCRIPTION("Transfer Function Window"); //BBTK_CATEGORY("__CategoryBlackBox__"); BBTK_INPUT(TransferFunctionView,In,"Input image",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(TransferFunctionView); } // EO namespace bbcreaMaracasVisu #endif // __bbcreaMaracasVisuTransferFunctionView_h_INCLUDED__ #endif // _USE_WXWIDGETS_