VTK: Filters/Geometry/vtkStructuredGridGeometryFilter.h Source File

| 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
44 #ifndef vtkStructuredGridGeometryFilter_h
45 #define vtkStructuredGridGeometryFilter_h
46
47 #include "vtkFiltersGeometryModule.h" // For export macro
48 #include "vtkPolyDataAlgorithm.h"
49
50 VTK_ABI_NAMESPACE_BEGIN
51 class VTKFILTERSGEOMETRY_EXPORT vtkStructuredGridGeometryFilter : public vtkPolyDataAlgorithm
52 {
53 public:
54 static vtkStructuredGridGeometryFilter* New();
55 vtkTypeMacro(vtkStructuredGridGeometryFilter, vtkPolyDataAlgorithm);
56 void PrintSelf(ostream& os, vtkIndent indent) override;
57
59
63 vtkGetVectorMacro(Extent, int, 6);
65
69 void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax);
70
74 void SetExtent(int extent[6]);
75
76 protected:
77 vtkStructuredGridGeometryFilter();
78 ~vtkStructuredGridGeometryFilter() override = default;
79
80 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
81 int RequestUpdateExtent(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
82 int FillInputPortInformation(int port, vtkInformation* info) override;
83
84 int Extent[6];
85
86 private:
87 vtkStructuredGridGeometryFilter(const vtkStructuredGridGeometryFilter&) = delete;
88 void operator=(const vtkStructuredGridGeometryFilter&) = delete;
89 };
90
91 VTK_ABI_NAMESPACE_END
92 #endif
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:43
vtkStructuredGridGeometryFilter
extract geometry for structured grid
Definition: vtkStructuredGridGeometryFilter.h:52
vtkStructuredGridGeometryFilter::~vtkStructuredGridGeometryFilter
~vtkStructuredGridGeometryFilter() override=default
vtkStructuredGridGeometryFilter::SetExtent
void SetExtent(int extent[6])
Specify (imin,imax, jmin,jmax, kmin,kmax) indices in array form.
vtkStructuredGridGeometryFilter::vtkStructuredGridGeometryFilter
vtkStructuredGridGeometryFilter()
vtkStructuredGridGeometryFilter::SetExtent
void SetExtent(int iMin, int iMax, int jMin, int jMax, int kMin, int kMax)
Specify (imin,imax, jmin,jmax, kmin,kmax) indices.
vtkStructuredGridGeometryFilter::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkStructuredGridGeometryFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkStructuredGridGeometryFilter::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkStructuredGridGeometryFilter::New
static vtkStructuredGridGeometryFilter * New()
vtkStructuredGridGeometryFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkX3D::extent
@ extent
Definition: vtkX3D.h:345
vtkPolyDataAlgorithm.h