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 =========================================================================*/
49 #ifndef vtkSpatialRepresentationFilter_h
50 #define vtkSpatialRepresentationFilter_h
51 
52 #include "vtkFiltersGeneralModule.h" // For export macro
54 
55 class vtkLocator;
56 class vtkDataSet;
57 class vtkSpatialRepresentationFilterInternal;
58 
60 {
61 public:
64  void PrintSelf(ostream& os, vtkIndent indent);
65 
67 
68  virtual void SetSpatialRepresentation(vtkLocator*);
69  vtkGetObjectMacro(SpatialRepresentation,vtkLocator);
71 
73 
75  vtkGetMacro(MaximumLevel,int);
77 
79  void AddLevel(int level);
80 
82  void ResetLevels();
83 
85 
86  vtkSetMacro(GenerateLeaves, bool);
87  vtkGetMacro(GenerateLeaves, bool);
88  vtkBooleanMacro(GenerateLeaves, bool);
90 
91 protected:
94 
95  virtual int RequestData(vtkInformation*,
98 
101 
103 
104  virtual void ReportReferences(vtkGarbageCollector*);
105  virtual int FillInputPortInformation(int, vtkInformation*);
106 private:
108  void operator=(const vtkSpatialRepresentationFilter&); // Not implemented.
109 
110  vtkSpatialRepresentationFilterInternal* Internal;
111 };
112 
113 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
abstract base class for objects that accelerate spatial searches
Definition: vtkLocator.h:61
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Detect and break reference loops.
static vtkMultiBlockDataSetAlgorithm * New()
virtual void ReportReferences(vtkGarbageCollector *)
a simple class to control print indentation
Definition: vtkIndent.h:38
generate polygonal model of spatial search object (i.e., a vtkLocator)
#define VTKFILTERSGENERAL_EXPORT
virtual int FillInputPortInformation(int port, vtkInformation *info)
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.