|
VTK-m
2.3
|
A cell locator optimized for finding cells in a uniform grid. More...
#include <CellLocatorUniformGrid.h>
Public Types | |
| using | LastCell = vtkm::exec::CellLocatorUniformGrid::LastCell |
Public Member Functions | |
| vtkm::exec::CellLocatorUniformGrid | PrepareForExecution (vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const |
Public Member Functions inherited from vtkm::cont::CellLocatorBase | |
| virtual | ~CellLocatorBase ()=default |
| const vtkm::cont::UnknownCellSet & | GetCellSet () const |
Specify the CellSet defining the structure of the cells being searched. More... | |
| void | SetCellSet (const vtkm::cont::UnknownCellSet &cellSet) |
Specify the CellSet defining the structure of the cells being searched. More... | |
| const vtkm::cont::CoordinateSystem & | GetCoordinates () const |
Specify the CoordinateSystem defining the location of the cells. More... | |
| void | SetCoordinates (const vtkm::cont::CoordinateSystem &coords) |
Specify the CoordinateSystem defining the location of the cells. More... | |
| void | SetCoordinates (const vtkm::cont::UnknownArrayHandle &coords) |
Specify the CoordinateSystem defining the location of the cells. More... | |
| void | Update () const |
| Build the search structure used to look up cells. More... | |
Private Member Functions | |
| void | Build () override |
Private Attributes | |
| vtkm::Id3 | CellDims |
| vtkm::Id3 | PointDims |
| vtkm::Vec3f | Origin |
| vtkm::Vec3f | InvSpacing |
| vtkm::Vec3f | MaxPoint |
| bool | Is3D = true |
Additional Inherited Members | |
Protected Member Functions inherited from vtkm::cont::CellLocatorBase | |
| void | SetModified () |
| bool | GetModified () const |
A cell locator optimized for finding cells in a uniform grid.
This locator is optimized for structured data that has uniform axis-aligned spacing. For this cell locator to work, it has to be given a cell set of type vtkm::cont::CellSetStructured and a coordinate system using a vtkm::cont::ArrayHandleUniformPointCoordinates for its coordinate system. If the data set matches this structure, then this locator will be faster than any others.
|
overrideprivatevirtual |
Implements vtkm::cont::CellLocatorBase.
| vtkm::exec::CellLocatorUniformGrid vtkm::cont::CellLocatorUniformGrid::PrepareForExecution | ( | vtkm::cont::DeviceAdapterId | device, |
| vtkm::cont::Token & | token | ||
| ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.17