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
44#ifndef vtkStructuredGridGeometryFilter_h
45#define vtkStructuredGridGeometryFilter_h
46
47#include "vtkFiltersGeometryModule.h" // For export macro
49
50VTK_ABI_NAMESPACE_BEGIN
51class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridGeometryFilter : public vtkPolyDataAlgorithm
52{
53public:
56 void PrintSelf(ostream& os, vtkIndent indent) override;
57
59
63 vtkGetVectorMacro(Extent, int, 6);
65
69 void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
70
74 void SetExtent(int extent[6]);
75
76protected:
79
82 int FillInputPortInformation(int port, vtkInformation* info) override;
83
84 int Extent[6];
85
86private:
88 void operator=(const vtkStructuredGridGeometryFilter&) = delete;
89};
90
91VTK_ABI_NAMESPACE_END
92#endif
a simple class to control print indentation
Definition vtkIndent.h:38
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.