26 #ifndef __vtkAxisExtended_h
27 #define __vtkAxisExtended_h
34 # define VTK_DBL_EPSILON 2.2204460492503131e-16
36 # define VTK_DBL_EPSILON DBL_EPSILON
49 static double Simplicity(
int qIndex,
int qLength,
int j,
double lmin,
50 double lmax,
double lstep);
55 static double SimplicityMax(
int qIndex,
int qLength,
int j);
59 static double Coverage(
double dmin,
double dmax,
double lmin,
double lmax);
63 static double CoverageMax(
double dmin,
double dmax,
double span);
68 static double Density(
int k,
double m,
double dmin,
double dmax,
69 double lmin,
double lmax);
74 static double DensityMax(
int k,
double m);
77 static double FormatLegibilityScore(
double n,
int format);
80 static int FormatStringLength(
int format,
double n,
int precision);
86 vtkVector3d GenerateExtendedTickLabels(
double dmin,
double dmax,
double m,
92 vtkGetMacro(FontSize,
int);
93 vtkSetMacro(FontSize,
int);
96 vtkGetMacro(DesiredFontSize,
int);
97 vtkSetMacro(DesiredFontSize,
int);
99 vtkGetMacro(Precision,
int);
100 vtkSetMacro(Precision,
int);
101 vtkGetMacro(LabelFormat,
int);
102 vtkSetMacro(LabelFormat,
int);
104 vtkGetMacro(Orientation,
int);
105 vtkSetMacro(Orientation,
int);
107 vtkGetMacro(IsAxisVertical,
bool);
108 vtkSetMacro(IsAxisVertical,
bool);
117 double Legibility(
double lmin,
double lmax,
double lstep,
double scaling,