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