Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Types | Static Public Member Functions | Private Member Functions | List of all members
AxisTickCalculator Class Reference

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 (double x1, double x2, GridVector &grid)
 Returns a GridVector with ticks for linear scales. More...
 
static void calcLogGridLines (double x1, double x2, GridVector &grid)
 Returns a GridVector with ticks for logarithmic scales. More...
 

Private Member Functions

 AxisTickCalculator ()
 Constructor: only static methods. More...
 

Detailed Description

Calculates ticks for a given value range.

It has only static methods, that's why the constructor is private.

Member Typedef Documentation

◆ GridVector

typedef std::vector<std::vector<double> > GridVector

Typedef for the grid vector.

Constructor & Destructor Documentation

◆ AxisTickCalculator()

AxisTickCalculator ( )
private

Constructor: only static methods.

Member Function Documentation

◆ calcGridLines()

static void calcGridLines ( double  x1,
double  x2,
GridVector grid 
)
static

Returns a GridVector with ticks for linear scales.

Parameters
x1minimum value
x2maximum value
gridthe grid_vector to fill

◆ calcLogGridLines()

static void calcLogGridLines ( double  x1,
double  x2,
GridVector grid 
)
static

Returns a GridVector with ticks for logarithmic scales.

Parameters
x1minimum value
x2maximum value
gridthe grid_vector to fill

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:07 using doxygen 1.8.13