Go to the documentation of this file.
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
88 vtkSetMacro(ExtractionMode,
int);
89 vtkGetMacro(ExtractionMode,
int);
107 vtkSetMacro(TreeHierarchy,
bool);
108 vtkGetMacro(TreeHierarchy,
bool);
109 vtkBooleanMacro(TreeHierarchy,
bool);
121 vtkGetMacro(Level,
int);
129 vtkSetVector3Macro(Point,
double);
130 vtkGetVectorMacro(Point,
double,3);
139 vtkSetVector3Macro(Ray,
double);
140 vtkGetVectorMacro(Ray,
double,3);
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
#define VTK_SPHERE_TREE_PLANE
const char * GetExtractionModeAsString()
#define VTK_SPHERE_TREE_POINT
virtual void SetSphereTree(vtkSphereTree *)
Specify and retrieve the sphere tree.
static vtkSphereTreeFilter * New()
Instantiate the sphere tree filter.
void SetExtractionModeToPoint()
~vtkSphereTreeFilter() override
a simple class to control print indentation
class to build and traverse sphere trees
void SetExtractionModeToLevels()
represent a sphere tree as vtkPolyData
void SetExtractionModeToLine()
vtkSphereTree * SphereTree
#define VTK_SPHERE_TREE_LINE
#define VTK_SPHERE_TREE_LEVELS
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMTimeType GetMTime() override
Modified GetMTime because the sphere tree may have changed.
vtkTypeUInt32 vtkMTimeType
void SetExtractionModeToPlane()
Superclass for algorithms that produce only polydata as output.