45#include "vtkChartsCoreModule.h"
53class vtkPlotPiePrivate;
93 vtkGetVector4Macro(Dimensions,
int);
145 vtkPlotPiePrivate* Private;
Class for drawing 2D primitives to a graphical context.
a simple class to control print indentation
Class for drawing a Pie diagram.
vtkTimeStamp BuildTime
The point cache is marked dirty until it has been initialized.
static vtkPlotPie * New()
bool UpdateTableCache(vtkTable *table)
Update the table cache.
vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location, vtkIdType *segmentId) override
Function to query a plot for the nearest point to the specified coordinate.
void SetColorSeries(vtkColorSeries *colorSeries)
Set the color series to use for the Pie.
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 ...
bool Paint(vtkContext2D *painter) override
Paint event for the item.
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.
vtkColorSeries * GetColorSeries()
Get the color series used.
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSmartPointer< vtkColorSeries > ColorSeries
The color series to use for the pie.
vtkPoints2D * Points
Store a well packed set of angles for the wedges of the pie.
Abstract class for 2D plots.
virtual vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location, vtkIdType *segmentId)
Function to query a plot for the nearest point to the specified coordinate.
represent and manipulate 2D points
A table, which contains similar-typed columns of data.
record modification and/or execution time