24 #ifndef _vtkQtChartShape_h
25 #define _vtkQtChartShape_h
27 #include "vtkQtChartExport.h"
65 virtual void getBounds(QRectF &bounds)
const = 0;
72 virtual bool contains(
const QPointF &
point)
const = 0;
79 virtual bool intersects(
const QRectF &area)
const = 0;
90 virtual void setRectangle(
const QRectF &rectangle);
101 virtual void setPolygon(
const QPolygonF &polygon);
133 static int getBoundingBoxCode(
const QPointF &
point,
const QRectF &bounds);
139 static int getXBoundingBoxCode(
float x,
const QRectF &bounds);
145 static int getYBoundingBoxCode(
float y,
const QRectF &bounds);
The vtkQtChartShape class is the base class for shapes used in the chart shape locators.
virtual ~vtkQtChartShape()
int getIndex() const
Gets the index in the series.
void setIndex(int index)
Sets the index in the series.
int getSeries() const
Gets the series number.
void setSeries(int series)
Sets the series number.