The vtkQtChartBarLocatorNode class is used to build a tree of chart bar shapes.
More...
#include <vtkQtChartBarLocator.h>
The vtkQtChartBarLocatorNode class is used to build a tree of chart bar shapes.
Definition at line 40 of file vtkQtChartBarLocator.h.
vtkQtChartBarLocatorNode::vtkQtChartBarLocatorNode |
( |
vtkQtChartBar * |
element = 0 ) | |
|
Constructs a chart bar locator node.
- Parameters
-
element | The chart bar element to wrap. |
vtkQtChartBarLocatorNode::~vtkQtChartBarLocatorNode |
( |
) | |
|
bool vtkQtChartBarLocatorNode::contains |
( |
const QPointF & |
point) | |
const |
Gets whether or not the bounding area contains the given point.
- Parameters
-
point | The position to evaluate. |
- Returns
- True if the bounding area contains the given point.
bool vtkQtChartBarLocatorNode::intersects |
( |
const QRectF & |
area) | |
const |
Gets whether or not the bounding area intersects the given area.
- Parameters
-
area | The rectangle to evaluate. |
- Returns
- True if the bounding area intersects the given area.
const QRectF& vtkQtChartBarLocatorNode::getBounds |
( |
) | |
const |
|
inline |
void vtkQtChartBarLocatorNode::setBounds |
( |
const QRectF & |
bounds) | |
|
Sets the bounding rectangle.
- Parameters
-
bounds | The new bounding rectangle. |
Gets the chart shape element.
- Returns
- A pointer to the chart shape element.
Definition at line 78 of file vtkQtChartBarLocator.h.
void vtkQtChartBarLocatorNode::setElement |
( |
vtkQtChartBar * |
element) | |
|
Sets the chart shape element.
- Parameters
-
element | The new chart shape element. |
bool vtkQtChartBarLocatorNode::hasChildren |
( |
) | |
const |
|
inline |
Gets whether or not the node has children.
- Returns
- True if the node has children.
Definition at line 100 of file vtkQtChartBarLocator.h.
Gets the second child node.
- Returns
- A pointer to the second child node.
Definition at line 117 of file vtkQtChartBarLocator.h.
void vtkQtChartBarLocatorNode::updateBounds |
( |
) | |
|
Updates the bounding rectangle.
The bounding rectangle is the bounds of the element or the bounds of the child nodes.
The documentation for this class was generated from the following file: