145 #ifndef _vtkModifiedBSPTree_h
146 #define _vtkModifiedBSPTree_h
153 class Sorted_cell_extents_Lists;
186 virtual void GenerateRepresentationLeafs(
vtkPolyData *pd);
192 double p1[3],
double p2[3],
double tol,
double &t,
double x[3],
193 double pcoords[3],
int &subId,
vtkIdType &cellId);
201 double p1[3],
double p2[3],
double tol,
double &t,
double x[3],
213 const double p1[3],
const double p2[3],
const double tol,
221 double pcoords[3],
double *weights);
243 void Subdivide(
BSPNode *node, Sorted_cell_extents_Lists *lists,
vtkDataSet *dataSet,
250 virtual int IntersectCellInternal(
vtkIdType cell_ID,
const double p1[3],
const double p2[3],
251 const double tol,
double &t,
double ipt[3],
double pcoords[3],
int &subId);
254 void BuildLocatorIfNeeded();
255 void ForceBuildLocator();
256 void BuildLocatorInternal();
268 #ifndef DOXYGEN_SHOULD_SKIP_THIS
280 for (
int i=0; i<3; i++)
delete mChild[i];
284 void setMin(
double minx,
double miny,
double minz) {
288 void setMax(
double maxx,
double maxy,
double maxz) {
307 void Classify(
const double origin[3],
const double dir[3],
311 double &rTmin,
double &rTmax)
const;
317 const double bounds[6],
const double origin[3],
const double dir[3],
double &rTmin,
double &rTmax);
#define VTKFILTERSFLOWPATHS_EXPORT
virtual void BuildLocator()=0
bool Inside(double point[3]) const
virtual bool InsideCellBounds(double x[3], vtkIdType cell_ID)
abstract class to specify dataset behavior
an abstract base class for locators which find cells
static int VTKFILTERSFLOWPATHS_EXPORT getDominantAxis(const double dir[3])
void Classify(const double origin[3], const double dir[3], double &rDist, BSPNode *&Near, BSPNode *&Mid, BSPNode *&Far) const
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void FreeSearchStructure()=0
provides thread-safe access to cells
bool RayMinMaxT(const double origin[3], const double dir[3], double &rTmin, double &rTmax) const
void PrintSelf(ostream &os, vtkIndent indent)
void setMax(double maxx, double maxy, double maxz)
a simple class to control print indentation
virtual vtkIdType FindCell(double x[3])
list of point or cell ids
friend class vtkParticleBoxTree
void setMin(double minx, double miny, double minz)
virtual int IntersectWithLine(double p1[3], double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId)
maintain an unordered list of dataarray objects
vtkIdType * sorted_cell_lists[6]
virtual void GenerateRepresentation(int level, vtkPolyData *pd)=0
represent and manipulate 3D points
Generate axis aligned BBox tree for raycasting and other Locator based searches.