32 #ifndef vtkSphereTreeFilter_h
33 #define vtkSphereTreeFilter_h
35 #include "vtkFiltersCoreModule.h"
39 #define VTK_SPHERE_TREE_LEVELS 0
40 #define VTK_SPHERE_TREE_POINT 1
41 #define VTK_SPHERE_TREE_LINE 2
42 #define VTK_SPHERE_TREE_PLANE 3
44 VTK_ABI_NAMESPACE_BEGIN
80 vtkSetMacro(ExtractionMode,
int);
81 vtkGetMacro(ExtractionMode,
int);
86 const char* GetExtractionModeAsString();
95 vtkSetMacro(TreeHierarchy,
bool);
96 vtkGetMacro(TreeHierarchy,
bool);
97 vtkBooleanMacro(TreeHierarchy,
bool);
109 vtkGetMacro(Level,
int);
117 vtkSetVector3Macro(Point,
double);
118 vtkGetVectorMacro(Point,
double, 3);
127 vtkSetVector3Macro(Ray,
double);
128 vtkGetVectorMacro(Ray,
double, 3);
136 vtkSetVector3Macro(
Normal,
double);
137 vtkGetVectorMacro(
Normal,
double, 3);
167 VTK_ABI_NAMESPACE_END
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.
void ReportReferences(vtkGarbageCollector *) override
#define VTK_SPHERE_TREE_PLANE
Detect and break reference loops.
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.