#include <vtkArrayRange.h>
vtkArrayRange stores a half-open range of array coordinates along a single dimension of a vtkArraySlice object.
Definition at line 44 of file vtkArrayRange.h.
Public Member Functions | |
| vtkArrayRange () | |
| vtkArrayRange (vtkIdType index) | |
| vtkArrayRange (vtkIdType begin, vtkIdType end) | |
| vtkIdType | GetBegin () const |
| vtkIdType | GetEnd () const |
| vtkIdType | GetExtent () const |
Friends | |
| ostream & | operator<< (ostream &stream, const vtkArrayRange &rhs) |
| vtkArrayRange::vtkArrayRange | ( | ) |
Creates an empty range.
| vtkArrayRange::vtkArrayRange | ( | vtkIdType | index | ) |
Creates a range containing a single value.
Creates a half-open range [begin, end). Note that begin must be <= end, if not, creates the empty range [begin, begin).
| vtkIdType vtkArrayRange::GetBegin | ( | ) | const |
Returns the beginning of the range
| vtkIdType vtkArrayRange::GetEnd | ( | ) | const |
Returns one-past-the-end of the range
| vtkIdType vtkArrayRange::GetExtent | ( | ) | const |
Returns the extent of the range (the distance End - Begin).
| ostream& operator<< | ( | ostream & | stream, | |
| const vtkArrayRange & | rhs | |||
| ) | [friend] |
Serialization
1.5.6