#include <OpenMS/VISUAL/AxisTickCalculator.h>
It has only static methods, that's why the constructor is private.
Public Types | |
typedef std::vector < std::vector< double > > | GridVector |
Typedef for the grid vector. | |
Static Public Member Functions | |
static void | calcGridLines (double x1, double x2, int levels, GridVector &grid, UInt max_num_big, UInt max_num_small) |
Returns a GridVector with ticks for linear scales. | |
static void | calcLogGridLines (double x1, double x2, GridVector &grid) |
Returns a GridVector with ticks for logarithmic scales. | |
Private Member Functions | |
AxisTickCalculator () | |
Constructor: only static methods. |
typedef std::vector<std::vector<double> > GridVector |
Typedef for the grid vector.
AxisTickCalculator | ( | ) | [private] |
Constructor: only static methods.
static void calcGridLines | ( | double | x1, | |
double | x2, | |||
int | levels, | |||
GridVector & | grid, | |||
UInt | max_num_big, | |||
UInt | max_num_small | |||
) | [static] |
Returns a GridVector with ticks for linear scales.
x1 | minimum value | |
x2 | maximum value | |
levels | numbers of different tick levels (maximum is 3) | |
grid | the grid_vector to fill | |
max_num_big | ||
max_num_small |
static void calcLogGridLines | ( | double | x1, | |
double | x2, | |||
GridVector & | grid | |||
) | [static] |
Returns a GridVector with ticks for logarithmic scales.
x1 | minimum value | |
x2 | maximum value | |
grid | the grid_vector to fill |
Generated Tue Apr 1 15:36:48 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |