Go to the documentation of this file.
33 #ifndef vtkBSPIntersections_h
34 #define vtkBSPIntersections_h
81 double ymin,
double ymax,
82 double zmin,
double zmax);
90 double y0,
double y1,
double z0,
double z1);
97 double x,
double y,
double z,
double rSquared);
105 double x,
double y,
double z,
double rSquared);
143 double CellBoundsCache[6];
155 static int NumberOfLeafNodes(
vtkKdNode *kd);
156 static void SetIDRanges(
vtkKdNode *kd,
int &min,
int &
max);
160 static void SetCellBounds(
vtkCell *cell,
double *bounds);
163 double x0,
double x1,
164 double y0,
double y1,
165 double z0,
double z1);
168 double x,
double y,
double z,
double rSquared);
171 vtkCell *cell,
int cellRegion=-1);
180 int ComputeIntersectionsUsingDataBounds;
This class represents a single spatial region in an 3D axis aligned binary spatial partitioning....
void ComputeIntersectionsUsingDataBoundsOn()
int IntersectsSphere2(int regionId, double x, double y, double z, double rSquared)
#define vtkGetObjectMacro(name, type)
void SetComputeIntersectionsUsingDataBounds(int c)
int IntersectsCell(int regionId, vtkCell *cell, int cellRegion=-1)
int IntersectsBox(int regionId, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
static vtkBSPIntersections * New()
record modification and/or execution time
#define vtkTypeMacro(thisClass, superclass)
abstract base class for most VTK objects
GLint GLint GLint GLint GLint x
void ComputeIntersectionsUsingDataBoundsOff()
int IntersectsBox(int *ids, int len, double x0, double x1, double y0, double y1, double z0, double z1)
Perform calculations (mostly intersection calculations) on regions of a 3D binary spatial partitionin...
vtkKdNode ** GetRegionList()
abstract class to specify cell behavior
a simple class to control print indentation
This class represents an axis-aligned Binary Spatial Partitioning of a 3D space.
#define vtkGetMacro(name, type)
int GetRegionBounds(int regionID, double bounds[6])
int IntersectsBox(int *ids, int len, double *x)
GLint GLint GLint GLint GLint GLint y
void SetCuts(vtkBSPCuts *cuts)
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKCOMMONDATAMODEL_EXPORT
int IntersectsBox(int regionId, double *x)
int GetBounds(double *bounds)
int IntersectsSphere2(int *ids, int len, double x, double y, double z, double rSquared)
int GetRegionDataBounds(int regionID, double bounds[6])
int IntersectsCell(int *ids, int len, vtkCell *cell, int cellRegion=-1)