VTK  9.0.1
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 =========================================================================*/
44 #ifndef vtkStructuredGridGeometryFilter_h
45 #define vtkStructuredGridGeometryFilter_h
46 
47 #include "vtkFiltersGeometryModule.h" // For export macro
48 #include "vtkPolyDataAlgorithm.h"
49 
50 class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridGeometryFilter : public vtkPolyDataAlgorithm
51 {
52 public:
55  void PrintSelf(ostream& os, vtkIndent indent) override;
56 
58 
62  vtkGetVectorMacro(Extent, int, 6);
64 
68  void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
69 
73  void SetExtent(int extent[6]);
74 
75 protected:
78 
82 
83  int Extent[6];
84 
85 private:
87  void operator=(const vtkStructuredGridGeometryFilter&) = delete;
88 };
89 
90 #endif
a simple class to control print indentation
Definition: vtkIndent.h:34
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
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.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
@ extent
Definition: vtkX3D.h:351