24 #ifndef _vtkQtChartBar_h
25 #define _vtkQtChartBar_h
27 #include "vtkQtChartExport.h"
50 virtual void getBounds(QRectF &bounds)
const;
52 virtual bool intersects(
const QRectF &area)
const;
57 virtual void setRectangle(
const QRectF &rectangle) {this->setBar(rectangle);}
63 QRectF &
getBar() {
return *this->Bar;}
69 const QRectF &
getBar()
const {
return *this->Bar;}
74 void setBar(
const QRectF &bar);
virtual void setRectangle(const QRectF &rectangle)
Sets the bar shape.
vtkQtChartShape & operator=(const vtkQtChartShape &other)
virtual void getBounds(QRectF &bounds) const =0
Gets the bounding box for the shape.
const QRectF & getBar() const
Gets the bar shape.
The vtkQtChartShape class is the base class for shapes used in the chart shape locators.
virtual bool contains(const QPointF &point) const =0
Gets whether or not the shape contains the given point.
QRectF & getBar()
Gets the bar shape.
The vtkQtChartBar class defines a bar used by the chart bar locator.
virtual bool intersects(const QRectF &area) const =0
Gets whether or not the shape intersects the given area.