64 #ifndef vtkBarChartActor_h
65 #define vtkBarChartActor_h
68 #include "vtkRenderingAnnotationModule.h"
70 VTK_ABI_NAMESPACE_BEGIN
79 class vtkBarLabelArray;
122 vtkSetStringMacro(Title);
123 vtkGetStringMacro(Title);
179 vtkSetStringMacro(YTitle);
180 vtkGetStringMacro(YTitle);
236 vtkBarLabelArray* Labels;
247 double UpperRight[2];
265 int LastPosition2[2];
277 VTK_ABI_NAMESPACE_END
a actor that draws 2D data
Create an axis with tick marks and labels.
create a bar chart from an array
static vtkBarChartActor * New()
Instantiate this class.
int RenderOpaqueGeometry(vtkViewport *) override
Draw the bar plot.
int RenderOverlay(vtkViewport *) override
Draw the bar plot.
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
~vtkBarChartActor() override
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
virtual void SetLabelTextProperty(vtkTextProperty *p)
Set/Get the labels text property.
virtual void SetTitleTextProperty(vtkTextProperty *p)
Set/Get the title text property.
const char * GetBarLabel(int i)
Specify the names of each bar.
virtual void SetInput(vtkDataObject *)
Set the input to the bar chart actor.
void SetBarLabel(int i, const char *)
Specify the names of each bar.
void SetBarColor(int i, const double color[3])
Specify colors for each bar.
void SetBarColor(int i, double r, double g, double b)
Specify colors for each bar.
double * GetBarColor(int i)
Specify colors for each bar.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Draw the bar plot.
general representation of visualization data
create 2D glyphs represented by vtkPolyData
a simple class to control print indentation
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