00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageInPlaceFilter.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 __vtkImageInPlaceFilter_h 00028 #define __vtkImageInPlaceFilter_h 00029 00030 #include "vtkImageAlgorithm.h" 00031 00032 class VTK_FILTERING_EXPORT vtkImageInPlaceFilter : public vtkImageAlgorithm 00033 { 00034 public: 00035 vtkTypeRevisionMacro(vtkImageInPlaceFilter,vtkImageAlgorithm); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00038 protected: 00039 vtkImageInPlaceFilter(); 00040 ~vtkImageInPlaceFilter(); 00041 00042 virtual int RequestData(vtkInformation *request, 00043 vtkInformationVector** inputVector, 00044 vtkInformationVector* outputVector); 00045 00046 void CopyData(vtkImageData *in, vtkImageData *out); 00047 00048 private: 00049 vtkImageInPlaceFilter(const vtkImageInPlaceFilter&); // Not implemented. 00050 void operator=(const vtkImageInPlaceFilter&); // Not implemented. 00051 }; 00052 00053 #endif 00054 00055 00056 00057 00058 00059 00060