VTK  9.4.20250102
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
144#ifndef vtkStructuredGridGeometryFilter_h
145#define vtkStructuredGridGeometryFilter_h
146
147#include "vtkFiltersGeometryModule.h" // For export macro
148#include "vtkPolyDataAlgorithm.h"
149
150VTK_ABI_NAMESPACE_BEGIN
151class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridGeometryFilter : public vtkPolyDataAlgorithm
152{
153public:
156 void PrintSelf(ostream& os, vtkIndent indent) override;
157
159
163 vtkGetVectorMacro(Extent, int, 6);
165
169 void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
170
174 void SetExtent(int extent[6]);
175
176protected:
179
182 int FillInputPortInformation(int port, vtkInformation* info) override;
183
184 int Extent[6];
185
186private:
188 void operator=(const vtkStructuredGridGeometryFilter&) = delete;
189};
190
191VTK_ABI_NAMESPACE_END
192#endif
a simple class to control print indentation
Definition vtkIndent.h:108
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.