VTK  9.3.20240419
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
33 #ifndef vtkImageTranslateExtent_h
34 #define vtkImageTranslateExtent_h
35 
36 #include "vtkImageAlgorithm.h"
37 #include "vtkImagingCoreModule.h" // For export macro
38 
39 VTK_ABI_NAMESPACE_BEGIN
40 class VTKIMAGINGCORE_EXPORT vtkImageTranslateExtent : public vtkImageAlgorithm
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
51  vtkSetVector3Macro(Translation, int);
52  vtkGetVector3Macro(Translation, int);
54 
55 protected:
57  ~vtkImageTranslateExtent() override = default;
58 
59  int Translation[3];
60 
63 
65 
66 private:
68  void operator=(const vtkImageTranslateExtent&) = delete;
69 };
70 
71 VTK_ABI_NAMESPACE_END
72 #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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.