41 #ifndef vtkUnstructuredGridGeometryFilter_h
42 #define vtkUnstructuredGridGeometryFilter_h
44 #include "vtkFiltersGeometryModule.h"
48 class vtkHashTableOfSurfels;
57 void PrintSelf(ostream& os,
vtkIndent indent) VTK_OVERRIDE;
64 vtkGetMacro(PointClipping,
int);
73 vtkGetMacro(CellClipping,
int);
82 vtkGetMacro(ExtentClipping,
int);
92 vtkGetMacro(DuplicateGhostCellClipping,
int);
101 vtkGetMacro(PointMinimum,vtkIdType);
108 vtkSetClampMacro(PointMaximum,vtkIdType,0,VTK_ID_MAX);
109 vtkGetMacro(PointMaximum,vtkIdType);
116 vtkSetClampMacro(CellMinimum,vtkIdType,0,VTK_ID_MAX);
117 vtkGetMacro(CellMinimum,vtkIdType);
124 vtkSetClampMacro(CellMaximum,vtkIdType,0,VTK_ID_MAX);
125 vtkGetMacro(CellMaximum,vtkIdType);
131 void SetExtent(
double xMin,
double xMax,
double yMin,
double yMax,
132 double zMin,
double zMax);
138 void SetExtent(
double extent[6]);
139 double *GetExtent() {
return this->Extent;};
149 vtkGetMacro(Merging,
int);
163 vtkGetMacro(PassThroughCellIds,
int);
166 vtkGetMacro(PassThroughPointIds,
int);
177 vtkSetStringMacro(OriginalCellIdsName);
179 return ( this->OriginalCellIdsName
180 ? this->OriginalCellIdsName :
"vtkOriginalCellIds");
182 vtkSetStringMacro(OriginalPointIdsName);
184 return ( this->OriginalPointIdsName
185 ? this->OriginalPointIdsName :
"vtkOriginalPointIds");
201 void CreateDefaultLocator();
210 ~vtkUnstructuredGridGeometryFilter() VTK_OVERRIDE;
213 int FillInputPortInformation(
int port, vtkInformation *
info) VTK_OVERRIDE;
215 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
225 int DuplicateGhostCellClipping;
227 int PassThroughCellIds;
228 int PassThroughPointIds;
229 char *OriginalCellIdsName;
230 char *OriginalPointIdsName;
235 vtkHashTableOfSurfels *HashTable;
238 vtkUnstructuredGridGeometryFilter(const vtkUnstructuredGridGeometryFilter&) VTK_DELETE_FUNCTION;
239 void operator=(const vtkUnstructuredGridGeometryFilter&) VTK_DELETE_FUNCTION;
virtual const char * GetOriginalPointIdsName()
If PassThroughCellIds or PassThroughPointIds is on, then these ivars control the name given to the fi...
Superclass for algorithms that produce only vtkUnstructureGridBase subclasses as output.
virtual const char * GetOriginalCellIdsName()
If PassThroughCellIds or PassThroughPointIds is on, then these ivars control the name given to the fi...
vtkTypeUInt32 vtkMTimeType
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
virtual vtkMTimeType GetMTime()
Return this object's modified time.
static vtkUnstructuredGridBaseAlgorithm * New()
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
extract geometry from an unstructured grid
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.