|
| RangeId3 ()=default |
|
VTKM_EXEC_CONT | RangeId3 (const vtkm::RangeId &xrange, const vtkm::RangeId &yrange, const vtkm::RangeId &zrange) |
|
VTKM_EXEC_CONT | RangeId3 (vtkm::Id minX, vtkm::Id maxX, vtkm::Id minY, vtkm::Id maxY, vtkm::Id minZ, vtkm::Id maxZ) |
|
VTKM_EXEC_CONT | RangeId3 (const vtkm::Id range[6]) |
| Initialize range with an array of 6 values in the order xmin, xmax, ymin, ymax, zmin, zmax. More...
|
|
VTKM_EXEC_CONT | RangeId3 (const vtkm::Id3 &min, const vtkm::Id3 &max) |
| Initialize range with the minimum and the maximum corners. More...
|
|
VTKM_EXEC_CONT bool | IsNonEmpty () const |
| Determine if the range is non-empty. More...
|
|
VTKM_EXEC_CONT bool | Contains (const vtkm::Id3 &val) const |
| Determines if an Id3 value is within the range. More...
|
|
VTKM_EXEC_CONT vtkm::Id3 | Center () const |
| Returns the center of the range. More...
|
|
VTKM_EXEC_CONT vtkm::Id3 | Dimensions () const |
|
template<typename T > |
VTKM_EXEC_CONT void | Include (const vtkm::Vec< T, 3 > &point) |
| Expand range to include a value. More...
|
|
VTKM_EXEC_CONT void | Include (const vtkm::RangeId3 &range) |
| Expand range to include other range. More...
|
|
VTKM_EXEC_CONT vtkm::RangeId3 | Union (const vtkm::RangeId3 &other) const |
| Return the union of this and another range. More...
|
|
VTKM_EXEC_CONT vtkm::RangeId3 | operator+ (const vtkm::RangeId3 &other) const |
| Operator for union More...
|
|
VTKM_EXEC_CONT bool | operator== (const vtkm::RangeId3 &range) const |
|
VTKM_EXEC_CONT bool | operator!= (const vtkm::RangeId3 &range) const |
|
VTKM_EXEC_CONT vtkm::RangeId & | operator[] (IdComponent c) noexcept |
|
const VTKM_EXEC_CONT vtkm::RangeId & | operator[] (IdComponent c) const noexcept |
|
Represent 3D integer range.
vtkm::RangeId3
is a helper class for representing a 3D range of integer values. The typical use of this class is to express a box of indices in the x, y, and z directions.
RangeId3
also contains several helper functions for computing and maintaining the range.