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];
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
create a pie chart from an array
virtual void SetInputConnection(vtkAlgorithmOutput *)
static vtkPieChartActor * New()
Instantiate this class.
virtual vtkDataObject * GetInput()
Get the input data object to this actor.
virtual void SetLabelTextProperty(vtkTextProperty *p)
Set/Get the labels text property.
virtual void SetTitleTextProperty(vtkTextProperty *p)
Set/Get the title text property.
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 int HasTranslucentPolygonalGeometry()
Does this prop have some translucent polygonal geometry?
double * GetPieceColor(int i)
int RenderOverlay(vtkViewport *)
Draw the pie plot.
int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this actor.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
const char * GetPieceLabel(int i)
virtual void SetInputData(vtkDataObject *)
Set the input to the pie chart actor.
void SetPieceLabel(const int i, const char *)
Specify the names for each piece of pie.
void SetPieceColor(int i, double r, double g, double b)
Specify colors 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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTimeStamp BuildTime
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.