64#ifndef vtkBarChartActor_h
65#define vtkBarChartActor_h
69#include "vtkRenderingAnnotationModule.h"
72VTK_ABI_NAMESPACE_BEGIN
81class vtkBarLabelArray;
124 vtkSetStringMacro(Title);
125 vtkGetStringMacro(Title);
163 this->SetBarColor(i, color[0], color[1], color[2]);
182 vtkSetStringMacro(YTitle);
183 vtkGetStringMacro(YTitle);
239 vtkBarLabelArray* Labels;
250 double UpperRight[2];
268 int LastPosition2[2];
273 int PlaceAxes(
vtkViewport* viewport,
const int* size);
a actor that draws 2D data
Create an axis with tick marks and labels.
create a bar chart from an array
int RenderOpaqueGeometry(vtkViewport *) override
Draw the bar plot.
const char * GetBarLabel(int i)
Specify the names of each bar.
int RenderOverlay(vtkViewport *) override
Draw the bar plot.
double * GetBarColor(int i)
Specify colors for each bar.
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.
static vtkBarChartActor * New()
Instantiate this class.
~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.
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.
int GetNumberOfBarLabels()
Specify the names of 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
Allocate and hold a VTK object.
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