00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageWrapPad.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00027 #ifndef __vtkImageWrapPad_h 00028 #define __vtkImageWrapPad_h 00029 00030 00031 #include "vtkImagePadFilter.h" 00032 00033 class vtkInformation; 00034 class vtkInformationVector; 00035 00036 class VTK_IMAGING_EXPORT vtkImageWrapPad : public vtkImagePadFilter 00037 { 00038 public: 00039 static vtkImageWrapPad *New(); 00040 vtkTypeRevisionMacro(vtkImageWrapPad,vtkImagePadFilter); 00041 00042 protected: 00043 vtkImageWrapPad() {}; 00044 ~vtkImageWrapPad() {}; 00045 00046 void ComputeInputUpdateExtent (int inExt[6], int outExt[6], int wExt[6]); 00047 void ThreadedRequestData (vtkInformation* request, 00048 vtkInformationVector** inputVector, 00049 vtkInformationVector* outputVector, 00050 vtkImageData ***inData, vtkImageData **outData, 00051 int ext[6], int id); 00052 private: 00053 vtkImageWrapPad(const vtkImageWrapPad&); // Not implemented. 00054 void operator=(const vtkImageWrapPad&); // Not implemented. 00055 }; 00056 00057 #endif 00058 00059 00060