VTK  9.2.6
vtkSpatialRepresentationFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkSpatialRepresentationFilter.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
50#ifndef vtkSpatialRepresentationFilter_h
51#define vtkSpatialRepresentationFilter_h
52
53#include "vtkFiltersGeneralModule.h" // For export macro
55
56class vtkLocator;
57class vtkDataSet;
58class vtkSpatialRepresentationFilterInternal;
59
61{
62public:
65 void PrintSelf(ostream& os, vtkIndent indent) override;
66
68
72 vtkGetObjectMacro(SpatialRepresentation, vtkLocator);
74
76
80 vtkGetMacro(MaximumLevel, int);
82
86 void AddLevel(int level);
87
92
94
97 vtkSetMacro(GenerateLeaves, bool);
98 vtkGetMacro(GenerateLeaves, bool);
99 vtkBooleanMacro(GenerateLeaves, bool);
101
102protected:
105
107
110
112
115
116private:
118 void operator=(const vtkSpatialRepresentationFilter&) = delete;
119
120 vtkSpatialRepresentationFilterInternal* Internal;
121};
122
123#endif
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
Detect and break reference loops.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
abstract base class for objects that accelerate spatial searches
Definition: vtkLocator.h:70
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.