Go to the documentation of this file.
39 #include "vtkChartsCoreModule.h"
74 int legendIndex)
override;
115 vtkSetMacro(BagVisible,
bool);
116 vtkGetMacro(BagVisible,
bool);
151 #endif //vtkPlotBag_h
void SetInputData(vtkTable *table, const vtkStdString &yColumn, const vtkStdString &densityColumn) override
represent and manipulate 2D points
virtual void SetInputData(vtkTable *table, vtkIdType xColumn, vtkIdType yColumn, vtkIdType densityColumn)
void Update() override
Perform any updates to the item that may be necessary before rendering.
bool Paint(vtkContext2D *painter) override
Paint event for the XY plot, called whenever the chart needs to be drawn.
A table, which contains similar-typed columns of data.
void SetLinePen(vtkPen *pen)
Set/get the vtkPen object that controls how this plot draws boundary lines.
vtkStringArray * GetLabels() override
Get the plot labels.
Class for drawing 2D primitives to a graphical context.
abstract superclass for arrays of numeric data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetPen(vtkPen *pen)
Set/get the vtkPen object that controls how this plot draws (out)lines.
a simple class to control print indentation
vtkStdString GetTooltipLabel(const vtkVector2d &plotPos, vtkIdType seriesIndex, vtkIdType segmentIndex) override
Generate and return the tooltip label string for this plot The segmentIndex parameter is ignored,...
Class for drawing an points given two columns from a vtkTable.
Class for drawing an a bagplot.
a vtkAbstractArray subclass for strings
void UpdateTableCache(vtkDataArray *)
void SetPointPen(vtkPen *pen)
Set/get the vtkPen object that controls how this plot draws points.
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
Wrapper around std::string to keep symbols short.
bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect, int legendIndex) override
Paint legend event for the XY plot, called whenever the legend needs the plot items symbol/mark/line ...
vtkPoints2D * MedianPoints
virtual void SetInputData(vtkTable *table, const vtkStdString &xColumn, const vtkStdString &yColumn, const vtkStdString &densityColumn)
void SetInputData(vtkTable *table) override
Set the input, we are expecting a vtkTable with three columns.
static vtkPlotBag * New()
Creates a new Bag Plot object.