93#ifndef vtkGeometryFilter_h
94#define vtkGeometryFilter_h
96#include "vtkFiltersGeometryModule.h"
131 vtkSetMacro(PointClipping,
bool);
132 vtkGetMacro(PointClipping,
bool);
133 vtkBooleanMacro(PointClipping,
bool);
140 vtkSetMacro(CellClipping,
bool);
141 vtkGetMacro(CellClipping,
bool);
142 vtkBooleanMacro(CellClipping,
bool);
149 vtkSetMacro(ExtentClipping,
bool);
150 vtkGetMacro(ExtentClipping,
bool);
151 vtkBooleanMacro(ExtentClipping,
bool);
189 void SetExtent(
double xMin,
double xMax,
double yMin,
double yMax,
double zMin,
double zMax);
208 vtkSetMacro(Merging,
bool);
209 vtkGetMacro(Merging,
bool);
210 vtkBooleanMacro(Merging,
bool);
233 vtkSetMacro(FastMode,
bool);
234 vtkGetMacro(FastMode,
bool);
235 vtkBooleanMacro(FastMode,
bool);
247 virtual
void SetDegree(
unsigned int vtkNotUsed(arg)) {}
249 virtual
unsigned int GetDegreeMinValue() {
return 1; }
251 virtual
unsigned int GetDegreeMaxValue() {
return static_cast<int>(~0u >> 1); }
253 virtual
unsigned int GetDegree() {
return 4; }
273 void CreateDefaultLocator();
283 vtkSetMacro(PieceInvariant,
int);
284 vtkGetMacro(PieceInvariant,
int);
311 vtkSetStringMacro(OriginalCellIdsName);
312 virtual const
char* GetOriginalCellIdsName()
314 return (this->OriginalCellIdsName ? this->OriginalCellIdsName :
"vtkOriginalCellIds");
316 vtkSetStringMacro(OriginalPointIdsName);
319 return (this->OriginalPointIdsName ? this->OriginalPointIdsName :
"vtkOriginalPointIds");
352 vtkSetMacro(NonlinearSubdivisionLevel,
int);
353 vtkGetMacro(NonlinearSubdivisionLevel,
int);
376 vtkSetMacro(RemoveGhostInterfaces,
bool);
377 vtkBooleanMacro(RemoveGhostInterfaces,
bool);
378 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(...)