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
23 #ifndef vtkImageTranslateExtent_h
24 #define vtkImageTranslateExtent_h
25 
26 #include "vtkImageAlgorithm.h"
27 #include "vtkImagingCoreModule.h" // For export macro
28 
29 VTK_ABI_NAMESPACE_BEGIN
30 class VTKIMAGINGCORE_EXPORT vtkImageTranslateExtent : public vtkImageAlgorithm
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
38 
41  vtkSetVector3Macro(Translation, int);
42  vtkGetVector3Macro(Translation, int);
44 
45 protected:
47  ~vtkImageTranslateExtent() override = default;
48 
49  int Translation[3];
50 
53 
55 
56 private:
58  void operator=(const vtkImageTranslateExtent&) = delete;
59 };
60 
61 VTK_ABI_NAMESPACE_END
62 #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:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.