VTK  9.3.1
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:
24  static vtkImageTranslateExtent* New();
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
Store vtkAlgorithm input/output information.
Changes extent, nothing else.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.