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
27 #include "vtkPolyDataAlgorithm.h"
28 
30 class vtkIdTypeArray;
32 
33 class VTKFILTERSGEOMETRY_EXPORT vtkExplicitStructuredGridSurfaceFilter : public vtkPolyDataAlgorithm
34 {
35 public:
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 
76 protected:
79 
83  int FillInputPortInformation(int, vtkInformation*) override;
84 
85  int ExtractSurface(vtkExplicitStructuredGrid*, vtkPolyData*);
86 
87  // Helper methods.
88 
90 
93 
96 
97  int WholeExtent[6];
98 
99 private:
101  void operator=(const vtkExplicitStructuredGridSurfaceFilter&) = delete;
102 };
103 
104 #endif
virtual const char * GetOriginalCellIdsName()
If PassThroughCellIds or PassThroughPointIds is on, then these ivars control the name given to the fi...
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
dynamic, self-adjusting array of vtkIdType
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:90
static vtkPolyDataAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce only polydata as output.
virtual const char * GetOriginalPointIdsName()
If PassThroughCellIds or PassThroughPointIds is on, then these ivars control the name given to the fi...
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
structured grid with explicit topology and geometry
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
Filter which creates a surface (polydata) from an explicit structured grid.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Multiprocessing communication superclass.