VTK  9.3.0
vtkRectilinearGridGeometryFilter.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
32#ifndef vtkRectilinearGridGeometryFilter_h
33#define vtkRectilinearGridGeometryFilter_h
34
35#include "vtkFiltersGeometryModule.h" // For export macro
37
38VTK_ABI_NAMESPACE_BEGIN
39class VTKFILTERSGEOMETRY_EXPORT vtkRectilinearGridGeometryFilter : public vtkPolyDataAlgorithm
40{
41public:
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
49
51
55 vtkGetVectorMacro(Extent, int, 6);
57
61 void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
62
66 void SetExtent(int extent[6]);
67
68protected:
71
73 int FillInputPortInformation(int port, vtkInformation* info) override;
74
75 int Extent[6];
76
77private:
79 void operator=(const vtkRectilinearGridGeometryFilter&) = 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 a rectilinear grid
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkRectilinearGridGeometryFilter * New()
Construct with initial extent (0,100, 0,100, 0,0) (i.e., a k-plane).
void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax)
Specify (imin,imax, jmin,jmax, kmin,kmax) indices.
~vtkRectilinearGridGeometryFilter() override=default
void SetExtent(int extent[6])
Specify (imin,imax, jmin,jmax, kmin,kmax) indices in array form.