AxisModelLog.h
Go to the documentation of this file.
1 /* -*- mode: c++ -*- */
2 
14 #ifndef _AxisModelLog_H_
15 #define _AxisModelLog_H_
16 
17 #include "AxisModelBase.h"
18 
19 namespace hippodraw {
20 
28 {
29 
33  virtual void setTickStep();
34 
35  public:
36 
39  AxisModelLog ( AxisLoc label, AxisLoc scale );
40 
43  AxisModelLog( const AxisModelBase & axis_model );
44 
46  ~AxisModelLog();
47 
50  virtual AxisModelBase * clone() const;
51 
53  bool isLog() const;
54 
55  virtual const Range & adjustValues ( const Range & );
56 
58  virtual const Range & adjustLogValues();
59 
61  double nextStep( double cur );
62 
64  double prevStep( double cur );
65 
66  virtual Range calcLow ( int parm, bool dragging = false );
67  virtual Range calcHigh ( int parm, bool dragging = false );
68 
69 };
70 
71 } // namespace hippodraw
72 
73 #endif // _AxisModelLog_H_
#define MDL_HIPPOPLOT_API
Definition: libhippo.h:36
Given a range, calculates a model for an axis with a log scale.
Definition: AxisModelLog.h:27
AxisLoc
The base class for the binner hierarchy.
Definition: AxisLoc.h:17
numeric::array clone(numeric::array arr)
Definition: num_util.cpp:412
The AxisModelBase class maintains the Range and scaling of an axis.
Definition: AxisModelBase.h:33
hippodraw::AxisModelBase class interface
Expresses a range of values.
Definition: Range.h:33

Generated for HippoDraw Class Library by doxygen