00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _Hist1DProjImp_H_ 00015 #define _Hist1DProjImp_H_ 00016 00017 #include "projectors/BinningProjector.h" 00018 00019 namespace hippodraw { 00020 00032 class MDL_HIPPOPLOT_API Hist1DProjImp : public BinningProjector 00033 { 00034 00035 protected: 00036 00040 std::string m_y_label_entries; 00041 00044 std::string m_y_label_density; 00045 00048 Hist1DProjImp(); 00049 00052 Hist1DProjImp ( const Hist1DProjImp & ); 00053 00055 virtual void addPointReps (); 00056 00059 double getPosOnValue () const; 00060 00063 Range dataRangeOnValue () const; 00064 00065 public: 00066 00069 virtual ~Hist1DProjImp (); 00070 00074 virtual void checkScaling (); 00075 00078 virtual bool isValueBinned () const; 00079 00080 virtual void setRange ( hippodraw::Axes::Type, bool ); 00081 00082 virtual void reset ( ); 00083 00084 virtual Range valueRange() const; 00085 00086 virtual Range preferredRange ( hippodraw::Axes::Type ) const; 00087 00090 virtual bool wantsScaleFactor ( const std::string & axis ) const; 00091 00092 }; 00093 00094 } // namespace hippodraw 00095 00096 #endif // _Hist1DProjImp_H_