The vtkQtChartShapeLocatorNode class is used to build a tree of chart shapes.
More...
#include <vtkQtChartShapeLocator.h>
List of all members.
Detailed Description
The vtkQtChartShapeLocatorNode class is used to build a tree of chart shapes.
Definition at line 40 of file vtkQtChartShapeLocator.h.
Constructor & Destructor Documentation
vtkQtChartShapeLocatorNode::vtkQtChartShapeLocatorNode |
( |
vtkQtChartShape * |
element = 0 | ) |
|
Constructs a chart shape locator node.
- Parameters:
-
element | The chart shape element to wrap. |
vtkQtChartShapeLocatorNode::~vtkQtChartShapeLocatorNode |
( |
| ) |
|
Member Function Documentation
bool vtkQtChartShapeLocatorNode::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 vtkQtChartShapeLocatorNode::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& vtkQtChartShapeLocatorNode::getBounds |
( |
| ) |
const |
|
inline |
void vtkQtChartShapeLocatorNode::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 vtkQtChartShapeLocator.h.
Sets the chart shape element.
- Parameters:
-
element | The new chart shape element. |
bool vtkQtChartShapeLocatorNode::hasChildren |
( |
| ) |
const |
|
inline |
Gets whether or not the node has children.
- Returns:
- True if the node has children.
Definition at line 100 of file vtkQtChartShapeLocator.h.
void vtkQtChartShapeLocatorNode::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: