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);
42  int* GetOutputWholeExtent() { return this->OutputWholeExtent; }
44 
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::SetOutputWholeExtent
void SetOutputWholeExtent(int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
vtkExplicitStructuredGridCrop
Filter which extracts a piece of explicit structured grid changing its extents.
Definition: vtkExplicitStructuredGridCrop.h:29
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkExplicitStructuredGridCrop::GetOutputWholeExtent
void GetOutputWholeExtent(int extent[6])
vtkExplicitStructuredGridCrop::Initialized
int Initialized
Definition: vtkExplicitStructuredGridCrop.h:55
vtkExplicitStructuredGridCrop::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExplicitStructuredGridCrop::New
static vtkExplicitStructuredGridCrop * New()
vtkExplicitStructuredGridCrop::vtkExplicitStructuredGridCrop
vtkExplicitStructuredGridCrop()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:65
vtkExplicitStructuredGridAlgorithm
Superclass for algorithms that produce only explicit structured grid as output.
Definition: vtkExplicitStructuredGridAlgorithm.h:31
vtkExplicitStructuredGridCrop::GetOutputWholeExtent
int * GetOutputWholeExtent()
Definition: vtkExplicitStructuredGridCrop.h:42
vtkExplicitStructuredGridCrop::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExplicitStructuredGridCrop::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkExplicitStructuredGridCrop::SetOutputWholeExtent
void SetOutputWholeExtent(int extent[6], vtkInformation *outInfo=nullptr)
The whole extent of the output has to be set explicitly.
vtkX3D::extent
@ extent
Definition: vtkX3D.h:351
vtkExplicitStructuredGridCrop::ResetOutputWholeExtent
void ResetOutputWholeExtent()
vtkExplicitStructuredGridCrop::~vtkExplicitStructuredGridCrop
~vtkExplicitStructuredGridCrop() override=default
vtkExplicitStructuredGridAlgorithm.h
vtkExplicitStructuredGridCrop::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.