60 #include "vtkFiltersGeneralModule.h"
62 VTK_ABI_NAMESPACE_BEGIN
77 void DebugPrintTree(
int level,
double* leaf_vol,
int* minCells,
int* maxCells);
111 int IntersectWithLine(
const double a0[3],
const double a1[3],
double tol,
double& t,
double x[3],
133 static void ComputeOBB(
134 vtkPoints* pts,
double corner[3],
double max[3],
double mid[3],
double min[3],
double size[3]);
142 void ComputeOBB(
vtkDataSet* input,
double corner[3],
double max[3],
double mid[3],
double min[3],
150 int InsideOrOutside(
const double point[3],
double tol = 0);
156 int DisjointOBBNodes(
162 int LineIntersectsNode(
vtkOBBNode* pA,
const double b0[3],
const double b1[3],
double tol = 0);
167 int TriangleIntersectsNode(
vtkOBBNode* pA,
double p0[3],
double p1[3],
double p2[3],
176 void* data_arg,
double tol = 0);
207 void ComputeOBB(
vtkIdList* cells,
double corner[3],
double max[3],
double mid[3],
double min[3],
217 void GeneratePolygons(
225 VTK_ABI_NAMESPACE_END
virtual void BuildLocator()=0
Build the locator from the input dataset.
represent and manipulate 4x4 transformation matrices
abstract class to specify dataset behavior
an abstract base class for locators which find cells
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void FreeSearchStructure()=0
Free the memory required for the spatial data structure.
provides thread-safe access to cells
generate oriented bounding box (OBB) tree
virtual int IntersectWithLine(const double p1[3], const double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId)
Return intersection point (if any) of finite line with cells contained in cell locator.
a simple class to control print indentation
virtual void BuildLocatorInternal()
This function is not pure virtual to maintain backwards compatibility.
list of point or cell ids
object to represent cell connectivity
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void FindCellsAlongLine(const double p1[3], const double p2[3], double tol, vtkIdList *cells)
Take the passed line segment and intersect it with the data set.
virtual void GenerateRepresentation(int level, vtkPolyData *pd)=0
Method to build a representation at a particular level.
represent and manipulate 3D points
virtual void ForceBuildLocator()
Build the locator from the input dataset (even if UseExistingSearchStructure is on).