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(TicksVisible,
bool);
303 vtkGetMacro(TicksVisible,
bool);
308 vtkSetMacro(AxisVisible,
bool);
309 vtkGetMacro(AxisVisible,
bool);
314 virtual void SetPrecision(
int precision);
315 vtkGetMacro(Precision,
int);
321 STANDARD_NOTATION = 0,
330 virtual void SetNotation(
int notation);
331 vtkGetMacro(Notation,
int);
346 vtkSetMacro(Behavior,
int);
347 vtkGetMacro(Behavior,
int);
353 vtkGetObjectMacro(Pen,
vtkPen);
359 vtkGetObjectMacro(GridPen,
vtkPen);
369 vtkSetMacro(TickLabelAlgorithm,
int)
370 vtkGetMacro(TickLabelAlgorithm,
int)
377 vtkSetMacro(ScalingFactor,
double)
378 vtkGetMacro(ScalingFactor,
double)
379 vtkSetMacro(Shift,
double)
380 vtkGetMacro(Shift,
double)
394 virtual
void AutoScale();
398 virtual
void RecalculateTickSpacing();
432 static
double NiceNumber(
double number,
bool roundUp);
437 static
double NiceMinMax(
double &min,
double &
max,
float pixelRange,
438 float tickPixelSpacing);
451 void UpdateLogScaleActive(
bool updateMinMaxFromUnscaled);
454 void GenerateTickLabels(
double min,
double max);
458 void GenerateTickLabels();
460 void GenerateLabelFormat(
int notation,
double n);
464 double CalculateNiceMinMax(
double &min,
double &max);
473 double LogScaleTickMark(
double number,
487 void GenerateLogSpacedLinearTicks(
int order,
double min,
double max);
497 void GenerateLogScaleTickMarks(
int order,
500 bool detailLabels = true);
514 double UnscaledMinimum;
515 double UnscaledMaximum;
516 double UnscaledMinimumLimit;
517 double UnscaledMaximumLimit;
518 double NonLogUnscaledMinLimit;
519 double NonLogUnscaledMaxLimit;
540 double ScalingFactor;
545 bool CustomTickLabels;
565 bool UsingNiceMinMax;
574 int TickLabelAlgorithm;
580 vtkAxis(const vtkAxis &);
581 void operator=(const vtkAxis &);
585 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