36#include "vtkChartsCoreModule.h"
41VTK_ABI_NAMESPACE_BEGIN
46class vtkPlotPiePrivate;
86 vtkGetVector4Macro(Dimensions,
int);
136 vtkPlotPiePrivate* Private;
Class for drawing 2D primitives to a graphical context.
a simple class to control print indentation
Class for drawing a Pie diagram.
static vtkPlotPie * New()
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.
bool UpdateCache() override
Update the internal cache.
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
Hold a reference to a vtkObjectBase instance.