The vtkQtChartIndexRange class is used to build a tree of index ranges.
More...
#include <vtkQtChartIndexRangeList.h>
List of all members.
Detailed Description
The vtkQtChartIndexRange class is used to build a tree of index ranges.
Definition at line 34 of file vtkQtChartIndexRangeList.h.
Constructor & Destructor Documentation
| vtkQtChartIndexRange::vtkQtChartIndexRange |
( |
| ) |
|
| vtkQtChartIndexRange::vtkQtChartIndexRange |
( |
int |
first, |
|
|
int |
second, |
|
|
bool |
black = true |
|
) |
| |
Creates an index range instance.
- Parameters:
-
| first | The first index in the range. |
| second | The last index in the range. |
| black | True if the node should be black. |
| vtkQtChartIndexRange::~vtkQtChartIndexRange |
( |
| ) |
|
Member Function Documentation
| int vtkQtChartIndexRange::getFirst |
( |
| ) |
const |
|
inline |
| void vtkQtChartIndexRange::setFirst |
( |
int |
first | ) |
|
Sets the first index in the range.
This method also updates the first index range for all the affected parent nodes.
- Parameters:
-
| first | The first index in the range. |
| int vtkQtChartIndexRange::getSecond |
( |
| ) |
const |
|
inline |
| void vtkQtChartIndexRange::setSecond |
( |
int |
second | ) |
|
Sets the last index in the range.
This method also updates the last index range for all the affected parent nodes.
- Parameters:
-
| second | The last index in the range. |
| bool vtkQtChartIndexRange::contains |
( |
int |
value | ) |
const |
Gets whether or not the given value is in the range.
- Parameters:
-
- Returns:
- True if the given value is in the range.
| bool vtkQtChartIndexRange::isBlack |
( |
| ) |
const |
|
inline |
Gets whether the node is black or red.
- Returns:
- True if the node is black. False if the node is red.
Definition at line 96 of file vtkQtChartIndexRangeList.h.
| void vtkQtChartIndexRange::setBlack |
( |
bool |
black | ) |
|
|
inline |
Sets whether the node is black or red.
- Parameters:
-
| black | True if the node is black. False if the node is red. |
Definition at line 101 of file vtkQtChartIndexRangeList.h.
The documentation for this class was generated from the following file: