Go to the documentation of this file.
10 #ifndef vtk_m_cont_PointLocatorSparseGrid_h
11 #define vtk_m_cont_PointLocatorSparseGrid_h
46 if (this->
Range != range)
57 if (!this->IsRangeInvalid())
59 this->
Range = { { 0.0, -1.0 } };
74 if (this->Dims != bins)
105 #endif //vtk_m_cont_PointLocatorSparseGrid_h
Structure for locating point.
Definition: exec/PointLocatorSparseGrid.h:28
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::ArrayHandle< vtkm::Id > CellLower
Definition: cont/PointLocatorSparseGrid.h:100
vtkm::cont::ArrayHandle< vtkm::Id > CellUpper
Definition: cont/PointLocatorSparseGrid.h:101
const RangeType & GetRange() const
Specify the bounds of the space to search for points.
Definition: cont/PointLocatorSparseGrid.h:53
void SetRange(const RangeType &range)
Specify the bounds of the space to search for points.
Definition: cont/PointLocatorSparseGrid.h:44
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:99
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
const vtkm::Id3 & GetNumberOfBins() const
Specify the number of bins used in the sparse grid to be searched.
Definition: cont/PointLocatorSparseGrid.h:81
#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)
Specify the number of bins used in the sparse grid to be searched.
Definition: cont/PointLocatorSparseGrid.h:72
vtkm::Float64 Max
Tha maximum value of the range (inclusive).
Definition: Range.h:36
void SetComputeRangeFromCoordinates()
Definition: cont/PointLocatorSparseGrid.h:55
bool IsRangeInvalid() const
Definition: cont/PointLocatorSparseGrid.h:88
Represent a continuous scalar range of values.
Definition: Range.h:31