36 #include "vtkChartsCoreModule.h"
65 vtkGetMacro(LegendVisibility,
bool);
92 virtual void SetTooltipLabelFormat(
const vtkStdString &label);
100 virtual void SetTooltipNotation(
int notation);
101 virtual int GetTooltipNotation();
108 virtual void SetTooltipPrecision(
int precision);
109 virtual int GetTooltipPrecision();
143 virtual void SetColor(
unsigned char r,
unsigned char g,
unsigned char b,
145 virtual void SetColor(
double r,
double g,
double b);
146 virtual void GetColor(
double rgb[3]);
147 void GetColor(
unsigned char rgb[3]);
153 virtual void SetWidth(
float width);
158 virtual float GetWidth();
181 void SetSelectionPen(
vtkPen *pen);
182 vtkPen* GetSelectionPen();
190 void SetSelectionBrush(
vtkBrush *brush);
219 virtual int GetNumberOfLabels();
248 vtkGetMacro(UseIndexForXSeries,
bool);
264 virtual void SetInputData(
vtkTable *table);
290 vtkGetMacro(Selectable,
bool);
308 vtkGetObjectMacro(XAxis,
vtkAxis);
309 virtual void SetXAxis(
vtkAxis* axis);
316 vtkGetObjectMacro(YAxis,
vtkAxis);
317 virtual void SetYAxis(
vtkAxis* axis);
327 void SetShiftScale(
const vtkRectd &scaling);
337 { bounds[0] = bounds[1] = bounds[2] = bounds[3] = 0.0; }
367 return this->GetBounds(bounds);
489 void operator=(const
vtkPlot &) VTK_DELETE_FUNCTION;
vtkAxis * XAxis
The X axis associated with this plot.
Wrapper around std::string to keep symbols short.
virtual void UpdateCache()
Subclasses that build data caches to speed up painting should override this method to update such cac...
vtkRectd ShiftScale
The current shift in origin and scaling factor applied to the plot.
base class for items that are part of a vtkContextScene.
vtkSmartPointer< vtkStringArray > IndexedLabels
Holds Labels when they're auto-created.
vtkSmartPointer< vtkBrush > Brush
This object stores the vtkBrush that controls how the plot is drawn.
virtual void GetBounds(double bounds[4])
Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).
a vtkAbstractArray subclass for strings
dynamic, self-adjusting array of vtkIdType
bool Selectable
Whether plot points can be selected or not.
Abstract class for 2D context mappers.
vtkSmartPointer< vtkPen > SelectionPen
This object stores the vtkPen that controls how the selected elements of the plot are drawn...
A atomic type representing the union of many types.
vtkStdString TooltipDefaultLabelFormat
The default printf-style string to build custom tooltip labels from.
vtkIdTypeArray * Selection
Selected indices for the table the plot is rendering.
Class for drawing 2D primitives to a graphical context.
provides a brush that fills shapes drawn by vtkContext2D.
takes care of drawing 2D axes
a simple class to control print indentation
vtkSmartPointer< vtkBrush > SelectionBrush
This object stores the vtkBrush that controls how the selected elements of the plot are drawn...
vtkSmartPointer< vtkContextMapper2D > Data
This data member contains the data that will be plotted, it inherits from vtkAlgorithm.
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
Abstract class for 2D plots.
vtkSmartPointer< vtkStringArray > Labels
Plot labels, used by legend.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkSmartPointer< vtkStringArray > AutoLabels
Holds Labels when they're auto-created.
A table, which contains similar-typed columns of data.
virtual void GetUnscaledInputBounds(double bounds[4])
Provide un-log-scaled bounds for the plot inputs.
vtkAxis * YAxis
The X axis associated with this plot.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkStdString TooltipLabelFormat
A printf-style string to build custom tooltip labels from.
vtkSmartPointer< vtkPen > Pen
This object stores the vtkPen that controls how the plot is drawn.
bool UseIndexForXSeries
Use the Y array index for the X value.