00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _ColorBoxPointRep_H_ 00015 #define _ColorBoxPointRep_H_ 00016 00017 #include "PointRepBase.h" 00018 00019 class BinToColor; 00020 00029 class MDL_HIPPOPLOT_API ColorBoxPointRep : public PointRepBase 00030 { 00031 private: 00032 00035 BinToColor * m_bin_to_color; 00036 00038 bool m_need_background; 00039 00040 public: 00041 00043 ColorBoxPointRep( ); 00044 00046 ColorBoxPointRep( const ColorBoxPointRep & point_rep ); 00047 00049 ~ColorBoxPointRep(); 00050 00053 virtual RepBase * clone(); 00054 00055 virtual const BinToColor * getValueTransform ( ) const; 00056 virtual void setValueTransform ( BinToColor * ); 00057 00058 virtual void drawProjectedValues ( const DataSource * ntuple, 00059 TransformBase * transform, 00060 ViewBase * view ); 00061 }; 00062 00063 #endif // _ColorBoxPointRep_H_