VTK
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 
68  virtual void SetSpatialRepresentation(vtkLocator*);
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:
101  ~vtkSpatialRepresentationFilter() override;
102 
105  vtkInformationVector*) override;
106 
109 
111 
112  void ReportReferences(vtkGarbageCollector*) override;
113  int FillInputPortInformation(int, vtkInformation*) override;
114 private:
116  void operator=(const vtkSpatialRepresentationFilter&) = delete;
117 
118  vtkSpatialRepresentationFilterInternal* Internal;
119 };
120 
121 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
void ReportReferences(vtkGarbageCollector *) override
abstract base class for objects that accelerate spatial searches
Definition: vtkLocator.h:69
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:33
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.