|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   49 #ifndef vtkSphereTree_h 
   50 #define vtkSphereTree_h 
   52 #include "vtkCommonExecutionModelModule.h"  
   63 struct vtkSphereTreeHierarchy;
 
   65 #define VTK_MAX_SPHERE_TREE_RESOLUTION 10 
   66 #define VTK_MAX_SPHERE_TREE_LEVELS 20 
  109   vtkSetMacro(BuildHierarchy, 
bool);
 
  110   vtkGetMacro(BuildHierarchy, 
bool);
 
  111   vtkBooleanMacro(BuildHierarchy, 
bool);
 
  124   const unsigned char* SelectPoint(
double point[3], 
vtkIdType& numSelected);
 
  125   const unsigned char* SelectLine(
double origin[3], 
double ray[3], 
vtkIdType& numSelected);
 
  126   const unsigned char* SelectPlane(
double origin[3], 
double normal[3], 
vtkIdType& numSelected);
 
  141   void SelectLine(
double origin[3], 
double ray[3], 
vtkIdList* cellIds);
 
  142   void SelectPlane(
double origin[3], 
double normal[3], 
vtkIdList* cellIds);
 
  154   vtkGetMacro(Resolution, 
int);
 
  166   vtkGetMacro(MaxLevel, 
int);
 
  175   vtkGetMacro(NumberOfLevels, 
int);
 
  189   const double* GetCellSpheres();
 
  212   double SphereBounds[6]; 
 
  217   void ExtractCellIds(
const unsigned char* selected, 
vtkIdList* cellIds, 
vtkIdType numSelected);
 
  221   void BuildUnstructuredHierarchy(
vtkDataSet* input, 
double* tree);
 
  
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
record modification and/or execution time
topologically regular array of data
abstract base class for most VTK objects
abstract superclass for arrays of numeric data
a simple class to control print indentation
list of point or cell ids
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
#define VTK_MAX_SPHERE_TREE_LEVELS
class to build and traverse sphere trees
dynamic, self-adjusting array of double
dataset represents arbitrary combinations of all possible cell types
vtkSphereTreeHierarchy * Hierarchy
#define VTK_MAX_SPHERE_TREE_RESOLUTION