Go to the documentation of this file.
10 #ifndef vtk_m_cont_PointLocatorSparseGrid_h
11 #define vtk_m_cont_PointLocatorSparseGrid_h
42 if (this->
Range != range)
53 if (!this->IsRangeInvalid())
55 this->
Range = { { 0.0, -1.0 } };
62 if (this->Dims != bins)
93 #endif //vtk_m_cont_PointLocatorSparseGrid_h
Definition: exec/PointLocatorSparseGrid.h:22
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::ArrayHandle< vtkm::Id > CellLower
Definition: cont/PointLocatorSparseGrid.h:88
vtkm::cont::ArrayHandle< vtkm::Id > CellUpper
Definition: cont/PointLocatorSparseGrid.h:89
const RangeType & GetRange() const
Definition: cont/PointLocatorSparseGrid.h:49
void SetRange(const RangeType &range)
Definition: cont/PointLocatorSparseGrid.h:40
Base class for all PointLocator classes.
Definition: PointLocatorBase.h:33
A locator that bins points in a sparsely stored grid.
Definition: cont/PointLocatorSparseGrid.h:35
vtkm::cont::ArrayHandle< vtkm::Id > PointIds
Definition: cont/PointLocatorSparseGrid.h:87
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
const vtkm::Id3 & GetNumberOfBins() const
Definition: cont/PointLocatorSparseGrid.h:69
#define VTKM_CONT_EXPORT
Definition: vtkm_cont_export.h:44
#define VTKM_CONT
Definition: ExportMacros.h:57
An object used to specify a device.
Definition: DeviceAdapterTag.h:58
vtkm::Float64 Min
The minumum value of the range (inclusive).
Definition: Range.h:34
void SetNumberOfBins(const vtkm::Id3 &bins)
Definition: cont/PointLocatorSparseGrid.h:60
vtkm::Float64 Max
Tha maximum value of the range (inclusive).
Definition: Range.h:36
void SetComputeRangeFromCoordinates()
Definition: cont/PointLocatorSparseGrid.h:51
bool IsRangeInvalid() const
Definition: cont/PointLocatorSparseGrid.h:76
Represent a continuous scalar range of values.
Definition: Range.h:31