The vtkQtChartBar class defines a bar used by the chart bar locator. More...
#include <vtkQtChartBar.h>
Public Member Functions | |
vtkQtChartBar () | |
vtkQtChartBar (int series, int index) | |
Constructs a chart bar shape. | |
vtkQtChartBar (const vtkQtChartBar &other) | |
virtual | ~vtkQtChartBar () |
vtkQtChartBar & | operator= (const vtkQtChartBar &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 | setRectangle (const QRectF &rectangle) |
Sets the bar shape. | |
QRectF & | getBar () |
Gets the bar shape. | |
const QRectF & | getBar () const |
Gets the bar shape. | |
void | setBar (const QRectF &bar) |
Sets the bar shape. |
The vtkQtChartBar class defines a bar used by the chart bar locator.
Definition at line 35 of file vtkQtChartBar.h.
vtkQtChartBar::vtkQtChartBar | ( | ) |
vtkQtChartBar::vtkQtChartBar | ( | int | series, |
int | index | ||
) |
Constructs a chart bar shape.
series | The series index. |
index | The index in the given series. |
vtkQtChartBar::vtkQtChartBar | ( | const vtkQtChartBar & | other ) |
virtual vtkQtChartBar::~vtkQtChartBar | ( | ) | [virtual] |
virtual bool vtkQtChartBar::contains | ( | const QPointF & | point ) | const [virtual] |
Gets whether or not the shape contains the given point.
point | The position to evaluate. |
Implements vtkQtChartShape.
QRectF& vtkQtChartBar::getBar | ( | ) | [inline] |
Gets the bar shape.
Definition at line 63 of file vtkQtChartBar.h.
{return *this->Bar;}
const QRectF& vtkQtChartBar::getBar | ( | ) | const [inline] |
Gets the bar shape.
Definition at line 69 of file vtkQtChartBar.h.
{return *this->Bar;}
virtual void vtkQtChartBar::getBounds | ( | QRectF & | bounds ) | const [virtual] |
Gets the bounding box for the shape.
bounds | Used to return the bounding box. |
Implements vtkQtChartShape.
virtual bool vtkQtChartBar::intersects | ( | const QRectF & | area ) | const [virtual] |
Gets whether or not the shape intersects the given area.
area | The area to evaluate. |
Implements vtkQtChartShape.
vtkQtChartBar& vtkQtChartBar::operator= | ( | const vtkQtChartBar & | other ) |
void vtkQtChartBar::setBar | ( | const QRectF & | bar ) |
Sets the bar shape.
bar | The new bar rectangle. |
virtual void vtkQtChartBar::setRectangle | ( | const QRectF & | rectangle ) | [inline, virtual] |
Sets the bar shape.
rectangle | The new bar shape. |
Reimplemented from vtkQtChartShape.
Definition at line 57 of file vtkQtChartBar.h.
{this->setBar(rectangle);}