25 #ifndef vtkPieChartActor_h
26 #define vtkPieChartActor_h
30 #include "vtkRenderingAnnotationModule.h"
33 VTK_ABI_NAMESPACE_BEGIN
43 class vtkPieChartActorConnection;
44 class vtkPieceLabelArray;
77 virtual vtkDataObject* GetInput();
84 vtkGetMacro(TitleVisibility, vtkTypeBool);
85 vtkBooleanMacro(TitleVisibility, vtkTypeBool);
92 vtkSetStringMacro(Title);
93 vtkGetStringMacro(Title);
109 vtkSetMacro(LabelVisibility, vtkTypeBool);
110 vtkGetMacro(LabelVisibility, vtkTypeBool);
111 vtkBooleanMacro(LabelVisibility, vtkTypeBool);
119 virtual
void SetLabelTextProperty(vtkTextProperty* p);
120 vtkGetObjectMacro(LabelTextProperty, vtkTextProperty);
128 void SetPieceColor(
int i,
double r,
double g,
double b);
129 void SetPieceColor(
int i, const
double color[3])
131 this->SetPieceColor(i, color[0], color[1], color[2]);
133 double* GetPieceColor(
int i);
141 void SetPieceLabel(
int i,
const char*);
142 const char* GetPieceLabel(
int i);
143 int GetNumberOfPieceLabels();
191 vtkPieChartActorConnection* ConnectionHolder;
200 vtkPieceLabelArray* Labels;
230 int LastPosition2[2];
242 VTK_ABI_NAMESPACE_END
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
abstract specification for Viewports
a actor that draws 2D data
record modification and/or execution time
Create an axis with tick marks and labels.
concrete dataset represents vertices, lines, polygons, and triangle strips
create a pie chart from an array
Proxy object to connect input/output ports.
window superclass for vtkRenderWindow
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Draw the pie plot.
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
a simple class to control print indentation
#define VTK_MARSHALGETTER(property)
static vtkActor2D * New()
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at la...
represent text properties.
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
create 2D glyphs represented by vtkPolyData
general representation of visualization data
draw vtkPolyData onto the image plane
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_MARSHALSETTER(property)