Go to the documentation of this file.
10 #ifndef vtk_m_cont_PointLocatorSparseGrid_h
11 #define vtk_m_cont_PointLocatorSparseGrid_h
36 :
public vtkm::cont::internal::PointLocatorBase<PointLocatorSparseGrid>
38 using Superclass = vtkm::cont::internal::PointLocatorBase<PointLocatorSparseGrid>;
45 if (this->
Range != range)
56 if (!this->IsRangeInvalid())
58 this->
Range = { { 0.0, -1.0 } };
65 if (this->Dims != bins)
97 #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:92
vtkm::cont::ArrayHandle< vtkm::Id > CellUpper
Definition: cont/PointLocatorSparseGrid.h:93
const RangeType & GetRange() const
Definition: cont/PointLocatorSparseGrid.h:52
void SetRange(const RangeType &range)
Definition: cont/PointLocatorSparseGrid.h:43
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:91
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:72
#define VTKM_CONT
Definition: ExportMacros.h:57
friend Superclass
Definition: cont/PointLocatorSparseGrid.h:85
Definition: DeviceAdapterTag.h:52
vtkm::Float64 Min
Definition: Range.h:33
void SetNumberOfBins(const vtkm::Id3 &bins)
Definition: cont/PointLocatorSparseGrid.h:63
vtkm::Float64 Max
Definition: Range.h:34
void SetComputeRangeFromCoordinates()
Definition: cont/PointLocatorSparseGrid.h:54
vtkm::cont::internal::PointLocatorBase< PointLocatorSparseGrid > Superclass
Definition: cont/PointLocatorSparseGrid.h:38
bool IsRangeInvalid() const
Definition: cont/PointLocatorSparseGrid.h:79
Represent a continuous scalar range of values.
Definition: Range.h:31