37 #ifndef vtkBarChartActor_h
38 #define vtkBarChartActor_h
40 #include "vtkRenderingAnnotationModule.h"
51 class vtkBarLabelArray;
86 vtkGetMacro(TitleVisibility,
int);
94 vtkSetStringMacro(Title);
112 vtkGetMacro(LabelVisibility,
int);
130 void SetBarColor(
int i,
double r,
double g,
double b);
132 { this->SetBarColor(i, color[0], color[1], color[2]); }
133 double *GetBarColor(
int i);
141 void SetBarLabel(
const int i,
const char *);
142 const char* GetBarLabel(
int i);
149 vtkSetStringMacro(YTitle);
160 vtkGetMacro(LegendVisibility,
int);
206 vtkBarLabelArray *Labels;
207 int LegendVisibility;
217 double UpperRight[2];
235 int LastPosition2[2];
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
virtual int HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
create a bar chart from an array
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
Draw the bar plot.
window superclass for vtkRenderWindow
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...
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
virtual void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
represent text properties.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
virtual int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
create 2D glyphs represented by vtkPolyData
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.