DataView.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _DataView_H_
15 #define _DataView_H_
16 
17 #include "ViewBase.h"
18 
19 
20 
21 namespace hippodraw {
22 
30 class MDL_HIPPOPLOT_API DataView : virtual public ViewBase
31 {
32 
33 private:
34 
36  DataView ( const DataView & );
37 
38 protected:
39 
41  DataView();
42 
49 
52  DataView ( PlotterBase * plotter );
53 
55  virtual ~DataView();
56 
59  void prepareMarginRect ( );
60 
63  virtual float userToMarginX ( double x ) const;
64 
67  virtual float userToInvertedMarginX ( double x ) const;
68 
71  virtual float userToMarginY ( double y ) const;
72 
76  virtual float userToInvertedMarginY ( double y ) const;
77 
80  virtual float userToMarginColor ( double c ) const;
81 
82 
86  virtual double marginToUserX ( double x ) const;
87 
91  virtual double marginToInvertedUserX ( double x ) const;
92 
96  virtual double marginToUserY ( double y ) const;
97 
101  virtual double marginToInvertedUserY ( double y ) const;
102 
103 
104  public:
105 
108  const Rect & getMarginRect () const;
109 
114  void setMarginRect ( const Rect & );
115 
116 };
117 
118 } // namespace hippodraw
119 
120 #endif // _DataView_H_

Generated for HippoDraw Class Library by doxygen