VTK  9.2.6
vtkStructuredGridGeometryFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkStructuredGridGeometryFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
47 #ifndef vtkStructuredGridGeometryFilter_h
48 #define vtkStructuredGridGeometryFilter_h
49 
50 #include "vtkFiltersGeometryModule.h" // For export macro
51 #include "vtkPolyDataAlgorithm.h"
52 
53 class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridGeometryFilter : public vtkPolyDataAlgorithm
54 {
55 public:
58  void PrintSelf(ostream& os, vtkIndent indent) override;
59 
61 
65  vtkGetVectorMacro(Extent, int, 6);
67 
71  void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
72 
76  void SetExtent(int extent[6]);
77 
78 protected:
80  ~vtkStructuredGridGeometryFilter() override = default;
81 
85 
86  int Extent[6];
87 
88 private:
90  void operator=(const vtkStructuredGridGeometryFilter&) = delete;
91 };
92 
93 #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:39
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.