AxisRepColor.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _AxisRepColor_H_
15 #define _AxisRepColor_H_
16 
17 #include "AxisRepBase.h"
18 
19 namespace hippodraw {
20 
21 class AxisModelBase;
22 class AxisTick;
23 
39 {
40 
41  protected:
42 
45 
47  float m_axis_depth;
48 
49  public:
51  AxisRepColor();
52 
54  AxisRepColor( const AxisRepColor & axis_rep );
55 
58  AxisRepBase * clone();
59 
61  void drawZLabels ( const AxisModelBase & axis_model,
62  ViewBase & view,
63  const std::string & z_label );
64 
65 
70  void drawAllZTicks( const AxisModelBase & axis_model,
71  const TransformBase & transform,
72  ViewBase & view );
73 private:
74 
76  void drawZTickLines ( const AxisModelBase & axisModel,
77  const TransformBase & transform,
78  ViewBase & view );
79 
81  void drawZTickLabels ( const AxisModelBase & axisModel,
82  const TransformBase & transform,
83  ViewBase & view );
84 
87  virtual void drawColorScale ( const BinToColor &, ViewBase & );
88 
89 };
90 
91 } // namespace hippodraw
92 
93 #endif // _AxisRepColor_H_

Generated for HippoDraw Class Library by doxygen