VTK  9.0.1
vtkExplicitStructuredGridCrop.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkExplicitStructuredGridCrop.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 =========================================================================*/
21 #ifndef vtkExplicitStructuredGridCrop_h
22 #define vtkExplicitStructuredGridCrop_h
23 
25 #include "vtkFiltersCoreModule.h" // For export macro
26 
27 class VTKFILTERSCORE_EXPORT vtkExplicitStructuredGridCrop
29 {
30 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
36 
39  void SetOutputWholeExtent(int extent[6], vtkInformation* outInfo = nullptr);
40  void SetOutputWholeExtent(int minX, int maxX, int minY, int maxY, int minZ, int maxZ);
41  void GetOutputWholeExtent(int extent[6]);
42  int* GetOutputWholeExtent() { return this->OutputWholeExtent; }
44 
45  void ResetOutputWholeExtent();
46 
47 protected:
49  ~vtkExplicitStructuredGridCrop() override = default;
50 
54 
56  int OutputWholeExtent[6];
57 
58 private:
60  void operator=(const vtkExplicitStructuredGridCrop&) = delete;
61 };
62 
63 #endif
vtkExplicitStructuredGridCrop
Filter which extracts a piece of explicit structured grid changing its extents.
Definition: vtkExplicitStructuredGridCrop.h:27
vtkExplicitStructuredGridAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkExplicitStructuredGridCrop::Initialized
int Initialized
Definition: vtkExplicitStructuredGridCrop.h:55
vtkExplicitStructuredGridAlgorithm::RequestInformation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkExplicitStructuredGridAlgorithm
Superclass for algorithms that produce only explicit structured grid as output.
Definition: vtkExplicitStructuredGridAlgorithm.h:30
vtkExplicitStructuredGridCrop::GetOutputWholeExtent
int * GetOutputWholeExtent()
Definition: vtkExplicitStructuredGridCrop.h:42
vtkExplicitStructuredGridAlgorithm::New
static vtkExplicitStructuredGridAlgorithm * New()
vtkAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkX3D::extent
@ extent
Definition: vtkX3D.h:351
vtkExplicitStructuredGridAlgorithm.h
vtkExplicitStructuredGridAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.