VTK  9.0.20210409
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 
53 class vtkLocator;
54 class vtkDataSet;
55 class vtkSpatialRepresentationFilterInternal;
56 
57 class VTKFILTERSGENERAL_EXPORT vtkSpatialRepresentationFilter : public vtkMultiBlockDataSetAlgorithm
58 {
59 public:
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 
88  void ResetLevels();
89 
91 
94  vtkSetMacro(GenerateLeaves, bool);
95  vtkGetMacro(GenerateLeaves, bool);
96  vtkBooleanMacro(GenerateLeaves, bool);
98 
99 protected:
102 
104 
107 
109 
112 
113 private:
115  void operator=(const vtkSpatialRepresentationFilter&) = delete;
116 
117  vtkSpatialRepresentationFilterInternal* Internal;
118 };
119 
120 #endif
vtkSpatialRepresentationFilter::GenerateLeaves
bool GenerateLeaves
Definition: vtkSpatialRepresentationFilter.h:106
vtkSpatialRepresentationFilter::MaximumLevel
int MaximumLevel
Definition: vtkSpatialRepresentationFilter.h:105
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkSpatialRepresentationFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkSpatialRepresentationFilter::AddLevel
void AddLevel(int level)
Add a level to be computed.
vtkSpatialRepresentationFilter
generate polygonal model of spatial search object (i.e., a vtkLocator)
Definition: vtkSpatialRepresentationFilter.h:58
vtkSpatialRepresentationFilter::New
static vtkSpatialRepresentationFilter * New()
vtkSpatialRepresentationFilter::ReportReferences
void ReportReferences(vtkGarbageCollector *) override
vtkSpatialRepresentationFilter::SpatialRepresentation
vtkLocator * SpatialRepresentation
Definition: vtkSpatialRepresentationFilter.h:108
vtkLocator
abstract base class for objects that accelerate spatial searches
Definition: vtkLocator.h:70
vtkX3D::level
@ level
Definition: vtkX3D.h:401
vtkSpatialRepresentationFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSpatialRepresentationFilter::~vtkSpatialRepresentationFilter
~vtkSpatialRepresentationFilter() override
vtkSpatialRepresentationFilter::ResetLevels
void ResetLevels()
Remove all levels.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkMultiBlockDataSetAlgorithm.h
vtkGarbageCollector
Detect and break reference loops.
Definition: vtkGarbageCollector.h:95
vtkSpatialRepresentationFilter::SetSpatialRepresentation
virtual void SetSpatialRepresentation(vtkLocator *)
Set/Get the locator that will be used to generate the representation.
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:57
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:74
vtkSpatialRepresentationFilter::FillInputPortInformation
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
vtkSpatialRepresentationFilter::vtkSpatialRepresentationFilter
vtkSpatialRepresentationFilter()
vtkMultiBlockDataSetAlgorithm
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
Definition: vtkMultiBlockDataSetAlgorithm.h:33