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. More... | |
Static Public Member Functions | |
| static void | calcGridLines (DoubleReal x1, DoubleReal x2, GridVector &grid) |
| Returns a GridVector with ticks for linear scales. More... | |
| static void | calcLogGridLines (DoubleReal x1, DoubleReal x2, GridVector &grid) |
| Returns a GridVector with ticks for logarithmic scales. More... | |
Private Member Functions | |
| AxisTickCalculator () | |
| Constructor: only static methods. More... | |
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.
|
private |
Constructor: only static methods.
|
static |
Returns a GridVector with ticks for linear scales.
| x1 | minimum value |
| x2 | maximum value |
| grid | the grid_vector to fill |
|
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.11.1 | Documentation generated on Thu Nov 14 2013 11:19:35 using doxygen 1.8.5 |