102#ifndef vtkGeometryFilter_h
103#define vtkGeometryFilter_h
105#include "vtkFiltersGeometryModule.h"
140 vtkSetMacro(PointClipping,
bool);
141 vtkGetMacro(PointClipping,
bool);
142 vtkBooleanMacro(PointClipping,
bool);
149 vtkSetMacro(CellClipping,
bool);
150 vtkGetMacro(CellClipping,
bool);
151 vtkBooleanMacro(CellClipping,
bool);
158 vtkSetMacro(ExtentClipping,
bool);
159 vtkGetMacro(ExtentClipping,
bool);
160 vtkBooleanMacro(ExtentClipping,
bool);
198 void SetExtent(
double xMin,
double xMax,
double yMin,
double yMax,
double zMin,
double zMax);
217 vtkSetMacro(Merging,
bool);
218 vtkGetMacro(Merging,
bool);
219 vtkBooleanMacro(Merging,
bool);
242 vtkSetMacro(FastMode,
bool);
243 vtkGetMacro(FastMode,
bool);
244 vtkBooleanMacro(FastMode,
bool);
256 virtual
void SetDegree(
unsigned int vtkNotUsed(arg)) {}
258 virtual
unsigned int GetDegreeMinValue() {
return 1; }
260 virtual
unsigned int GetDegreeMaxValue() {
return static_cast<int>(~0u >> 1); }
262 virtual
unsigned int GetDegree() {
return 4; }
282 void CreateDefaultLocator();
292 vtkSetMacro(PieceInvariant,
int);
293 vtkGetMacro(PieceInvariant,
int);
320 vtkSetStringMacro(OriginalCellIdsName);
321 virtual const
char* GetOriginalCellIdsName()
323 return (this->OriginalCellIdsName ? this->OriginalCellIdsName :
"vtkOriginalCellIds");
325 vtkSetStringMacro(OriginalPointIdsName);
328 return (this->OriginalPointIdsName ? this->OriginalPointIdsName :
"vtkOriginalPointIds");
361 vtkSetMacro(NonlinearSubdivisionLevel,
int);
362 vtkGetMacro(NonlinearSubdivisionLevel,
int);
385 vtkSetMacro(RemoveGhostInterfaces,
bool);
386 vtkBooleanMacro(RemoveGhostInterfaces,
bool);
387 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(...)