ColumnPointRep.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*- */
00002 
00014 #ifndef _ColumnPointRep_H_
00015 #define _ColumnPointRep_H_
00016 
00017 #include "PointRepBase.h"
00018 
00019 namespace hippodraw {
00020 
00032 class MDL_HIPPOPLOT_API ColumnPointRep : public PointRepBase
00033 {
00034 protected:
00035 
00039   std::vector< double > m_x;
00040 
00044   std::vector< double > m_y;
00045 
00048   virtual void drawValues ( ViewBase * view ) const;
00049 
00050 private:
00051 
00054   hippodraw::Line::Style m_line_style;
00055 
00058   bool m_y_flag;
00059 
00061   bool m_clear_flag;
00062 
00063 public:
00064 
00066   ColumnPointRep();
00067   
00069   ColumnPointRep( const ColumnPointRep & point_rep );
00070 
00072   ~ColumnPointRep();
00073 
00076   virtual RepBase * clone();
00077 
00080   virtual void setColor ( const Color & color );
00081 
00084   virtual void setSize ( float value );
00085 
00088   virtual void setStyle ( unsigned int style );
00089 
00092   virtual unsigned int getStyle ( ) const;
00093 
00097   virtual void setErrorOn ( hippodraw::Axes::Type axis, bool yes = true );
00098 
00099   virtual bool yError ( ) const;
00100 
00101   virtual void drawProjectedValues ( const DataSource * ntuple,
00102                                      TransformBase * transform,
00103                                      ViewBase * view );
00104 
00107   virtual bool uses ( hippodraw::Line::Style ) const;
00108 
00109 
00110 };
00111 
00112 } // namespace hippodraw
00113 
00114 #endif // _ColumnPointRep_H_

Generated for HippoDraw Class Library by doxygen