23#ifndef vtkHyperTreeGridLocator_h
24#define vtkHyperTreeGridLocator_h
26#include "vtkCommonDataModelModule.h"
30VTK_ABI_NAMESPACE_BEGIN
80 double pcoords[3],
double* weights) = 0;
95 virtual int IntersectWithLine(
const double p0[3],
const double p1[3],
double tol,
double& t,
116 vtkSetMacro(Tolerance,
double);
117 vtkGetMacro(Tolerance,
double);
130 double Tolerance = 0.0;
provides thread-safe access to cells
abstract base class for objects that implement accelerated searches through HyperTree Grids (HTGs)
virtual void SetHTG(vtkHyperTreeGrid *)
virtual vtkHyperTreeGrid * GetHTG()
Getter/Setter methods for setting the vtkHyperTreeGrid.
~vtkHyperTreeGridLocator() override=default
vtkWeakPointer< vtkHyperTreeGrid > HTG
Internal reference to the HyperTreeGrid one wants to search over.
virtual int IntersectWithLine(const double p0[3], const double p1[3], double tol, double &t, double x[3], double pcoords[3], int &subId, vtkIdType &cellId, vtkGenericCell *cell)=0
Pure virtual.
virtual void Update()
Update the locator's internal variables with respect to changes that could have happened outside.
virtual vtkIdType FindCell(const double point[3], double tol, vtkGenericCell *cell, int &subId, double pcoords[3], double *weights)=0
Pure virtual.
virtual vtkIdType Search(const double point[3])=0
Basic search for cell holding a given point.
vtkHyperTreeGridLocator()=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void Initialize()
Initialize or reinitialize the locator (setting or re-setting clean objects in memory) (Does nothing)
virtual int IntersectWithLine(const double p0[3], const double p1[3], double tol, vtkPoints *points, vtkIdList *cellIds, vtkGenericCell *cell)=0
Pure virtual.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
list of point or cell ids
a simple class to control print indentation
abstract base class for most VTK objects
represent and manipulate 3D points
a weak reference to a vtkObject.