42 class vtkTextProperty;
68 virtual void SetPosition(
int position);
69 vtkGetMacro(Position,
int);
75 void SetPoint1(
float x,
float y);
80 vtkGetVector2Macro(Point1,
float);
87 void SetPoint2(
float x,
float y);
92 vtkGetVector2Macro(Point2,
float);
99 vtkSetMacro(NumberOfTicks,
int);
104 vtkGetMacro(NumberOfTicks,
int);
110 vtkGetObjectMacro(LabelProperties, vtkTextProperty);
114 virtual void SetMinimum(
double minimum);
118 vtkGetMacro(Minimum,
double);
122 virtual void SetMaximum(
double maximum);
126 vtkGetMacro(Maximum,
double);
130 virtual void SetRange(
double minimum,
double maximum);
134 virtual void SetMinimumLimit(
double lowest);
139 vtkGetMacro(MinimumLimit,
double);
144 virtual void SetMaximumLimit(
double highest);
149 vtkGetMacro(MaximumLimit,
double);
160 vtkGetObjectMacro(TitleProperties, vtkTextProperty);
165 vtkSetMacro(LogScale,
bool);
166 vtkGetMacro(LogScale,
bool);
171 vtkSetMacro(GridVisible,
bool);
172 vtkGetMacro(GridVisible,
bool);
177 vtkSetMacro(LabelsVisible,
bool);
178 vtkGetMacro(LabelsVisible,
bool);
183 virtual void SetPrecision(
int precision);
184 vtkGetMacro(Precision,
int);
199 virtual void SetNotation(
int notation);
200 vtkGetMacro(Notation,
int);
215 vtkSetMacro(Behavior,
int);
216 vtkGetMacro(Behavior,
int);
222 vtkGetObjectMacro(Pen,
vtkPen);
228 vtkGetObjectMacro(GridPen,
vtkPen);
242 virtual void AutoScale();
246 virtual void RecalculateTickSpacing();
278 void GenerateTickLabels(
double min,
double max);
282 void GenerateTickLabels();
286 double CalculateNiceMinMax(
double &min,
double &max);
291 double NiceNumber(
double number,
bool roundUp);
300 double LogScaleTickMark(
double number,
314 void GenerateLogScaleTickMarks(
int order,
317 bool detailLabels =
true);
375 void operator=(
const vtkAxis &);
vtkTextProperty * LabelProperties
Wrapper around vtkstd::string to keep symbols short.
base class for items that are part of a vtkContextScene.
virtual bool Paint(vtkContext2D *painter)
record modification and/or execution time
dynamic, self-adjusting array of float
a vtkAbstractArray subclass for strings
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
vtkSmartPointer< vtkStringArray > TickLabels
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
vtkTextProperty * TitleProperties
vtkSmartPointer< vtkDoubleArray > TickPositions
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkSmartPointer< vtkFloatArray > TickScenePositions