VTK
vtkImageMagnify.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageMagnify.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 =========================================================================*/
31 #ifndef __vtkImageMagnify_h
32 #define __vtkImageMagnify_h
33 
35 
37 {
38 public:
39  static vtkImageMagnify *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
46  vtkSetVector3Macro(MagnificationFactors,int);
47  vtkGetVector3Macro(MagnificationFactors,int);
49 
51 
53  vtkSetMacro(Interpolate,int);
54  vtkGetMacro(Interpolate,int);
55  vtkBooleanMacro(Interpolate,int);
57 
58 protected:
61 
62  int MagnificationFactors[3];
64  virtual int RequestUpdateExtent(vtkInformation *,
67  virtual int RequestInformation(vtkInformation *,
70 
71  void ThreadedRequestData(vtkInformation *request,
72  vtkInformationVector **inputVector,
73  vtkInformationVector *outputVector,
74  vtkImageData ***inData,
75  vtkImageData **outData,
76  int outExt[6],
77  int id);
78 
79  void InternalRequestUpdateExtent(int *inExt, int *outExt);
80 
81 private:
82  vtkImageMagnify(const vtkImageMagnify&); // Not implemented.
83  void operator=(const vtkImageMagnify&); // Not implemented.
84 };
85 
86 #endif
87 
88 
89 
90 
Store vtkAlgorithm input/output information.
magnify an image by an integer value
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Generic filter that has one input..
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_IMAGING_EXPORT
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()