VTK-m
2.2
|
Base class for all PointLocator
classes.
More...
#include <PointLocatorBase.h>
Public Member Functions | |
virtual | ~PointLocatorBase ()=default |
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 |
Protected Member Functions | |
void | SetModified () |
bool | GetModified () const |
virtual void | Build ()=0 |
Private Attributes | |
vtkm::cont::CoordinateSystem | Coords |
bool | Modified = true |
Base class for all PointLocator
classes.
PointLocatorBase
subclasses must implement the pure virtual Build()
method. They also must provide a PrepareForExecution()
method to satisfy the ExecutionObjectBase
superclass.
If a derived class changes its state in a way that invalidates its internal search structure, it should call the protected SetModified()
method. This will alert the base class to rebuild the structure on the next call to Update()
.
|
virtualdefault |
|
protectedpure virtual |
Implemented in vtkm::cont::PointLocatorSparseGrid.
|
inline |
Specify the CoordinateSystem
defining the location of the cells.
This is often retrieved from the vtkm::cont::DataSet::GetCoordinateSystem()
method, but it can be any array of size 3 Vec
s.
|
inlineprotected |
|
inline |
Specify the CoordinateSystem
defining the location of the cells.
This is often retrieved from the vtkm::cont::DataSet::GetCoordinateSystem()
method, but it can be any array of size 3 Vec
s.
|
inline |
Specify the CoordinateSystem
defining the location of the cells.
This is often retrieved from the vtkm::cont::DataSet::GetCoordinateSystem()
method, but it can be any array of size 3 Vec
s.
|
inlineprotected |
void vtkm::cont::PointLocatorBase::Update | ( | ) | const |
|
private |
|
mutableprivate |