VTK
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 =========================================================================*/
26 #ifndef vtkImageTranslateExtent_h
27 #define vtkImageTranslateExtent_h
28 
29 #include "vtkImagingCoreModule.h" // For export macro
30 #include "vtkImageAlgorithm.h"
31 
32 class VTKIMAGINGCORE_EXPORT vtkImageTranslateExtent : public vtkImageAlgorithm
33 {
34 public:
35  static vtkImageTranslateExtent *New();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
40 
43  vtkSetVector3Macro(Translation, int);
44  vtkGetVector3Macro(Translation, int);
46 
47 protected:
50 
51  int Translation[3];
52 
55 
57 
58 private:
60  void operator=(const vtkImageTranslateExtent&) = delete;
61 };
62 
63 #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:39
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.