VTK  9.1.0
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 =========================================================================*/
42 #ifndef vtkImageTranslateExtent_h
43 #define vtkImageTranslateExtent_h
44 
45 #include "vtkImageAlgorithm.h"
46 #include "vtkImagingCoreModule.h" // For export macro
47 
48 class VTKIMAGINGCORE_EXPORT vtkImageTranslateExtent : public vtkImageAlgorithm
49 {
50 public:
53  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
56 
59  vtkSetVector3Macro(Translation, int);
60  vtkGetVector3Macro(Translation, int);
62 
63 protected:
65  ~vtkImageTranslateExtent() override = default;
66 
67  int Translation[3];
68 
71 
73 
74 private:
76  void operator=(const vtkImageTranslateExtent&) = delete;
77 };
78 
79 #endif
vtkImageTranslateExtent::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageTranslateExtent::New
static vtkImageTranslateExtent * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkImageTranslateExtent
Changes extent, nothing else.
Definition: vtkImageTranslateExtent.h:49
vtkImageAlgorithm.h
vtkImageTranslateExtent::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkImageTranslateExtent::~vtkImageTranslateExtent
~vtkImageTranslateExtent() override=default
vtkImageAlgorithm
Generic algorithm superclass for image algs.
Definition: vtkImageAlgorithm.h:57
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkImageTranslateExtent::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
vtkImageTranslateExtent::vtkImageTranslateExtent
vtkImageTranslateExtent()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkImageTranslateExtent::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.