VTK  9.3.1
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 
44 VTK_ABI_NAMESPACE_BEGIN
45 class vtkLocator;
46 class vtkDataSet;
47 class vtkSpatialRepresentationFilterInternal;
48 
49 class VTKFILTERSGENERAL_EXPORT vtkSpatialRepresentationFilter : public vtkMultiBlockDataSetAlgorithm
50 {
51 public:
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55 
57 
60  virtual void SetSpatialRepresentation(vtkLocator*);
61  vtkGetObjectMacro(SpatialRepresentation, vtkLocator);
63 
65 
69  vtkGetMacro(MaximumLevel, int);
71 
75  void AddLevel(int level);
76 
80  void ResetLevels();
81 
83 
86  vtkSetMacro(GenerateLeaves, bool);
87  vtkGetMacro(GenerateLeaves, bool);
88  vtkBooleanMacro(GenerateLeaves, bool);
90 
91 protected:
94 
96 
99 
101 
102  void ReportReferences(vtkGarbageCollector*) override;
103  int FillInputPortInformation(int, vtkInformation*) override;
104 
105 private:
107  void operator=(const vtkSpatialRepresentationFilter&) = delete;
108 
109  vtkSpatialRepresentationFilterInternal* Internal;
110 };
111 
112 VTK_ABI_NAMESPACE_END
113 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:52
void ReportReferences(vtkGarbageCollector *) override
abstract base class for objects that accelerate spatial searches
Definition: vtkLocator.h:58
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Detect and break reference loops.
static vtkMultiBlockDataSetAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:28
generate polygonal model of spatial search object (i.e., a vtkLocator)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.