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 
34 #include "vtkImagingCoreModule.h" // For export macro
36 
38 {
39 public:
40  static vtkImageMagnify *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
47  vtkSetVector3Macro(MagnificationFactors,int);
48  vtkGetVector3Macro(MagnificationFactors,int);
50 
52 
54  vtkSetMacro(Interpolate,int);
55  vtkGetMacro(Interpolate,int);
56  vtkBooleanMacro(Interpolate,int);
58 
59 protected:
62 
63  int MagnificationFactors[3];
65  virtual int RequestUpdateExtent(vtkInformation *,
68  virtual int RequestInformation(vtkInformation *,
71 
72  void ThreadedRequestData(vtkInformation *request,
73  vtkInformationVector **inputVector,
74  vtkInformationVector *outputVector,
75  vtkImageData ***inData,
76  vtkImageData **outData,
77  int outExt[6],
78  int id);
79 
80  void InternalRequestUpdateExtent(int *inExt, int *outExt);
81 
82 private:
83  vtkImageMagnify(const vtkImageMagnify&); // Not implemented.
84  void operator=(const vtkImageMagnify&); // Not implemented.
85 };
86 
87 #endif
88 
89 
90 
91 
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:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKIMAGINGCORE_EXPORT
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()