VTK  9.3.0
vtkImageTranslateExtent.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
14 #ifndef vtkImageTranslateExtent_h
15 #define vtkImageTranslateExtent_h
16 
17 #include "vtkImageAlgorithm.h"
18 #include "vtkImagingCoreModule.h" // For export macro
19 
20 VTK_ABI_NAMESPACE_BEGIN
21 class VTKIMAGINGCORE_EXPORT vtkImageTranslateExtent : public vtkImageAlgorithm
22 {
23 public:
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
29 
32  vtkSetVector3Macro(Translation, int);
33  vtkGetVector3Macro(Translation, int);
35 
36 protected:
38  ~vtkImageTranslateExtent() override = default;
39 
40  int Translation[3];
41 
44 
46 
47 private:
49  void operator=(const vtkImageTranslateExtent&) = delete;
50 };
51 
52 VTK_ABI_NAMESPACE_END
53 #endif
Generic algorithm superclass for image algs.
Changes extent, nothing else.
~vtkImageTranslateExtent() override=default
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
static vtkImageTranslateExtent * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.