40 #ifndef vtkSphereTree_h
41 #define vtkSphereTree_h
43 #include "vtkCommonExecutionModelModule.h"
47 VTK_ABI_NAMESPACE_BEGIN
55 struct vtkSphereTreeHierarchy;
57 #define VTK_MAX_SPHERE_TREE_RESOLUTION 10
58 #define VTK_MAX_SPHERE_TREE_LEVELS 20
101 vtkSetMacro(BuildHierarchy,
bool);
102 vtkGetMacro(BuildHierarchy,
bool);
103 vtkBooleanMacro(BuildHierarchy,
bool);
116 const unsigned char* SelectPoint(
double point[3],
vtkIdType& numSelected);
117 const unsigned char* SelectLine(
double origin[3],
double ray[3],
vtkIdType& numSelected);
118 const unsigned char* SelectPlane(
double origin[3],
double normal[3],
vtkIdType& numSelected);
133 void SelectLine(
double origin[3],
double ray[3],
vtkIdList* cellIds);
134 void SelectPlane(
double origin[3],
double normal[3],
vtkIdList* cellIds);
146 vtkGetMacro(Resolution,
int);
158 vtkGetMacro(MaxLevel,
int);
167 vtkGetMacro(NumberOfLevels,
int);
181 const double* GetCellSpheres();
204 double SphereBounds[6];
209 void ExtractCellIds(
const unsigned char* selected,
vtkIdList* cellIds,
vtkIdType numSelected);
213 void BuildUnstructuredHierarchy(
vtkDataSet* input,
double* tree);
221 VTK_ABI_NAMESPACE_END
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract class to specify dataset behavior
record modification and/or execution time
dynamic, self-adjusting array of double
vtkSphereTreeHierarchy * Hierarchy
a simple class to control print indentation
list of point or cell ids
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray
#define VTK_MAX_SPHERE_TREE_LEVELS
topologically regular array of data
class to build and traverse sphere trees
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
#define VTK_MAX_SPHERE_TREE_RESOLUTION