VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
25 #ifndef __vtkImageTranslateExtent_h
26 #define __vtkImageTranslateExtent_h
27 
28 #include "vtkImagingCoreModule.h" // For export macro
29 #include "vtkImageAlgorithm.h"
30 
31 class VTKIMAGINGCORE_EXPORT vtkImageTranslateExtent : public vtkImageAlgorithm
32 {
33 public:
34  static vtkImageTranslateExtent *New();
35  vtkTypeMacro(vtkImageTranslateExtent,vtkImageAlgorithm);
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
40  vtkSetVector3Macro(Translation, int);
41  vtkGetVector3Macro(Translation, int);
43 
44 protected:
47 
48  int Translation[3];
49 
50  virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *);
51  virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *);
52 
53  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
54 
55 private:
56  vtkImageTranslateExtent(const vtkImageTranslateExtent&); // Not implemented.
57  void operator=(const vtkImageTranslateExtent&); // Not implemented.
58 };
59 
60 #endif
Changes extent, nothing else.