Go to the documentation of this file.
37 #ifndef vtkPieChartActor_h
38 #define vtkPieChartActor_h
40 #include "vtkRenderingAnnotationModule.h"
52 class vtkPieChartActorConnection;
53 class vtkPieceLabelArray;
91 vtkGetMacro(TitleVisibility,
int);
99 vtkSetStringMacro(Title);
117 vtkGetMacro(LabelVisibility,
int);
157 vtkGetMacro(LegendVisibility,
int);
196 vtkPieChartActorConnection* ConnectionHolder;
205 vtkPieceLabelArray *Labels;
206 int LegendVisibility;
235 int LastPosition2[2];
create 2D glyphs represented by vtkPolyData
draw vtkPolyData onto the image plane
virtual void SetInputConnection(vtkAlgorithmOutput *)
create a pie chart from an array
record modification and/or execution time
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual int HasTranslucentPolygonalGeometry()
Does this prop have some translucent polygonal geometry?
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetPieceColor(int i, const double color[3])
virtual void SetLabelTextProperty(vtkTextProperty *p)
Set/Get the labels text property.
window superclass for vtkRenderWindow
virtual void SetTitleTextProperty(vtkTextProperty *p)
Set/Get the title text property.
a simple class to control print indentation
virtual vtkDataObject * GetInput()
Get the input data object to this actor.
int RenderOverlay(vtkViewport *)
Draw the pie plot.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
abstract specification for Viewports
represent text properties.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
a actor that draws 2D data
void SetPieceColor(int i, double r, double g, double b)
Specify colors for each piece of pie.
Proxy object to connect input/output ports.
int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
concrete dataset represents vertices, lines, polygons, and triangle strips
Create an axis with tick marks and labels.
const char * GetPieceLabel(int i)
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this actor.
double * GetPieceColor(int i)
general representation of visualization data
void SetPieceLabel(const int i, const char *)
Specify the names for each piece of pie.
virtual void SetInputData(vtkDataObject *)
Set the input to the pie chart actor.
static vtkPieChartActor * New()
Instantiate this class.
vtkTimeStamp BuildTime
Updates the extensions string.