Calculates ticks for a given value range. More...
#include <OpenMS/VISUAL/AxisTickCalculator.h>
Public Types | |
| typedef std::vector < std::vector< double > > | GridVector |
| Typedef for the grid vector. | |
Static Public Member Functions | |
| static void | calcGridLines (DoubleReal x1, DoubleReal x2, GridVector &grid) |
| Returns a GridVector with ticks for linear scales. | |
| static void | calcLogGridLines (DoubleReal x1, DoubleReal x2, GridVector &grid) |
| Returns a GridVector with ticks for logarithmic scales. | |
Private Member Functions | |
| AxisTickCalculator () | |
| Constructor: only static methods. | |
Calculates ticks for a given value range.
It has only static methods, that's why the constructor is private.
| typedef std::vector<std::vector<double> > GridVector |
Typedef for the grid vector.
| AxisTickCalculator | ( | ) | [private] |
Constructor: only static methods.
| static void calcGridLines | ( | DoubleReal | x1, | |
| DoubleReal | x2, | |||
| GridVector & | grid | |||
| ) | [static] |
Returns a GridVector with ticks for linear scales.
| x1 | minimum value | |
| x2 | maximum value | |
| grid | the grid_vector to fill |
| static void calcLogGridLines | ( | DoubleReal | x1, | |
| DoubleReal | x2, | |||
| GridVector & | grid | |||
| ) | [static] |
Returns a GridVector with ticks for logarithmic scales.
| x1 | minimum value | |
| x2 | maximum value | |
| grid | the grid_vector to fill |
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:58 using doxygen 1.7.1 |