The vtkQtChartBar class defines a bar used by the chart bar locator.
More...
#include <vtkQtChartBar.h>
List of all members.
Detailed Description
The vtkQtChartBar class defines a bar used by the chart bar locator.
Definition at line 35 of file vtkQtChartBar.h.
Constructor & Destructor Documentation
vtkQtChartBar::vtkQtChartBar |
( |
| ) |
|
vtkQtChartBar::vtkQtChartBar |
( |
int |
series, |
|
|
int |
index |
|
) |
| |
Constructs a chart bar shape.
- Parameters:
-
series | The series index. |
index | The index in the given series. |
virtual vtkQtChartBar::~vtkQtChartBar |
( |
| ) |
[virtual] |
Member Function Documentation
virtual void vtkQtChartBar::getBounds |
( |
QRectF & |
bounds | ) |
const [virtual] |
Gets the bounding box for the shape.
- Parameters:
-
bounds | Used to return the bounding box. |
Implements vtkQtChartShape.
virtual bool vtkQtChartBar::contains |
( |
const QPointF & |
point | ) |
const [virtual] |
Gets whether or not the shape contains the given point.
- Parameters:
-
point | The position to evaluate. |
- Returns:
- True if the shape contains the given point.
Implements vtkQtChartShape.
virtual bool vtkQtChartBar::intersects |
( |
const QRectF & |
area | ) |
const [virtual] |
Gets whether or not the shape intersects the given area.
- Parameters:
-
area | The area to evaluate. |
- Returns:
- True if the shape intersects the given area.
Implements vtkQtChartShape.
virtual void vtkQtChartBar::setRectangle |
( |
const QRectF & |
rectangle | ) |
[inline, virtual] |
QRectF& vtkQtChartBar::getBar |
( |
| ) |
[inline] |
Gets the bar shape.
- Returns:
- The bar rectangle.
Definition at line 63 of file vtkQtChartBar.h.
const QRectF& vtkQtChartBar::getBar |
( |
| ) |
const [inline] |
Gets the bar shape.
- Returns:
- The bar rectangle.
Definition at line 69 of file vtkQtChartBar.h.
void vtkQtChartBar::setBar |
( |
const QRectF & |
bar | ) |
|
Sets the bar shape.
- Parameters:
-
bar | The new bar rectangle. |
The documentation for this class was generated from the following file: