VTK
vtkUnstructuredGridGeometryFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkUnstructuredGridGeometryFilter.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 =========================================================================*/
43 #ifndef vtkUnstructuredGridGeometryFilter_h
44 #define vtkUnstructuredGridGeometryFilter_h
45 
46 #include "vtkFiltersGeometryModule.h" // For export macro
48 
50 class vtkHashTableOfSurfels; // internal class
51 
54 {
55 public:
59  void PrintSelf(ostream& os, vtkIndent indent);
60 
62 
63  vtkSetMacro(PointClipping,int);
64  vtkGetMacro(PointClipping,int);
65  vtkBooleanMacro(PointClipping,int);
67 
69 
70  vtkSetMacro(CellClipping,int);
71  vtkGetMacro(CellClipping,int);
72  vtkBooleanMacro(CellClipping,int);
74 
76 
77  vtkSetMacro(ExtentClipping,int);
78  vtkGetMacro(ExtentClipping,int);
79  vtkBooleanMacro(ExtentClipping,int);
81 
83 
84  vtkSetClampMacro(PointMinimum,vtkIdType,0,VTK_ID_MAX);
85  vtkGetMacro(PointMinimum,vtkIdType);
87 
89 
90  vtkSetClampMacro(PointMaximum,vtkIdType,0,VTK_ID_MAX);
91  vtkGetMacro(PointMaximum,vtkIdType);
93 
95 
96  vtkSetClampMacro(CellMinimum,vtkIdType,0,VTK_ID_MAX);
97  vtkGetMacro(CellMinimum,vtkIdType);
99 
101 
102  vtkSetClampMacro(CellMaximum,vtkIdType,0,VTK_ID_MAX);
103  vtkGetMacro(CellMaximum,vtkIdType);
105 
107 
109  void SetExtent(double xMin, double xMax, double yMin, double yMax,
110  double zMin, double zMax);
112 
114 
116  void SetExtent(double extent[6]);
117  double *GetExtent() { return this->Extent;};
119 
121 
124  vtkSetMacro(Merging,int);
125  vtkGetMacro(Merging,int);
126  vtkBooleanMacro(Merging,int);
128 
130 
136  vtkSetMacro(PassThroughCellIds,int);
137  vtkGetMacro(PassThroughCellIds,int);
138  vtkBooleanMacro(PassThroughCellIds,int);
139  vtkSetMacro(PassThroughPointIds,int);
140  vtkGetMacro(PassThroughPointIds,int);
141  vtkBooleanMacro(PassThroughPointIds,int);
143 
145 
149  vtkSetStringMacro(OriginalCellIdsName);
150  virtual const char *GetOriginalCellIdsName() {
151  return ( this->OriginalCellIdsName
152  ? this->OriginalCellIdsName : "vtkOriginalCellIds");
153  }
154  vtkSetStringMacro(OriginalPointIdsName);
155  virtual const char *GetOriginalPointIdsName() {
156  return ( this->OriginalPointIdsName
157  ? this->OriginalPointIdsName : "vtkOriginalPointIds");
158  }
160 
162 
164  void SetLocator(vtkIncrementalPointLocator *locator);
165  vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
167 
169  void CreateDefaultLocator();
170 
172  unsigned long GetMTime();
173 
174 protected:
177 
180 
182 
187  double Extent[6];
191 
196 
197  int Merging;
199 
200  vtkHashTableOfSurfels *HashTable;
201 
202 private:
204  void operator=(const vtkUnstructuredGridGeometryFilter&); // Not implemented.
205 };
206 
207 #endif
Superclass for algorithms that produce only vtkUnstructureGridBase subclasses as output.
Store vtkAlgorithm input/output information.
Abstract class in support of both point location and point insertion.
int vtkIdType
Definition: vtkType.h:275
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkUnstructuredGridBaseAlgorithm * New()
extract geometry from an unstructured grid
#define VTK_ID_MAX
Definition: vtkType.h:278
Store zero or more vtkInformation instances.
#define VTKFILTERSGEOMETRY_EXPORT
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation(int port, vtkInformation *info)