24 #ifndef _vtkQtChartQuad_h
25 #define _vtkQtChartQuad_h
27 #include "vtkQtChartExport.h"
52 virtual void getBounds(QRectF &bounds)
const;
54 virtual bool intersects(
const QRectF &area)
const;
63 virtual void setPolygon(
const QPolygonF &polygon) {this->setPoints(polygon);}
69 const QPolygonF &getPoints()
const;
74 void setPoints(
const QPolygonF &
points);
80 void setPoint(
int index,
const QPointF &point);
The vtkQtChartQuad class defines a quad used by the chart shape locator.
vtkQtChartShape & operator=(const vtkQtChartShape &other)
virtual void getBounds(QRectF &bounds) const =0
Gets the bounding box for the 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.
virtual void setPolygon(const QPolygonF &polygon)
Sets the quad shape.
virtual bool intersects(const QRectF &area) const =0
Gets whether or not the shape intersects the given area.