VTK  9.3.1
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
39 #include "vtkPolyDataAlgorithm.h"
40 
41 VTK_ABI_NAMESPACE_BEGIN
42 class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridGeometryFilter : public vtkPolyDataAlgorithm
43 {
44 public:
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 
67 protected:
69  ~vtkStructuredGridGeometryFilter() override = default;
70 
74 
75  int Extent[6];
76 
77 private:
79  void operator=(const vtkStructuredGridGeometryFilter&) = delete;
80 };
81 
82 VTK_ABI_NAMESPACE_END
83 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
extract geometry for structured grid
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.