#ifndef __HistogramDialogComboBoxItem__ #define __HistogramDialogComboBoxItem__ // ---------------------------------------------------------------------------- // wx headers inclusion. // For compilers that support precompilation, includes . // ---------------------------------------------------------------------------- #ifdef __BORLANDC__ #pragma hdrstop #endif #include #include class HistogramDialogComboBoxItem { public: /* Constructor */ HistogramDialogComboBoxItem(); HistogramDialogComboBoxItem(int bar_width,int bar_height); ~HistogramDialogComboBoxItem(); void SetColors(std::vector greyvect, std::vector redvect, std::vector greenvect, std::vector bluevect); void SetTransferFunction(std::vector greyvect, std::vector value); wxBitmap GetBitmap(); std::vector getGreyVector(){return _greyvect;} std::vector getRedVector(){return _redvect;} std::vector getGreenVector(){return _greenvect;} std::vector getBlueVector(){return _bluevect;} std::vector getGreyVectorTransfer(){return _greyvecttransfunct;} std::vector getValueVector(){return _value;} private: std::vector _greyvect; std::vector _redvect; std::vector _greenvect; std::vector _bluevect; std::vector _greyvecttransfunct; std::vector _value; /* * Represents the color of the backGround. Default color is the parent color. */ wxColour colourParent; int _bar_width; int _bar_height; wxBitmap* colorBar_Bitmap; }; #endif