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 =========================================================================*/
25 #ifndef __vtkImageTranslateExtent_h
26 #define __vtkImageTranslateExtent_h
27 
28 #include "vtkImageAlgorithm.h"
29 
31 {
32 public:
33  static vtkImageTranslateExtent *New();
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
39  vtkSetVector3Macro(Translation, int);
40  vtkGetVector3Macro(Translation, int);
42 
43 protected:
46 
47  int Translation[3];
48 
51 
53 
54 private:
55  vtkImageTranslateExtent(const vtkImageTranslateExtent&); // Not implemented.
56  void operator=(const vtkImageTranslateExtent&); // Not implemented.
57 };
58 
59 #endif
Store vtkAlgorithm input/output information.
Changes extent, nothing else.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_IMAGING_EXPORT
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Generic algorithm superclass for image algs.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)