26 #ifndef vtkHyperTreeGridGeometricLocator_h
27 #define vtkHyperTreeGridGeometricLocator_h
29 #include "vtkCommonDataModelModule.h"
32 VTK_ABI_NAMESPACE_BEGIN
77 double pcoords[3],
double* weights)
override;
92 int IntersectWithLine(
const double p0[3],
const double p1[3],
double tol,
double& t,
double x[3],
120 vtkIdType RecurseSingleIntersectWithLine(
const double p0[3],
const double p1[3],
double tol,
122 double x[3],
double pcoords[3])
const;
127 void RecurseAllIntersectsWithLine(
const double p0[3],
const double p1[3],
double tol,
135 struct RecurseTreesFunctor;
147 vtkIdType FindChildIndex(
unsigned int dim,
unsigned int bf,
const double normalizedPt[3])
const;
164 bool ConstructCell(
const double* origin,
const double*
size,
vtkGenericCell* cell)
const;
171 void GetZeroLevelOriginAndSize(
double* origin,
double* sizes)
const;
176 std::vector<int> GetSortingMap(
const std::vector<double>& other)
const;
181 std::vector<double> Bins1D;
185 VTK_ABI_NAMESPACE_END
187 #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.
a simple class to control print indentation
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