27 #ifndef __vtkPlotBar_h
28 #define __vtkPlotBar_h
30 #include "vtkChartsCoreModule.h"
40 class vtkPlotBarPrivate;
61 virtual bool Paint(vtkContext2D *painter);
69 virtual bool PaintLegend(vtkContext2D *painter,
const vtkRectf& rect,
75 virtual void SetColor(
unsigned char r,
unsigned char g,
unsigned char b,
77 virtual void SetColor(
double r,
double g,
double b);
78 virtual void GetColor(
double rgb[3]);
83 vtkSetMacro(Width,
float);
88 vtkGetMacro(Width,
float);
95 vtkSetMacro(Offset,
float);
96 vtkGetMacro(Offset,
float);
102 virtual void SetOrientation(
int orientation);
103 vtkGetMacro(Orientation,
int);
107 virtual void GetBounds(
double bounds[4],
bool unscaled);
110 virtual void GetBounds(
double bounds[4]);
142 virtual bool SelectPoints(
const vtkVector2f& min,
const vtkVector2f& max);
150 const vtkVector2f& tolerance,
151 vtkVector2f* location);
162 vtkVector2f* location,
171 bool UpdateTableCache(vtkTable *table);
191 vtkPlotBarPrivate *Private;
196 #endif //__vtkPlotBar_h
Wrapper around std::string to keep symbols short.
virtual bool PaintLegend(vtkContext2D *painter, const vtkRectf &rect, int legendIndex)
record modification and/or execution time
virtual void GetBounds(double bounds[4])
virtual vtkStdString GetTooltipLabel(const vtkVector2f &plotPos, vtkIdType seriesIndex, vtkIdType segmentIndex)
a vtkAbstractArray subclass for strings
virtual void SetColor(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
virtual bool SelectPoints(const vtkVector2f &min, const vtkVector2f &max)
a simple class to control print indentation
represent and manipulate 2D points
virtual vtkStringArray * GetLabels()
Abstract class for 2D plots.
Class for drawing an XY plot given two columns from a vtkTable.
virtual vtkIdType GetNearestPoint(const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location)
virtual void SetInputArray(int index, const vtkStdString &name)
virtual void GetUnscaledInputBounds(double bounds[4])
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual void GetColor(double rgb[3])
vtkSmartPointer< vtkColorSeries > ColorSeries