VTK  9.2.6
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=========================================================================*/
23#ifndef vtkExplicitStructuredGridSurfaceFilter_h
24#define vtkExplicitStructuredGridSurfaceFilter_h
25
26#include "vtkFiltersGeometryModule.h" // For export macro
28
30class vtkIdTypeArray;
32
33class VTKFILTERSGEOMETRY_EXPORT vtkExplicitStructuredGridSurfaceFilter : public vtkPolyDataAlgorithm
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
41
49 vtkSetMacro(PassThroughCellIds, int);
50 vtkGetMacro(PassThroughCellIds, int);
51 vtkBooleanMacro(PassThroughCellIds, int);
52 vtkSetMacro(PassThroughPointIds, int);
53 vtkGetMacro(PassThroughPointIds, int);
54 vtkBooleanMacro(PassThroughPointIds, int);
56
58
64 vtkSetStringMacro(OriginalCellIdsName);
65 virtual const char* GetOriginalCellIdsName()
66 {
67 return (this->OriginalCellIdsName ? this->OriginalCellIdsName : "vtkOriginalCellIds");
68 }
69 vtkSetStringMacro(OriginalPointIdsName);
70 virtual const char* GetOriginalPointIdsName()
71 {
72 return (this->OriginalPointIdsName ? this->OriginalPointIdsName : "vtkOriginalPointIds");
73 }
75
76protected:
79
84
86
87 // Helper methods.
88
90
93
96
97 int WholeExtent[6];
98
99private:
101 void operator=(const vtkExplicitStructuredGridSurfaceFilter&) = delete;
102};
103
104#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:40
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:91