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];
71 
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 
vtkSetVector3Macro
#define vtkSetVector3Macro(name, type)
Definition: vtkSetGet.h:287
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkThreadedImageAlgorithm
Generic filter that has one input..
Definition: vtkThreadedImageAlgorithm.h:37
vtkImageMagnify::New
static vtkImageMagnify * New()
vtkThreadedImageAlgorithm.h
vtkImageMagnify
magnify an image by an integer value
Definition: vtkImageMagnify.h:38
vtkGetVector3Macro
#define vtkGetVector3Macro(name, type)
Definition: vtkSetGet.h:304
vtkImageMagnify::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkImageMagnify::Interpolate
int Interpolate
Definition: vtkImageMagnify.h:64
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkImageMagnify::~vtkImageMagnify
~vtkImageMagnify()
Definition: vtkImageMagnify.h:61
vtkImageMagnify::ThreadedRequestData
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id)
vtkImagingCoreModule.h
vtkImageMagnify::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
VTKIMAGINGCORE_EXPORT
#define VTKIMAGINGCORE_EXPORT
Definition: vtkImagingCoreModule.h:15
vtkImageMagnify::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageMagnify::vtkImageMagnify
vtkImageMagnify()
vtkImageMagnify::InternalRequestUpdateExtent
void InternalRequestUpdateExtent(int *inExt, int *outExt)