VTK  9.2.5
vtkImageTranslateExtent.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageTranslateExtent.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 =========================================================================*/
45 #ifndef vtkImageTranslateExtent_h
46 #define vtkImageTranslateExtent_h
47 
48 #include "vtkImageAlgorithm.h"
49 #include "vtkImagingCoreModule.h" // For export macro
50 
51 class VTKIMAGINGCORE_EXPORT vtkImageTranslateExtent : public vtkImageAlgorithm
52 {
53 public:
56  void PrintSelf(ostream& os, vtkIndent indent) override;
57 
59 
62  vtkSetVector3Macro(Translation, int);
63  vtkGetVector3Macro(Translation, int);
65 
66 protected:
68  ~vtkImageTranslateExtent() override = default;
69 
70  int Translation[3];
71 
74 
76 
77 private:
79  void operator=(const vtkImageTranslateExtent&) = delete;
80 };
81 
82 #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:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.