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);
149 vtkSetStringMacro(YTitle);
160 vtkGetMacro(LegendVisibility,
int);
206 vtkBarLabelArray *Labels;
207 int LegendVisibility;
217 double UpperRight[2];
235 int LastPosition2[2];
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.
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this actor.
void SetBarLabel(const int i, const char *)
Specify the names of each bar.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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)
virtual void SetInput(vtkDataObject *)
Set the input to the bar chart actor.
void SetBarColor(int i, const double color[3])
void SetBarColor(int i, double r, double g, double b)
Specify colors for each bar.
int RenderOverlay(vtkViewport *)
Draw the bar plot.
double * GetBarColor(int i)
int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
virtual int HasTranslucentPolygonalGeometry()
Does this prop have some translucent polygonal geometry?
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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTimeStamp BuildTime
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.