Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Imaging/vtkImageMagnify.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageMagnify.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00034 #ifndef __vtkImageMagnify_h 00035 #define __vtkImageMagnify_h 00036 00037 #include "vtkImageToImageFilter.h" 00038 00039 class VTK_IMAGING_EXPORT vtkImageMagnify : public vtkImageToImageFilter 00040 { 00041 public: 00042 static vtkImageMagnify *New(); 00043 vtkTypeRevisionMacro(vtkImageMagnify,vtkImageToImageFilter); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00047 00048 vtkSetVector3Macro(MagnificationFactors,int); 00049 vtkGetVector3Macro(MagnificationFactors,int); 00051 00053 00054 vtkSetMacro(Interpolate,int); 00055 vtkGetMacro(Interpolate,int); 00056 vtkBooleanMacro(Interpolate,int); 00058 00059 00060 protected: 00061 vtkImageMagnify(); 00062 ~vtkImageMagnify() {}; 00063 00064 int MagnificationFactors[3]; 00065 int Interpolate; 00066 void ComputeInputUpdateExtent(int inExt[6], int outExt[6]); 00067 void ExecuteInformation(vtkImageData *inData, vtkImageData *outData); 00068 void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();}; 00069 void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 00070 int extent[6], int id); 00071 private: 00072 vtkImageMagnify(const vtkImageMagnify&); // Not implemented. 00073 void operator=(const vtkImageMagnify&); // Not implemented. 00074 }; 00075 00076 #endif 00077 00078 00079 00080