25#ifndef vtkBarChartActor_h 
   26#define vtkBarChartActor_h 
   29#include "vtkRenderingAnnotationModule.h"  
   31VTK_ABI_NAMESPACE_BEGIN
 
   40class vtkBarLabelArray;
 
   83  vtkSetStringMacro(Title);
 
   84  vtkGetStringMacro(Title);
 
  122    this->SetBarColor(i, color[0], color[1], color[2]);
 
  140  vtkSetStringMacro(YTitle);
 
  141  vtkGetStringMacro(YTitle);
 
  197  vtkBarLabelArray* Labels;
 
  208  double UpperRight[2];
 
  226  int LastPosition2[2];
 
  231  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 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