44#ifndef vtkPieChartActor_h
45#define vtkPieChartActor_h
49#include "vtkRenderingAnnotationModule.h"
52VTK_ABI_NAMESPACE_BEGIN
62class vtkPieChartActorConnection;
63class vtkPieceLabelArray;
111 vtkSetStringMacro(Title);
112 vtkGetStringMacro(Title);
147 void SetPieceColor(
int i,
double r,
double g,
double b);
148 void SetPieceColor(
int i, const
double color[3])
150 this->SetPieceColor(i, color[0], color[1], color[2]);
210 vtkPieChartActorConnection* ConnectionHolder;
219 vtkPieceLabelArray* Labels;
249 int LastPosition2[2];
254 int PlaceAxes(
vtkViewport* viewport,
const int* size);
a actor that draws 2D data
Proxy object to connect input/output ports.
Create an axis with tick marks and labels.
general representation of visualization data
create 2D glyphs represented by vtkPolyData
a simple class to control print indentation
Allocate and hold a VTK object.
create a pie chart from an array
const char * GetPieceLabel(int i)
Specify the names for each piece of pie.
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
int RenderOpaqueGeometry(vtkViewport *) override
Draw the pie plot.
static vtkPieChartActor * New()
Instantiate this class.
double * GetPieceColor(int i)
Specify colors for each piece of pie.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Draw the pie plot.
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
~vtkPieChartActor() override
int RenderOverlay(vtkViewport *) override
Draw the pie plot.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
int GetNumberOfPieceLabels()
Specify the names for each piece of pie.
void SetPieceLabel(int i, const char *)
Specify the names for each piece of pie.
draw vtkPolyData onto the image plane
concrete dataset represents vertices, lines, polygons, and triangle strips
represent text properties.
record modification and/or execution time
abstract specification for Viewports
window superclass for vtkRenderWindow
#define VTK_MARSHALSETTER(property)
#define VTK_MARSHALGETTER(property)