34 #ifndef vtkPieChartActor_h
35 #define vtkPieChartActor_h
37 #include "vtkRenderingAnnotationModule.h"
49 class vtkPieChartActorConnection;
50 class vtkPieceLabelArray;
88 vtkGetMacro(TitleVisibility,
int);
96 vtkSetStringMacro(Title);
114 vtkGetMacro(LabelVisibility,
int);
132 void SetPieceColor(
int i,
double r,
double g,
double b);
134 { this->SetPieceColor(i, color[0], color[1], color[2]); }
135 double *GetPieceColor(
int i);
143 void SetPieceLabel(
const int i,
const char *);
144 const char* GetPieceLabel(
int i);
154 vtkGetMacro(LegendVisibility,
int);
171 int RenderOpaqueGeometry(
vtkViewport*) VTK_OVERRIDE;
172 int RenderTranslucentPolygonalGeometry(
vtkViewport* ) VTK_OVERRIDE {
return 0;}
185 void ReleaseGraphicsResources(
vtkWindow *) VTK_OVERRIDE;
189 ~vtkPieChartActor() VTK_OVERRIDE;
193 vtkPieChartActorConnection* ConnectionHolder;
202 vtkPieceLabelArray *Labels;
203 int LegendVisibility;
232 int LastPosition2[2];
241 vtkPieChartActor(const vtkPieChartActor&) VTK_DELETE_FUNCTION;
242 void operator=(const vtkPieChartActor&) VTK_DELETE_FUNCTION;
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
void SetPieceColor(int i, const double color[3])
Specify colors for each piece of pie.
a simple class to control print indentation
int HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
static vtkActor2D * New()
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at la...
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
represent text properties.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
create 2D glyphs represented by vtkPolyData
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.