Go to the documentation of this file.
29 #include "vtkChartsCoreModule.h"
37 class vtkPlotPiePrivate;
77 vtkGetVector4Macro(Dimensions,
int);
129 vtkPlotPiePrivate *Private;
133 #endif //vtkPlotPie_h
represent and manipulate 2D points
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 ...
A table, which contains similar-typed columns of data.
void SetDimensions(int arg1, int arg2, int arg3, int arg4)
Set the dimensions of the pie, arguments 1 and 2 are the x and y coordinate of the bottom corner.
record modification and/or execution time
bool UpdateTableCache(vtkTable *table)
Update the table cache.
Class for drawing 2D primitives to a graphical context.
Abstract class for 2D plots.
vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location) override
Function to query a plot for the nearest point to the specified coordinate.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPoints2D * Points
Store a well packed set of angles for the wedges of the pie.
vtkTimeStamp BuildTime
The point cache is marked dirty until it has been initialized.
bool Paint(vtkContext2D *painter) override
Paint event for the item.
a simple class to control print indentation
void SetColorSeries(vtkColorSeries *colorSeries)
Set the color series to use for the Pie.
static vtkPlotPie * New()
Class for drawing a Pie diagram.
vtkSmartPointer< vtkColorSeries > ColorSeries
The color series to use for the pie.
void SetDimensions(const int arg[4])
Set the dimensions of the pie, elements 0 and 1 are the x and y coordinate of the bottom corner.
vtkColorSeries * GetColorSeries()
Get the color series used.