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) VTK_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() VTK_OVERRIDE;
102 
103  int RequestData(vtkInformation*,
105  vtkInformationVector*) VTK_OVERRIDE;
106 
107  int MaximumLevel;
108  bool GenerateLeaves;
109 
110  vtkLocator *SpatialRepresentation;
111 
112  void ReportReferences(vtkGarbageCollector*) VTK_OVERRIDE;
113  int FillInputPortInformation(int, vtkInformation*) VTK_OVERRIDE;
114 private:
116  void operator=(const vtkSpatialRepresentationFilter&) VTK_DELETE_FUNCTION;
117 
118  vtkSpatialRepresentationFilterInternal* Internal;
119 };
120 
121 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
abstract base class for objects that accelerate spatial searches
Definition: vtkLocator.h:69
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.