36#include "vtkChartsCoreModule.h"
108 vtkSetMacro(BagVisible,
bool);
109 vtkGetMacro(BagVisible,
bool);
Class for drawing 2D primitives to a graphical context.
abstract superclass for arrays of numeric data
a simple class to control print indentation
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
Class for drawing an a bagplot.
void SetLinePen(vtkPen *pen)
Set/get the vtkPen object that controls how this plot draws boundary lines.
void SetInputData(vtkTable *table) override
Set the input, we are expecting a vtkTable with three columns.
virtual void SetInputData(vtkTable *table, vtkIdType xColumn, vtkIdType yColumn, vtkIdType densityColumn)
void SetPointPen(vtkPen *pen)
Set/get the vtkPen object that controls how this plot draws points.
vtkStringArray * GetLabels() override
Get the plot labels.
static vtkPlotBag * New()
Creates a new Bag Plot object.
void SetInputData(vtkTable *table, const vtkStdString &yColumn, const vtkStdString &densityColumn) override
Set the input, we are expecting a vtkTable with three columns.
bool Paint(vtkContext2D *painter) override
Paint event for the XY plot, called whenever the chart needs to be drawn.
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
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,...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetInputData(vtkTable *table, const vtkStdString &xColumn, const vtkStdString &yColumn, const vtkStdString &densityColumn)
Set the input, we are expecting a vtkTable with three columns.
void UpdateTableCache(vtkDataArray *)
void Update() override
Perform any updates to the item that may be necessary before rendering.
Class for drawing an points given two columns from a vtkTable.
vtkPen * GetPen()
Set/get the vtkPen object that controls how this plot draws (out)lines.
void SetPen(vtkPen *pen)
Set/get the vtkPen object that controls how this plot draws (out)lines.
represent and manipulate 2D points
Wrapper around std::string to keep symbols short.
a vtkAbstractArray subclass for strings
A table, which contains similar-typed columns of data.