#include <vtkQtChartQuad.h>


Definition at line 37 of file vtkQtChartQuad.h.
Public Member Functions | |
| vtkQtChartQuad () | |
| vtkQtChartQuad (int series, int index) | |
| Creates a quad instance. | |
| vtkQtChartQuad (const vtkQtChartQuad &other) | |
| virtual | ~vtkQtChartQuad () |
| vtkQtChartQuad & | operator= (const vtkQtChartQuad &other) |
| virtual void | getBounds (QRectF &bounds) const |
| Gets the bounding box for the shape. | |
| virtual bool | contains (const QPointF &point) const |
| Gets whether or not the shape contains the given point. | |
| virtual bool | intersects (const QRectF &area) const |
| Gets whether or not the shape intersects the given area. | |
| virtual void | setPolygon (const QPolygonF &polygon) |
| Sets the quad shape. | |
| const QPolygonF & | getPoints () const |
| Gets the list of quad points. | |
| void | setPoints (const QPolygonF &points) |
| Sets the quad shape. | |
| void | setPoint (int index, const QPointF &point) |
| Sets the point for the given index. | |
| vtkQtChartQuad::vtkQtChartQuad | ( | ) |
| vtkQtChartQuad::vtkQtChartQuad | ( | int | series, | |
| int | index | |||
| ) |
Creates a quad instance.
| series | The chart series. | |
| index | The chart series index. |
| vtkQtChartQuad::vtkQtChartQuad | ( | const vtkQtChartQuad & | other | ) |
| virtual vtkQtChartQuad::~vtkQtChartQuad | ( | ) | [virtual] |
| vtkQtChartQuad& vtkQtChartQuad::operator= | ( | const vtkQtChartQuad & | other | ) |
| virtual void vtkQtChartQuad::getBounds | ( | QRectF & | bounds | ) | const [virtual] |
Gets the bounding box for the shape.
| bounds | Used to return the bounding box. |
Implements vtkQtChartShape.
| virtual bool vtkQtChartQuad::contains | ( | const QPointF & | point | ) | const [virtual] |
Gets whether or not the shape contains the given point.
| point | The position to evaluate. |
Implements vtkQtChartShape.
| virtual bool vtkQtChartQuad::intersects | ( | const QRectF & | area | ) | const [virtual] |
Gets whether or not the shape intersects the given area.
| area | The area to evaluate. |
Implements vtkQtChartShape.
| virtual void vtkQtChartQuad::setPolygon | ( | const QPolygonF & | polygon | ) | [inline, virtual] |
Sets the quad shape.
The polygon should be a list of four points. The points should form a convex, clock-wise loop.
| polygon | The list of points to define the quad. |
Reimplemented from vtkQtChartShape.
Definition at line 63 of file vtkQtChartQuad.h.
| const QPolygonF& vtkQtChartQuad::getPoints | ( | ) | const |
Gets the list of quad points.
| void vtkQtChartQuad::setPoints | ( | const QPolygonF & | points | ) |
Sets the quad shape.
| points | The list of points to define the quad. |
| void vtkQtChartQuad::setPoint | ( | int | index, | |
| const QPointF & | point | |||
| ) |
Sets the point for the given index.
| index | The index of the quad point. | |
| point | The new point. |
1.5.6