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

vtkSimpleImageToImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkSimpleImageToImageFilter.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 =========================================================================*/
00052 #ifndef __vtkSimpleImageToImageFilter_h
00053 #define __vtkSimpleImageToImageFilter_h
00054 
00055 #include "vtkImageSource.h"
00056 
00057 class VTK_FILTERING_EXPORT vtkSimpleImageToImageFilter : public vtkImageSource
00058 {
00059 public:
00060   vtkTypeRevisionMacro(vtkSimpleImageToImageFilter,vtkImageSource);
00061   void PrintSelf(ostream& os, vtkIndent indent);
00062 
00064 
00065   virtual void SetInput(vtkImageData *input);
00066   vtkImageData *GetInput();
00068   
00069   
00070 protected:
00071   vtkSimpleImageToImageFilter();
00072   ~vtkSimpleImageToImageFilter();
00073 
00074   // These are called by the superclass.
00075   // You might have to override ExecuteInformation
00076   virtual void ExecuteInformation();
00077   virtual void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
00078 
00079   // You don't have to touch this unless you have a good reason.
00080   virtual void ExecuteData(vtkDataObject *output);
00081   // In the simplest case, this is the only method you need to define.
00082   virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) = 0;
00083 private:
00084   vtkSimpleImageToImageFilter(const vtkSimpleImageToImageFilter&);  // Not implemented.
00085   void operator=(const vtkSimpleImageToImageFilter&);  // Not implemented.
00086 };
00087 
00088 #endif
00089 
00090 
00091 
00092 
00093 
00094 
00095