41#ifndef vtkSphereTreeFilter_h
42#define vtkSphereTreeFilter_h
44#include "vtkFiltersCoreModule.h"
47#define VTK_SPHERE_TREE_LEVELS 0
48#define VTK_SPHERE_TREE_POINT 1
49#define VTK_SPHERE_TREE_LINE 2
50#define VTK_SPHERE_TREE_PLANE 3
87 vtkSetMacro(ExtractionMode,
int);
88 vtkGetMacro(ExtractionMode,
int);
102 vtkSetMacro(TreeHierarchy,
bool);
103 vtkGetMacro(TreeHierarchy,
bool);
104 vtkBooleanMacro(TreeHierarchy,
bool);
116 vtkGetMacro(Level,
int);
124 vtkSetVector3Macro(Point,
double);
125 vtkGetVectorMacro(Point,
double, 3);
134 vtkSetVector3Macro(Ray,
double);
135 vtkGetVectorMacro(Ray,
double, 3);
143 vtkSetVector3Macro(Normal,
double);
144 vtkGetVectorMacro(Normal,
double, 3);
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
represent a sphere tree as vtkPolyData
void SetExtractionModeToLine()
Specify what information this filter is to extract from the sphere tree.
const char * GetExtractionModeAsString()
Specify what information this filter is to extract from the sphere tree.
virtual void SetSphereTree(vtkSphereTree *)
Specify and retrieve the sphere tree.
~vtkSphereTreeFilter() override
void SetExtractionModeToPlane()
Specify what information this filter is to extract from the sphere tree.
vtkSphereTree * SphereTree
static vtkSphereTreeFilter * New()
Instantiate the sphere tree filter.
void SetExtractionModeToLevels()
Specify what information this filter is to extract from the sphere tree.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkMTimeType GetMTime() override
Modified GetMTime because the sphere tree may have changed.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard type related macros and PrintSelf() method.
void SetExtractionModeToPoint()
Specify what information this filter is to extract from the sphere tree.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
class to build and traverse sphere trees
#define VTK_SPHERE_TREE_POINT
#define VTK_SPHERE_TREE_LEVELS
#define VTK_SPHERE_TREE_LINE
#define VTK_SPHERE_TREE_PLANE
vtkTypeUInt32 vtkMTimeType