VTK  9.3.20240424
vtkExplicitStructuredGridSurfaceFilter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
11#ifndef vtkExplicitStructuredGridSurfaceFilter_h
12#define vtkExplicitStructuredGridSurfaceFilter_h
13
14#include "vtkFiltersGeometryModule.h" // For export macro
16
17VTK_ABI_NAMESPACE_BEGIN
19class vtkIdTypeArray;
21
22class VTKFILTERSGEOMETRY_EXPORT vtkExplicitStructuredGridSurfaceFilter : public vtkPolyDataAlgorithm
23{
24public:
27 void PrintSelf(ostream& os, vtkIndent indent) override;
28
30
36 vtkSetMacro(PassThroughCellIds, int);
37 vtkGetMacro(PassThroughCellIds, int);
38 vtkBooleanMacro(PassThroughCellIds, int);
39 vtkSetMacro(PassThroughPointIds, int);
40 vtkGetMacro(PassThroughPointIds, int);
41 vtkBooleanMacro(PassThroughPointIds, int);
43
45
51 vtkSetStringMacro(OriginalCellIdsName);
52 virtual const char* GetOriginalCellIdsName()
53 {
54 return (this->OriginalCellIdsName ? this->OriginalCellIdsName : "vtkOriginalCellIds");
55 }
56 vtkSetStringMacro(OriginalPointIdsName);
57 virtual const char* GetOriginalPointIdsName()
58 {
59 return (this->OriginalPointIdsName ? this->OriginalPointIdsName : "vtkOriginalPointIds");
60 }
62
63protected:
66
71
73
74 // Helper methods.
75
77
80
83
84 int WholeExtent[6];
85
86private:
88 void operator=(const vtkExplicitStructuredGridSurfaceFilter&) = delete;
89};
90
91VTK_ABI_NAMESPACE_END
92#endif
Filter which creates a surface (polydata) from an explicit structured grid.
int ExtractSurface(vtkExplicitStructuredGrid *, vtkPolyData *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual const char * GetOriginalCellIdsName()
If PassThroughCellIds or PassThroughPointIds is on, then these ivars control the name given to the fi...
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...
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkExplicitStructuredGridSurfaceFilter * New()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
structured grid with explicit topology and geometry
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Multiprocessing communication superclass.
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips