VTK  9.7.1
vtkExplicitStructuredGridCrop.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
12 #ifndef vtkExplicitStructuredGridCrop_h
13 #define vtkExplicitStructuredGridCrop_h
14 
16 #include "vtkFiltersCoreModule.h" // For export macro
17 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
18 
19 VTK_ABI_NAMESPACE_BEGIN
22 {
23 public:
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
29 
32  void SetOutputWholeExtent(int extent[6], vtkInformation* outInfo = nullptr);
33  void SetOutputWholeExtent(int minX, int maxX, int minY, int maxY, int minZ, int maxZ);
34  void GetOutputWholeExtent(int extent[6]);
35  int* GetOutputWholeExtent() { return this->OutputWholeExtent; }
37 
38  void ResetOutputWholeExtent();
39 
40 protected:
42  ~vtkExplicitStructuredGridCrop() override = default;
43 
47 
49  int OutputWholeExtent[6];
50 
51 private:
53  void operator=(const vtkExplicitStructuredGridCrop&) = delete;
54 };
55 
56 VTK_ABI_NAMESPACE_END
57 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store vtkAlgorithm input/output information.
Filter which extracts a piece of explicit structured grid changing its extents.
static vtkExplicitStructuredGridAlgorithm * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO
Superclass for algorithms that produce only explicit structured grid as output.
int * GetOutputWholeExtent()
The whole extent of the output has to be set explicitly.