VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Common/ExecutionModel/vtkSimpleImageToImageFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkSimpleImageToImageFilter.h
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 =========================================================================*/
00039 #ifndef vtkSimpleImageToImageFilter_h
00040 #define vtkSimpleImageToImageFilter_h
00041 
00042 #include "vtkCommonExecutionModelModule.h" // For export macro
00043 #include "vtkImageAlgorithm.h"
00044 
00045 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkSimpleImageToImageFilter : public vtkImageAlgorithm
00046 {
00047 public:
00048   vtkTypeMacro(vtkSimpleImageToImageFilter,vtkImageAlgorithm);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00051 protected:
00052   vtkSimpleImageToImageFilter();
00053   ~vtkSimpleImageToImageFilter();
00054 
00055   // These are called by the superclass.
00056   virtual int RequestUpdateExtent (vtkInformation *,
00057                                    vtkInformationVector **,
00058                                    vtkInformationVector *);
00059 
00060   // You don't have to touch this unless you have a good reason.
00061   virtual int RequestData(vtkInformation *,
00062                           vtkInformationVector **,
00063                           vtkInformationVector *);
00064 
00065   // In the simplest case, this is the only method you need to define.
00066   virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) = 0;
00067 
00068 private:
00069   vtkSimpleImageToImageFilter(const vtkSimpleImageToImageFilter&);  // Not implemented.
00070   void operator=(const vtkSimpleImageToImageFilter&);  // Not implemented.
00071 };
00072 
00073 #endif
00074 
00075 
00076 
00077 
00078 
00079 
00080