Go to the documentation of this file.
39 #include "vtkCommonDataModelModule.h"
69 int ncuts,
int *dim,
double *coord,
70 int *lower,
int *upper,
71 double *lowerDataCoord,
double *upperDataCoord,
92 vtkGetMacro(NumberOfCuts,
int);
98 int GetArrays(
int len,
int *dim,
double *coord,
int *lower,
int *upper,
99 double *lowerDataCoord,
double *upperDataCoord,
int *npoints);
161 double *LowerDataCoord;
162 double *UpperDataCoord;
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
This class represents a single spatial region in an 3D axis aligned binary spatial partitioning.
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void CreateCuts(vtkKdNode *kd)
Initialize the cuts from a tree of vtkKdNode's.
int Equals(vtkBSPCuts *other, double tolerance=0.0)
Compare these cuts with those of the other tree.
vtkKdNode * GetKdNodeTree()
Return a tree of vtkKdNode's representing the cuts specified in this object.
static vtkBSPCuts * GetData(vtkInformationVector *v, int i=0)
static vtkBSPCuts * New()
a simple class to control print indentation
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.
This class represents an axis-aligned Binary Spatial Partitioning of a 3D space.
void Initialize() override
Restore data object to initial state,.
static vtkBSPCuts * GetData(vtkInformation *info)
Retrieve an instance of this class from an information object.
general representation of visualization data