VTK  9.1.0
vtkExplicitStructuredGridSurfaceFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkExplicitStructuredGridSurfaceFilter.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
20#ifndef vtkExplicitStructuredGridSurfaceFilter_h
21#define vtkExplicitStructuredGridSurfaceFilter_h
22
23#include "vtkFiltersGeometryModule.h" // For export macro
25
27class vtkIdTypeArray;
29
30class VTKFILTERSGEOMETRY_EXPORT vtkExplicitStructuredGridSurfaceFilter : public vtkPolyDataAlgorithm
31{
32public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
38
46 vtkSetMacro(PassThroughCellIds, int);
47 vtkGetMacro(PassThroughCellIds, int);
48 vtkBooleanMacro(PassThroughCellIds, int);
49 vtkSetMacro(PassThroughPointIds, int);
50 vtkGetMacro(PassThroughPointIds, int);
51 vtkBooleanMacro(PassThroughPointIds, int);
53
55
61 vtkSetStringMacro(OriginalCellIdsName);
62 virtual const char* GetOriginalCellIdsName()
63 {
64 return (this->OriginalCellIdsName ? this->OriginalCellIdsName : "vtkOriginalCellIds");
65 }
66 vtkSetStringMacro(OriginalPointIdsName);
67 virtual const char* GetOriginalPointIdsName()
68 {
69 return (this->OriginalPointIdsName ? this->OriginalPointIdsName : "vtkOriginalPointIds");
70 }
72
73protected:
76
81
83
84 // Helper methods.
85
87
90
93
94 int WholeExtent[6];
95
96private:
98 void operator=(const vtkExplicitStructuredGridSurfaceFilter&) = delete;
99};
100
101#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:113
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
Definition: vtkPolyData.h:195