VTK  9.1.0
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=========================================================================*/
47#ifndef vtkSpatialRepresentationFilter_h
48#define vtkSpatialRepresentationFilter_h
49
50#include "vtkFiltersGeneralModule.h" // For export macro
52
53class vtkLocator;
54class vtkDataSet;
55class vtkSpatialRepresentationFilterInternal;
56
58{
59public:
62 void PrintSelf(ostream& os, vtkIndent indent) override;
63
65
69 vtkGetObjectMacro(SpatialRepresentation, vtkLocator);
71
73
77 vtkGetMacro(MaximumLevel, int);
79
83 void AddLevel(int level);
84
89
91
94 vtkSetMacro(GenerateLeaves, bool);
95 vtkGetMacro(GenerateLeaves, bool);
96 vtkBooleanMacro(GenerateLeaves, bool);
98
99protected:
102
104
107
109
112
113private:
115 void operator=(const vtkSpatialRepresentationFilter&) = delete;
116
117 vtkSpatialRepresentationFilterInternal* Internal;
118};
119
120#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:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
abstract base class for objects that accelerate spatial searches
Definition: vtkLocator.h:89
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.
@ level
Definition: vtkX3D.h:401