44 #ifndef vtkSphereTreeFilter_h
45 #define vtkSphereTreeFilter_h
47 #include "vtkFiltersCoreModule.h"
50 #define VTK_SPHERE_TREE_LEVELS 0
51 #define VTK_SPHERE_TREE_POINT 1
52 #define VTK_SPHERE_TREE_LINE 2
53 #define VTK_SPHERE_TREE_PLANE 3
90 vtkSetMacro(ExtractionMode,
int);
91 vtkGetMacro(ExtractionMode,
int);
96 const char* GetExtractionModeAsString();
105 vtkSetMacro(TreeHierarchy,
bool);
106 vtkGetMacro(TreeHierarchy,
bool);
107 vtkBooleanMacro(TreeHierarchy,
bool);
119 vtkGetMacro(Level,
int);
127 vtkSetVector3Macro(Point,
double);
128 vtkGetVectorMacro(Point,
double, 3);
137 vtkSetVector3Macro(Ray,
double);
138 vtkGetVectorMacro(Ray,
double, 3);
146 vtkSetVector3Macro(
Normal,
double);
147 vtkGetVectorMacro(
Normal,
double, 3);
void SetExtractionModeToLine()
Specify what information this filter is to extract from the sphere tree.
vtkTypeUInt32 vtkMTimeType
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
#define VTK_SPHERE_TREE_PLANE
represent a sphere tree as vtkPolyData
void SetExtractionModeToPoint()
Specify what information this filter is to extract from the sphere tree.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
void SetExtractionModeToPlane()
Specify what information this filter is to extract from the sphere tree.
#define VTK_SPHERE_TREE_POINT
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkSphereTree * SphereTree
#define VTK_SPHERE_TREE_LINE
class to build and traverse sphere trees
#define VTK_SPHERE_TREE_LEVELS
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetExtractionModeToLevels()
Specify what information this filter is to extract from the sphere tree.