90 TICK_WILKINSON_EXTENDED
99 virtual void SetPosition(
int position);
100 vtkGetMacro(Position,
int);
106 void SetPoint1(
float x,
float y);
111 vtkGetVector2Macro(Point1,
float);
118 void SetPoint2(
float x,
float y);
123 vtkGetVector2Macro(Point2,
float);
129 virtual void SetNumberOfTicks(
int numberOfTicks);
133 vtkGetMacro(NumberOfTicks,
int);
145 virtual void SetMinimum(
double minimum);
151 vtkGetMacro(Minimum,
double);
157 virtual void SetMaximum(
double maximum);
163 vtkGetMacro(Maximum,
double);
170 virtual void SetUnscaledMinimum(
double minimum);
174 vtkGetMacro(UnscaledMinimum,
double);
178 virtual void SetUnscaledMaximum(
double maximum);
182 vtkGetMacro(UnscaledMaximum,
double);
192 virtual void SetRange(
double minimum,
double maximum);
193 virtual void SetRange(
double range[2]);
194 virtual void SetUnscaledRange(
double minimum,
double maximum);
195 virtual void SetUnscaledRange(
double range[2]);
203 virtual void GetRange(
double *
range);
204 virtual void GetUnscaledRange(
double *
range);
209 virtual void SetMinimumLimit(
double lowest);
214 vtkGetMacro(MinimumLimit,
double);
219 virtual void SetMaximumLimit(
double highest);
224 vtkGetMacro(MaximumLimit,
double);
229 virtual void SetUnscaledMinimumLimit(
double lowest);
234 vtkGetMacro(UnscaledMinimumLimit,
double);
239 virtual void SetUnscaledMaximumLimit(
double highest);
244 vtkGetMacro(UnscaledMaximumLimit,
double);
249 vtkGetVector2Macro(Margins,
int);
254 vtkSetVector2Macro(Margins,
int);
277 vtkGetMacro(LogScaleActive,
bool);
283 vtkGetMacro(LogScale,
bool);
284 virtual void SetLogScale(
bool logScale);
285 vtkBooleanMacro(LogScale,
bool);
290 vtkSetMacro(GridVisible,
bool);
291 vtkGetMacro(GridVisible,
bool);
296 vtkSetMacro(LabelsVisible,
bool);
297 vtkGetMacro(LabelsVisible,
bool);
302 vtkSetMacro(RangeLabelsVisible,
bool);
303 vtkGetMacro(RangeLabelsVisible,
bool);
308 vtkSetMacro(TicksVisible,
bool);
309 vtkGetMacro(TicksVisible,
bool);
314 vtkSetMacro(AxisVisible,
bool);
315 vtkGetMacro(AxisVisible,
bool);
321 virtual void SetPrecision(
int precision);
322 vtkGetMacro(Precision,
int);
328 STANDARD_NOTATION = 0,
338 virtual void SetLabelFormat(
const std::string &fmt);
353 virtual void SetNotation(
int notation);
354 vtkGetMacro(Notation,
int);
369 vtkSetMacro(Behavior,
int);
370 vtkGetMacro(Behavior,
int);
376 vtkGetObjectMacro(Pen,
vtkPen);
382 vtkGetObjectMacro(GridPen,
vtkPen);
392 vtkSetMacro(TickLabelAlgorithm,
int)
393 vtkGetMacro(TickLabelAlgorithm,
int)
400 vtkSetMacro(ScalingFactor,
double)
401 vtkGetMacro(ScalingFactor,
double)
402 vtkSetMacro(Shift,
double)
403 vtkGetMacro(Shift,
double)
417 virtual
void AutoScale();
421 virtual
void RecalculateTickSpacing();
455 static
double NiceNumber(
double number,
bool roundUp);
460 static
double NiceMinMax(
double &min,
double &
max,
float pixelRange,
461 float tickPixelSpacing);
478 void UpdateLogScaleActive(
bool updateMinMaxFromUnscaled);
481 void GenerateTickLabels(
double min,
double max);
485 void GenerateTickLabels();
487 void GenerateLabelFormat(
int notation,
double n);
494 double CalculateNiceMinMax(
double &min,
double &max);
503 double LogScaleTickMark(
double number,
517 void GenerateLogSpacedLinearTicks(
int order,
double min,
double max);
527 void GenerateLogScaleTickMarks(
int order,
530 bool detailLabels = true);
544 double UnscaledMinimum;
545 double UnscaledMaximum;
546 double UnscaledMinimumLimit;
547 double UnscaledMaximumLimit;
548 double NonLogUnscaledMinLimit;
549 double NonLogUnscaledMaxLimit;
557 bool RangeLabelsVisible;
562 std::
string LabelFormat;
563 std::
string RangeLabelFormat;
573 double ScalingFactor;
578 bool CustomTickLabels;
598 bool UsingNiceMinMax;
607 int TickLabelAlgorithm;
613 vtkAxis(const vtkAxis &);
614 void operator=(const vtkAxis &);
617 bool InRange(
double value);
Wrapper around std::string to keep symbols short.
base class for items that are part of a vtkContextScene.
record modification and/or execution time
dynamic, self-adjusting array of float
a vtkAbstractArray subclass for strings
Hold a reference to a vtkObjectBase instance.
dynamic, self-adjusting array of double
Class for drawing 2D primitives to a graphical context.
takes care of drawing 2D axes
a simple class to control print indentation
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
represent text properties.
virtual void PrintSelf(ostream &os, vtkIndent indent)
#define VTKCHARTSCORE_EXPORT