VTK  9.1.0
vtkRectilinearGridGeometryFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRectilinearGridGeometryFilter.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 =========================================================================*/
38 #ifndef vtkRectilinearGridGeometryFilter_h
39 #define vtkRectilinearGridGeometryFilter_h
40 
41 #include "vtkFiltersGeometryModule.h" // For export macro
42 #include "vtkPolyDataAlgorithm.h"
43 
44 class VTKFILTERSGEOMETRY_EXPORT vtkRectilinearGridGeometryFilter : public vtkPolyDataAlgorithm
45 {
46 public:
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
54 
56 
60  vtkGetVectorMacro(Extent, int, 6);
62 
66  void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
67 
71  void SetExtent(int extent[6]);
72 
73 protected:
75  ~vtkRectilinearGridGeometryFilter() override = default;
76 
79 
80  int Extent[6];
81 
82 private:
84  void operator=(const vtkRectilinearGridGeometryFilter&) = delete;
85 };
86 
87 #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 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.
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
static vtkRectilinearGridGeometryFilter * New()
Construct with initial extent (0,100, 0,100, 0,0) (i.e., a k-plane).
void SetExtent(int extent[6])
Specify (imin,imax, jmin,jmax, kmin,kmax) indices in array form.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
@ extent
Definition: vtkX3D.h:351