Section: Visualization Toolkit Hybrid Classes
Set the text property/attributes of the title and the labels through the vtkTextProperty objects associated with these components.
To create an instance of class vtkPieChartActor, simply invoke its constructor as follows
obj = vtkPieChartActor
obj
is an instance of the vtkPieChartActor class.
string = obj.GetClassName ()
- Standard methods for type information and printing.
int = obj.IsA (string name)
- Standard methods for type information and printing.
vtkPieChartActor = obj.NewInstance ()
- Standard methods for type information and printing.
vtkPieChartActor = obj.SafeDownCast (vtkObject o)
- Standard methods for type information and printing.
obj.SetInput (vtkDataObject )
- Set the input to the pie chart actor.
vtkDataObject = obj.GetInput ()
- Get the input data object to this actor.
obj.SetTitleVisibility (int )
- Enable/Disable the display of a plot title.
int = obj.GetTitleVisibility ()
- Enable/Disable the display of a plot title.
obj.TitleVisibilityOn ()
- Enable/Disable the display of a plot title.
obj.TitleVisibilityOff ()
- Enable/Disable the display of a plot title.
obj.SetTitle (string )
- Set/Get the title of the pie chart.
string = obj.GetTitle ()
- Set/Get the title of the pie chart.
obj.SetTitleTextProperty (vtkTextProperty p)
- Set/Get the title text property. The property controls the
appearance of the plot title.
vtkTextProperty = obj.GetTitleTextProperty ()
- Set/Get the title text property. The property controls the
appearance of the plot title.
obj.SetLabelVisibility (int )
- Enable/Disable the display of pie piece labels.
int = obj.GetLabelVisibility ()
- Enable/Disable the display of pie piece labels.
obj.LabelVisibilityOn ()
- Enable/Disable the display of pie piece labels.
obj.LabelVisibilityOff ()
- Enable/Disable the display of pie piece labels.
obj.SetLabelTextProperty (vtkTextProperty p)
- Set/Get the labels text property. This controls the appearance
of all pie piece labels.
vtkTextProperty = obj.GetLabelTextProperty ()
- Set/Get the labels text property. This controls the appearance
of all pie piece labels.
obj.SetPieceColor (int i, double r, double g, double b)
- Specify colors for each piece of pie. If not specified, they are
automatically generated.
obj.SetPieceColor (int i, double color[3])
- Specify colors for each piece of pie. If not specified, they are
automatically generated.
obj.SetPieceLabel (int i, string )
- Specify the names for each piece of pie. not specified, then an integer
number is automatically generated.
string = obj.GetPieceLabel (int i)
- Specify the names for each piece of pie. not specified, then an integer
number is automatically generated.
obj.SetLegendVisibility (int )
- Enable/Disable the creation of a legend. If on, the legend labels will
be created automatically unless the per plot legend symbol has been
set.
int = obj.GetLegendVisibility ()
- Enable/Disable the creation of a legend. If on, the legend labels will
be created automatically unless the per plot legend symbol has been
set.
obj.LegendVisibilityOn ()
- Enable/Disable the creation of a legend. If on, the legend labels will
be created automatically unless the per plot legend symbol has been
set.
obj.LegendVisibilityOff ()
- Enable/Disable the creation of a legend. If on, the legend labels will
be created automatically unless the per plot legend symbol has been
set.
vtkLegendBoxActor = obj.GetLegendActor ()
- Retrieve handles to the legend box. This is useful if you would like
to manually control the legend appearance.
int = obj.RenderOverlay (vtkViewport )
- Draw the pie plot.
int = obj.RenderOpaqueGeometry (vtkViewport )
- Draw the pie plot.
int = obj.RenderTranslucentPolygonalGeometry (vtkViewport )
- Does this prop have some translucent polygonal geometry?
int = obj.HasTranslucentPolygonalGeometry ()
- Does this prop have some translucent polygonal geometry?
obj.ReleaseGraphicsResources (vtkWindow )
- Release any graphics resources that are being consumed by this actor.
The parameter window could be used to determine which graphic
resources to release.