VTK  9.3.20240420
vtkSpatialRepresentationFilter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
38#ifndef vtkSpatialRepresentationFilter_h
39#define vtkSpatialRepresentationFilter_h
40
41#include "vtkFiltersGeneralModule.h" // For export macro
43
44VTK_ABI_NAMESPACE_BEGIN
45class vtkLocator;
46class vtkDataSet;
47class vtkSpatialRepresentationFilterInternal;
48
50{
51public:
54 void PrintSelf(ostream& os, vtkIndent indent) override;
55
57
61 vtkGetObjectMacro(SpatialRepresentation, vtkLocator);
63
65
69 vtkGetMacro(MaximumLevel, int);
71
75 void AddLevel(int level);
76
81
83
86 vtkSetMacro(GenerateLeaves, bool);
87 vtkGetMacro(GenerateLeaves, bool);
88 vtkBooleanMacro(GenerateLeaves, bool);
90
91protected:
94
96
99
101
104
105private:
107 void operator=(const vtkSpatialRepresentationFilter&) = delete;
108
109 vtkSpatialRepresentationFilterInternal* Internal;
110};
111
112VTK_ABI_NAMESPACE_END
113#endif
abstract class to specify dataset behavior
Definition vtkDataSet.h:166
Detect and break reference loops.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
abstract base class for objects that accelerate spatial searches
Definition vtkLocator.h:78
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
generate polygonal model of spatial search object (i.e., a vtkLocator)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkSpatialRepresentationFilter() override
virtual void SetSpatialRepresentation(vtkLocator *)
Set/Get the locator that will be used to generate the representation.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkSpatialRepresentationFilter * New()
void ReportReferences(vtkGarbageCollector *) override
void AddLevel(int level)
Add a level to be computed.
void ResetLevels()
Remove all levels.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.