87#ifndef vtkGeometryFilter_h
88#define vtkGeometryFilter_h
90#include "vtkFiltersGeometryModule.h"
125 vtkSetMacro(PointClipping,
bool);
126 vtkGetMacro(PointClipping,
bool);
127 vtkBooleanMacro(PointClipping,
bool);
134 vtkSetMacro(CellClipping,
bool);
135 vtkGetMacro(CellClipping,
bool);
136 vtkBooleanMacro(CellClipping,
bool);
143 vtkSetMacro(ExtentClipping,
bool);
144 vtkGetMacro(ExtentClipping,
bool);
145 vtkBooleanMacro(ExtentClipping,
bool);
183 void SetExtent(
double xMin,
double xMax,
double yMin,
double yMax,
double zMin,
double zMax);
202 vtkSetMacro(Merging,
bool);
203 vtkGetMacro(Merging,
bool);
204 vtkBooleanMacro(Merging,
bool);
227 vtkSetMacro(FastMode,
bool);
228 vtkGetMacro(FastMode,
bool);
229 vtkBooleanMacro(FastMode,
bool);
241 virtual
void SetDegree(
unsigned int vtkNotUsed(arg)) {}
243 virtual
unsigned int GetDegreeMinValue() {
return 1; }
245 virtual
unsigned int GetDegreeMaxValue() {
return static_cast<int>(~0u >> 1); }
247 virtual
unsigned int GetDegree() {
return 4; }
267 void CreateDefaultLocator();
277 vtkSetMacro(PieceInvariant,
int);
278 vtkGetMacro(PieceInvariant,
int);
305 vtkSetStringMacro(OriginalCellIdsName);
306 virtual const
char* GetOriginalCellIdsName()
308 return (this->OriginalCellIdsName ? this->OriginalCellIdsName :
"vtkOriginalCellIds");
310 vtkSetStringMacro(OriginalPointIdsName);
313 return (this->OriginalPointIdsName ? this->OriginalPointIdsName :
"vtkOriginalPointIds");
346 vtkSetMacro(NonlinearSubdivisionLevel,
int);
347 vtkGetMacro(NonlinearSubdivisionLevel,
int);
370 vtkSetMacro(RemoveGhostInterfaces,
bool);
371 vtkBooleanMacro(RemoveGhostInterfaces,
bool);
372 vtkGetMacro(RemoveGhostInterfaces,
bool);
Proxy object to connect input/output ports.
Extracts outer surface (as vtkPolyData) of any dataset.
abstract class to specify dataset behavior
extract boundary geometry from dataset (or convert data to polygonal type)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
virtual const char * GetOriginalPointIdsName()
If PassThroughCellIds or PassThroughPointIds is on, then these ivars control the name given to the fi...
vtkTypeBool PassThroughCellIds
virtual int PolyDataExecute(vtkDataSet *, vtkPolyData *)
Direct access methods so that this class can be used as an algorithm without using it as a filter (i....
int NonlinearSubdivisionLevel
vtkIncrementalPointLocator * Locator
vtkPolyData * GetExcludedFaces()
If a second, vtkPolyData input is provided, this second input specifies a list of faces to be exclude...
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int StructuredExecute(vtkDataSet *input, vtkPolyData *output, vtkInformation *inInfo, vtkPolyData *exc, bool *extractFace=nullptr)
Direct access methods so that this class can be used as an algorithm without using it as a filter (i....
vtkTypeBool PassThroughPointIds
bool RemoveGhostInterfaces
int GetOutputPointsPrecision() const
Set/get the desired precision for the output types.
void SetOutputPointsPrecision(int precision)
Set/get the desired precision for the output types.
static vtkGeometryFilter * New()
Standard methods for instantiation, type information, and printing.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
char * OriginalCellIdsName
int OutputPointsPrecision
virtual int StructuredExecute(vtkDataSet *input, vtkPolyData *output, vtkInformation *inInfo, bool *extractFace=nullptr)
Direct access methods so that this class can be used as an algorithm without using it as a filter (i....
int UnstructuredGridExecute(vtkDataSet *input, vtkPolyData *output, vtkGeometryFilterHelper *info, vtkPolyData *exc)
Direct access methods so that this class can be used as an algorithm without using it as a filter (i....
virtual int UnstructuredGridExecute(vtkDataSet *input, vtkPolyData *output)
Direct access methods so that this class can be used as an algorithm without using it as a filter (i....
char * OriginalPointIdsName
~vtkGeometryFilter() override
void SetExcludedFacesConnection(vtkAlgorithmOutput *algOutput)
If a second, vtkPolyData input is provided, this second input specifies a list of faces to be exclude...
int PolyDataExecute(vtkDataSet *input, vtkPolyData *output, vtkPolyData *exc)
Direct access methods so that this class can be used as an algorithm without using it as a filter (i....
int DataSetExecute(vtkDataSet *input, vtkPolyData *output, vtkPolyData *exc)
Direct access methods so that this class can be used as an algorithm without using it as a filter (i....
void SetExtent(double extent[6])
Set / get a (xmin,xmax, ymin,ymax, zmin,zmax) bounding box to clip data.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void SetExcludedFacesData(vtkPolyData *)
If a second, vtkPolyData input is provided, this second input specifies a list of faces to be exclude...
void SetExtent(double xMin, double xMax, double yMin, double yMax, double zMin, double zMax)
Specify a (xmin,xmax, ymin,ymax, zmin,zmax) bounding box to clip data.
double * GetExtent()
Set / get a (xmin,xmax, ymin,ymax, zmin,zmax) bounding box to clip data.
virtual int DataSetExecute(vtkDataSet *input, vtkPolyData *output)
Direct access methods so that this class can be used as an algorithm without using it as a filter (i....
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
topologically regular array of data
dataset represents arbitrary combinations of all possible cell types.
static vtkGeometryFilterHelper * CharacterizeUnstructuredGrid(vtkUnstructuredGridBase *)
static void CopyFilterParams(vtkDataSetSurfaceFilter *dssf, vtkGeometryFilter *gf)
static void CopyFilterParams(vtkGeometryFilter *gf, vtkDataSetSurfaceFilter *dssf)
#define VTK_DEPRECATED_IN_9_2_0(reason)
#define VTK_SIZEHINT(...)