145 #ifndef _vtkModifiedBSPTree_h
146 #define _vtkModifiedBSPTree_h
148 #include "vtkFiltersTracersModule.h"
153 class Sorted_cell_extents_Lists;
188 virtual void GenerateRepresentationLeafs(
vtkPolyData *pd);
194 double p1[3],
double p2[3],
double tol,
double& t,
double x[3],
195 double pcoords[3],
int &subId)
196 {
return this->Superclass::IntersectWithLine(p1, p2, tol, t, x, pcoords, subId); }
203 double p1[3],
double p2[3],
double tol,
double &t,
double x[3],
204 double pcoords[3],
int &subId,
vtkIdType &cellId);
212 double p1[3],
double p2[3],
double tol,
double &t,
double x[3],
227 const double p1[3],
const double p2[3],
229 {
return this->Superclass::IntersectWithLine(p1, p2, points, cellIds); }
240 const double p1[3],
const double p2[3],
const double tol,
248 {
return this->Superclass::FindCell(x); }
255 double pcoords[3],
double *weights);
277 void Subdivide(
BSPNode *node, Sorted_cell_extents_Lists *lists,
vtkDataSet *dataSet,
284 virtual int IntersectCellInternal(
vtkIdType cell_ID,
const double p1[3],
const double p2[3],
285 const double tol,
double &t,
double ipt[3],
double pcoords[3],
int &subId);
288 void BuildLocatorIfNeeded();
289 void ForceBuildLocator();
290 void BuildLocatorInternal();
302 #ifndef DOXYGEN_SHOULD_SKIP_THIS
314 for (
int i=0; i<3; i++)
if (
mChild[i])
delete mChild[i];
318 void setMin(
double minx,
double miny,
double minz) {
322 void setMax(
double maxx,
double maxy,
double maxz) {
341 void Classify(
const double origin[3],
const double dir[3],
345 double &rTmin,
double &rTmax)
const;
350 static bool VTKFILTERSTRACERS_EXPORT
RayMinMaxT(
351 const double bounds[6],
const double origin[3],
const double dir[3],
double &rTmin,
double &rTmax);