VTK  9.3.0
vtkStructuredGridGeometryFilter.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
35#ifndef vtkStructuredGridGeometryFilter_h
36#define vtkStructuredGridGeometryFilter_h
37
38#include "vtkFiltersGeometryModule.h" // For export macro
40
41VTK_ABI_NAMESPACE_BEGIN
42class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridGeometryFilter : public vtkPolyDataAlgorithm
43{
44public:
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
50
54 vtkGetVectorMacro(Extent, int, 6);
56
60 void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
61
65 void SetExtent(int extent[6]);
66
67protected:
70
73 int FillInputPortInformation(int port, vtkInformation* info) override;
74
75 int Extent[6];
76
77private:
79 void operator=(const vtkStructuredGridGeometryFilter&) = delete;
80};
81
82VTK_ABI_NAMESPACE_END
83#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
extract geometry for structured grid
~vtkStructuredGridGeometryFilter() override=default
void SetExtent(int extent[6])
Specify (imin,imax, jmin,jmax, kmin,kmax) indices in array form.
void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax)
Specify (imin,imax, jmin,jmax, kmin,kmax) indices.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkStructuredGridGeometryFilter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.