26 #ifndef vtkHyperTreeGridGeometricLocator_h
27 #define vtkHyperTreeGridGeometricLocator_h
29 #include "vtkCommonDataModelModule.h"
32 VTK_ABI_NAMESPACE_BEGIN
78 double pcoords[3],
double* weights)
override;
93 int IntersectWithLine(
const double p0[3],
const double p1[3],
double tol,
double& t,
double x[3],
121 vtkIdType RecurseSingleIntersectWithLine(
const double p0[3],
const double p1[3],
double tol,
123 double x[3],
double pcoords[3])
const;
128 void RecurseAllIntersectsWithLine(
const double p0[3],
const double p1[3],
double tol,
136 struct RecurseTreesFunctor;
148 vtkIdType FindChildIndex(
unsigned int dim,
unsigned int bf,
const double normalizedPt[3])
const;
165 bool ConstructCell(
const double* origin,
const double*
size,
vtkGenericCell* cell)
const;
172 void GetZeroLevelOriginAndSize(
double* origin,
double* sizes)
const;
177 std::vector<int> GetSortingMap(
const std::vector<double>& other)
const;
182 std::vector<double> Bins1D;
186 VTK_ABI_NAMESPACE_END
188 #endif // vtkHyperTreeGridGeometricLocator_h
virtual vtkIdType FindCell(const double point[3], double tol, vtkGenericCell *cell, int &subId, double pcoords[3], double *weights)=0
Pure virtual.
class that implements accelerated searches through HyperTree Grids (HTGs) using geometric information...
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
virtual void SetHTG(vtkHyperTreeGrid *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
provides thread-safe access to cells
Objects for traversal a HyperTreeGrid.
virtual vtkIdType Search(const double point[3])=0
Basic search for cell holding a given point.
list of point or cell ids
abstract base class for objects that implement accelerated searches through HyperTree Grids (HTGs) ...
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.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
represent and manipulate 3D points