Go to the documentation of this file.
27 #ifndef vtkAxisExtended_h
28 #define vtkAxisExtended_h
31 #include "vtkChartsCoreModule.h"
46 static double Simplicity(
int qIndex,
int qLength,
int j,
double lmin,
47 double lmax,
double lstep);
59 static double Coverage(
double dmin,
double dmax,
double lmin,
double lmax);
64 static double CoverageMax(
double dmin,
double dmax,
double span);
70 static double Density(
int k,
double m,
double dmin,
double dmax,
71 double lmin,
double lmax);
101 vtkGetMacro(FontSize,
int);
102 vtkSetMacro(FontSize,
int);
105 vtkGetMacro(DesiredFontSize,
int);
106 vtkSetMacro(DesiredFontSize,
int);
108 vtkGetMacro(Precision,
int);
109 vtkSetMacro(Precision,
int);
110 vtkGetMacro(LabelFormat,
int);
111 vtkSetMacro(LabelFormat,
int);
113 vtkGetMacro(Orientation,
int);
114 vtkSetMacro(Orientation,
int);
116 vtkGetMacro(IsAxisVertical,
bool);
117 vtkSetMacro(IsAxisVertical,
bool);
126 double Legibility(
double lmin,
double lmax,
double lstep,
double scaling,
~vtkAxisExtended() override
static int FormatStringLength(int format, double n, int precision)
This method returns the string length of different format notations.
static double DensityMax(int k, double m)
Derives the maximum values for density given k (number of ticks) and m (user given)
static double CoverageMax(double dmin, double dmax, double span)
This gives the maximum possible value of coverage given the step size.
abstract base class for most VTK objects
vtkVector3d GenerateExtendedTickLabels(double dmin, double dmax, double m, double scaling)
This method implements the algorithm given in the paper The method return the minimum tick position,...
bool LabelLegibilityChanged
a simple class to control print indentation
extended axis tick positioning
static double Simplicity(int qIndex, int qLength, int j, double lmin, double lmax, double lstep)
This method return a value to make step sizes corresponding to low q and j values more preferable.
static double Coverage(double dmin, double dmax, double lmin, double lmax)
This method makes the data range approximately same as the labeling range more preferable.
static double SimplicityMax(int qIndex, int qLength, int j)
This method returns the maximum possible value of simplicity value given q and j.
static vtkAxisExtended * New()
static double Density(int k, double m, double dmin, double dmax, double lmin, double lmax)
This method return a value to make the density of the labels close to the user given value.
static double FormatLegibilityScore(double n, int format)
This methods return the legibility score of different formats.
double Legibility(double lmin, double lmax, double lstep, double scaling, vtkVector< int, 3 > ¶meters)
This method implements an exhaustive search of the legibilty parameters.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.