HistogramDialogComboBoxItem.h

Go to the documentation of this file.
00001 
00002 #ifndef __HistogramDialogComboBoxItem__
00003 #define __HistogramDialogComboBoxItem__
00004 
00005 
00006 // ----------------------------------------------------------------------------
00007 // wx headers inclusion.
00008 // For compilers that support precompilation, includes <wx/wx.h>.
00009 // ----------------------------------------------------------------------------
00010 
00011 #ifdef __BORLANDC__
00012 #pragma hdrstop
00013 #endif
00014 
00015 #include <wx/wx.h>
00016 #include <vector>
00017 
00018 class HistogramDialogComboBoxItem
00019 {
00020 public:
00021         /*
00022          Constructor
00023         */
00024         HistogramDialogComboBoxItem();
00025         HistogramDialogComboBoxItem(int bar_width,int bar_height);
00026         ~HistogramDialogComboBoxItem();
00027 
00028         void SetColors(std::vector<double> greyvect, std::vector<double> redvect, std::vector<double> greenvect, std::vector<double> bluevect);
00029         void SetTransferFunction(std::vector<double> greyvect, std::vector<double> value);
00030         wxBitmap GetBitmap();
00031 
00032         std::vector<double> getGreyVector(){return _greyvect;}
00033         std::vector<double> getRedVector(){return _redvect;}
00034         std::vector<double> getGreenVector(){return _greenvect;}
00035         std::vector<double> getBlueVector(){return _bluevect;}
00036 
00037         std::vector<double> getGreyVectorTransfer(){return _greyvecttransfunct;}
00038         std::vector<double> getValueVector(){return _value;}
00039 private:
00040         
00041 
00042         std::vector<double> _greyvect;
00043         std::vector<double> _redvect;
00044         std::vector<double> _greenvect;
00045         std::vector<double> _bluevect;
00046 
00047         std::vector<double> _greyvecttransfunct;
00048         std::vector<double> _value;
00049 
00050         /*
00051         * Represents the color of the backGround. Default color is the parent color. 
00052         */
00053         wxColour        colourParent;
00054 
00055         int _bar_width;
00056         int _bar_height;
00057 
00058         wxBitmap* colorBar_Bitmap;
00059         
00060 };
00061 
00062 #endif
00063 
00064 
00065 

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1