2 #ifndef __HistogramDialogComboBoxItem__
3 #define __HistogramDialogComboBoxItem__
6 // ----------------------------------------------------------------------------
7 // wx headers inclusion.
8 // For compilers that support precompilation, includes <wx/wx.h>.
9 // ----------------------------------------------------------------------------
18 class HistogramDialogComboBoxItem
24 HistogramDialogComboBoxItem();
25 HistogramDialogComboBoxItem(int bar_width,int bar_height);
26 ~HistogramDialogComboBoxItem();
28 void SetColors(std::vector<double> greyvect, std::vector<double> redvect, std::vector<double> greenvect, std::vector<double> bluevect);
29 void SetTransferFunction(std::vector<double> greyvect, std::vector<double> value);
32 std::vector<double> getGreyVector(){return _greyvect;}
33 std::vector<double> getRedVector(){return _redvect;}
34 std::vector<double> getGreenVector(){return _greenvect;}
35 std::vector<double> getBlueVector(){return _bluevect;}
37 std::vector<double> getGreyVectorTransfer(){return _greyvecttransfunct;}
38 std::vector<double> getValueVector(){return _value;}
42 std::vector<double> _greyvect;
43 std::vector<double> _redvect;
44 std::vector<double> _greenvect;
45 std::vector<double> _bluevect;
47 std::vector<double> _greyvecttransfunct;
48 std::vector<double> _value;
51 * Represents the color of the backGround. Default color is the parent color.
53 wxColour colourParent;
58 wxBitmap* colorBar_Bitmap;