24#include "vtkCommonDataModelModule.h"  
   27VTK_ABI_NAMESPACE_BEGIN
 
   59  void CreateCuts(
double* bounds, 
int ncuts, 
int* dim, 
double* coord, 
int* lower, 
int* upper,
 
   60    double* lowerDataCoord, 
double* upperDataCoord, 
int* npoints);
 
   80  vtkGetMacro(NumberOfCuts, 
int);
 
   86  int GetArrays(
int len, 
int* dim, 
double* coord, 
int* lower, 
int* upper, 
double* lowerDataCoord,
 
   87    double* upperDataCoord, 
int* npoints);
 
This class represents an axis-aligned Binary Spatial Partitioning of a 3D space.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
int WriteArray(vtkKdNode *kd, int loc)
 
void BuildTree(vtkKdNode *kd, int idx)
 
vtkKdNode * GetKdNodeTree()
Return a tree of vtkKdNode's representing the cuts specified in this object.
 
void ShallowCopy(vtkDataObject *src) override
Shallow copy.
 
static int CountNodes(vtkKdNode *kd)
 
static void SetMinMaxId(vtkKdNode *kd)
 
void DeepCopy(vtkDataObject *src) override
Shallow copy.
 
static vtkBSPCuts * GetData(vtkInformationVector *v, int i=0)
Retrieve an instance of this class from an information object.
 
int GetDataObjectType() override
Returns VTK_BSP_CUTS.
 
int Equals(vtkBSPCuts *other, double tolerance=0.0)
Compare these cuts with those of the other tree.
 
void CreateCuts(vtkKdNode *kd)
Initialize the cuts from a tree of vtkKdNode's.
 
void Initialize() override
Restore data object to initial state,.
 
void operator=(const vtkBSPCuts &)=delete
 
static void PrintTree_(vtkKdNode *kd, int depth)
 
int GetArrays(int len, int *dim, double *coord, int *lower, int *upper, double *lowerDataCoord, double *upperDataCoord, int *npoints)
Get the arrays representing the cuts in the partitioning.
 
static vtkBSPCuts * New()
 
vtkBSPCuts(const vtkBSPCuts &)=delete
 
static void DeleteAllDescendants(vtkKdNode *kd)
 
static vtkBSPCuts * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
 
void CreateCuts(double *bounds, int ncuts, int *dim, double *coord, int *lower, int *upper, double *lowerDataCoord, double *upperDataCoord, int *npoints)
Initialize the cuts with arrays of information.
 
void AllocateArrays(int size)
 
general representation of visualization data
 
a simple class to control print indentation
 
This class represents a single spatial region in an 3D axis aligned binary spatial partitioning.