Go to the documentation of this file.
118 double&
t,
double x[3],
double pcoords[3],
127 double mid[3],
double min[3],
double size[3]);
136 double mid[3],
double min[3],
double size[3]);
160 double p0[3],
double p1[3],
201 double mid[3],
double min[3],
double size[3]);
represent and manipulate 3D points
void PrintSelf(ostream &os, vtkIndent indent)
void DeleteTree(vtkOBBNode *OBBptr)
virtual int IntersectWithLine(double p1[3], double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId)
int LineIntersectsNode(vtkOBBNode *pA, double b0[3], double b1[3])
void GenerateRepresentation(int level, vtkPolyData *pd)
generate oriented bounding box (OBB) tree
#define vtkTypeMacro(thisClass, superclass)
GLint GLint GLint GLint GLint x
static vtkOBBTree * New()
void ComputeOBB(vtkDataSet *input, double corner[3], double max[3], double mid[3], double min[3], double size[3])
GLenum GLenum GLenum input
GLsizei const GLfloat * points
void BuildTree(vtkIdList *cells, vtkOBBNode *parent, int level)
void GeneratePolygons(vtkOBBNode *OBBptr, int level, int repLevel, vtkPoints *pts, vtkCellArray *polys)
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
object to represent cell connectivity
list of point or cell ids
#define VTKFILTERSGENERAL_EXPORT
int IntersectWithOBBTree(vtkOBBTree *OBBTreeB, vtkMatrix4x4 *XformBtoA, int(*function)(vtkOBBNode *nodeA, vtkOBBNode *nodeB, vtkMatrix4x4 *Xform, void *arg), void *data_arg)
an abstract base class for locators which find cells
int IntersectWithLine(double a0[3], double a1[3], double tol, double &t, double x[3], double pcoords[3], int &subId, vtkIdType &cellId, vtkGenericCell *cell)
abstract class to specify dataset behavior
int DisjointOBBNodes(vtkOBBNode *nodeA, vtkOBBNode *nodeB, vtkMatrix4x4 *XformBtoA)
int InsideOrOutside(const double point[3])
static void ComputeOBB(vtkPoints *pts, double corner[3], double max[3], double mid[3], double min[3], double size[3])
void ComputeOBB(vtkIdList *cells, double corner[3], double max[3], double mid[3], double min[3], double size[3])
concrete dataset represents vertices, lines, polygons, and triangle strips
provides thread-safe access to cells
int IntersectWithLine(const double a0[3], const double a1[3], vtkPoints *points, vtkIdList *cellIds)
void DebugPrintTree(int level, double *leaf_vol, int *minCells, int *maxCells)
void FreeSearchStructure()
int TriangleIntersectsNode(vtkOBBNode *pA, double p0[3], double p1[3], double p2[3], vtkMatrix4x4 *XformBtoA)