27 #include "vtkChartsCoreModule.h"
30 VTK_ABI_NAMESPACE_BEGIN
93 vtkSetMacro(BagVisible,
bool);
94 vtkGetMacro(BagVisible,
bool);
101 void SetLinePen(
vtkPen* pen);
102 vtkGetObjectMacro(LinePen,
vtkPen);
135 VTK_ABI_NAMESPACE_END
136 #endif // vtkPlotBag_h
Wrapper around std::string to keep symbols short.
void SetPen(vtkPen *pen)
Set/get the vtkPen object that controls how this plot draws (out)lines.
Class for drawing an points given two columns from a vtkTable.
void SetPointPen(vtkPen *pen)
Set/get the vtkPen object that controls how this plot draws points.
a vtkAbstractArray subclass for strings
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool UpdateCache() override
Update the internal cache.
vtkPen * GetPen()
Get the plot color as floating rgb values (comprised between 0.0 and 1.0)
Class for drawing 2D primitives to a graphical context.
a simple class to control print indentation
represent and manipulate 2D points
virtual vtkStringArray * GetLabels()
Get the plot labels.
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
provides a pen that draws the outlines of shapes drawn by vtkContext2D.
A table, which contains similar-typed columns of data.
virtual void SetInputData(vtkTable *table)
This is a convenience function to set the input table and the x, y column for the plot...
static vtkPlotPoints * New()
Creates a 2D Chart object.
virtual vtkStdString GetTooltipLabel(const vtkVector2d &plotPos, vtkIdType seriesIndex, vtkIdType segmentIndex)
Generate and return the tooltip label string for this plot The segmentIndex parameter is ignored...
Class for drawing an a bagplot.
bool Paint(vtkContext2D *painter) override
Paint event for the XY plot, called whenever the chart needs to be drawn.