43 #ifndef __vtkUnstructuredGridGeometryFilter_h
44 #define __vtkUnstructuredGridGeometryFilter_h
46 #include "vtkFiltersGeometryModule.h"
47 #include "vtkUnstructuredGridAlgorithm.h"
49 class vtkIncrementalPointLocator;
50 class vtkHashTableOfSurfels;
57 void PrintSelf(ostream& os, vtkIndent indent);
61 vtkSetMacro(PointClipping,
int);
62 vtkGetMacro(PointClipping,
int);
63 vtkBooleanMacro(PointClipping,
int);
68 vtkSetMacro(CellClipping,
int);
69 vtkGetMacro(CellClipping,
int);
70 vtkBooleanMacro(CellClipping,
int);
75 vtkSetMacro(ExtentClipping,
int);
76 vtkGetMacro(ExtentClipping,
int);
77 vtkBooleanMacro(ExtentClipping,
int);
82 vtkSetClampMacro(PointMinimum,vtkIdType,0,VTK_ID_MAX);
83 vtkGetMacro(PointMinimum,vtkIdType);
88 vtkSetClampMacro(PointMaximum,vtkIdType,0,VTK_ID_MAX);
89 vtkGetMacro(PointMaximum,vtkIdType);
94 vtkSetClampMacro(CellMinimum,vtkIdType,0,VTK_ID_MAX);
95 vtkGetMacro(CellMinimum,vtkIdType);
100 vtkSetClampMacro(CellMaximum,vtkIdType,0,VTK_ID_MAX);
101 vtkGetMacro(CellMaximum,vtkIdType);
107 void SetExtent(
double xMin,
double xMax,
double yMin,
double yMax,
108 double zMin,
double zMax);
114 void SetExtent(
double extent[6]);
122 vtkSetMacro(Merging,
int);
123 vtkGetMacro(Merging,
int);
124 vtkBooleanMacro(Merging,
int);
134 vtkSetMacro(PassThroughCellIds,
int);
135 vtkGetMacro(PassThroughCellIds,
int);
136 vtkBooleanMacro(PassThroughCellIds,
int);
137 vtkSetMacro(PassThroughPointIds,
int);
138 vtkGetMacro(PassThroughPointIds,
int);
139 vtkBooleanMacro(PassThroughPointIds,
int);
147 vtkSetStringMacro(OriginalCellIdsName);
149 return ( this->OriginalCellIdsName
150 ? this->OriginalCellIdsName :
"vtkOriginalCellIds");
152 vtkSetStringMacro(OriginalPointIdsName);
154 return ( this->OriginalPointIdsName
155 ? this->OriginalPointIdsName :
"vtkOriginalPointIds");
162 void SetLocator(vtkIncrementalPointLocator *locator);
163 vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
167 void CreateDefaultLocator();
170 unsigned long GetMTime();
176 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
177 virtual int FillInputPortInformation(
int port, vtkInformation *info);
179 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
virtual const char * GetOriginalPointIdsName()
char * OriginalPointIdsName
virtual const char * GetOriginalCellIdsName()
char * OriginalCellIdsName
vtkHashTableOfSurfels * HashTable
extract geometry from an unstructured grid
vtkIncrementalPointLocator * Locator