25 #ifndef vtkBarChartActor_h
26 #define vtkBarChartActor_h
30 #include "vtkRenderingAnnotationModule.h"
33 VTK_ABI_NAMESPACE_BEGIN
42 class vtkBarLabelArray;
85 vtkSetStringMacro(Title);
86 vtkGetStringMacro(Title);
121 void SetBarColor(
int i,
double r,
double g,
double b);
124 this->SetBarColor(i, color[0], color[1], color[2]);
126 double* GetBarColor(
int i);
134 void SetBarLabel(
int i,
const char*);
135 const char* GetBarLabel(
int i);
136 int GetNumberOfBarLabels();
143 vtkSetStringMacro(YTitle);
144 vtkGetStringMacro(YTitle);
200 vtkBarLabelArray* Labels;
211 double UpperRight[2];
229 int LastPosition2[2];
241 VTK_ABI_NAMESPACE_END
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Draw the bar plot.
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
abstract specification for Viewports
void SetBarColor(int i, const double color[3])
Specify colors for each bar.
a actor that draws 2D data
record modification and/or execution time
Create an axis with tick marks and labels.
concrete dataset represents vertices, lines, polygons, and triangle strips
create a bar chart from an array
window superclass for vtkRenderWindow
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
a simple class to control print indentation
static vtkActor2D * New()
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at la...
represent text properties.
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
create 2D glyphs represented by vtkPolyData
general representation of visualization data
draw vtkPolyData onto the image plane
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.