Go to the documentation of this file.
18 #ifndef viskores_cont_PointLocatorSparseGrid_h
19 #define viskores_cont_PointLocatorSparseGrid_h
54 if (this->
Range != range)
65 if (!this->IsRangeInvalid())
67 this->
Range = { { 0.0, -1.0 } };
82 if (this->Dims != bins)
113 #endif //viskores_cont_PointLocatorSparseGrid_h
void SetComputeRangeFromCoordinates()
Definition: cont/PointLocatorSparseGrid.h:63
viskores::Float64 Min
The minumum value of the range (inclusive).
Definition: Range.h:42
Base class for all PointLocator classes.
Definition: PointLocatorBase.h:41
viskores::cont::ArrayHandle< viskores::Id > CellLower
Definition: cont/PointLocatorSparseGrid.h:108
void SetRange(const RangeType &range)
Specify the bounds of the space to search for points.
Definition: cont/PointLocatorSparseGrid.h:52
viskores::cont::ArrayHandle< viskores::Id > PointIds
Definition: cont/PointLocatorSparseGrid.h:107
const RangeType & GetRange() const
Specify the bounds of the space to search for points.
Definition: cont/PointLocatorSparseGrid.h:61
viskores::Float64 Max
Tha maximum value of the range (inclusive).
Definition: Range.h:44
viskores::cont::ArrayHandle< viskores::Id > CellUpper
Definition: cont/PointLocatorSparseGrid.h:109
#define VISKORES_CONT
Definition: ExportMacros.h:65
Groups connected points that have the same field value.
Definition: Atomic.h:27
void SetNumberOfBins(const viskores::Id3 &bins)
Specify the number of bins used in the sparse grid to be searched.
Definition: cont/PointLocatorSparseGrid.h:80
An object used to specify a device.
Definition: DeviceAdapterTag.h:66
Represent a continuous scalar range of values.
Definition: Range.h:39
Structure for locating point.
Definition: exec/PointLocatorSparseGrid.h:36
bool IsRangeInvalid() const
Definition: cont/PointLocatorSparseGrid.h:96
A locator that bins points in a sparsely stored grid.
Definition: cont/PointLocatorSparseGrid.h:43
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:43
const viskores::Id3 & GetNumberOfBins() const
Specify the number of bins used in the sparse grid to be searched.
Definition: cont/PointLocatorSparseGrid.h:89