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

vtkImageMultipleInputOutputFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageMultipleInputOutputFilter.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 =========================================================================*/
00025 #ifndef __vtkImageMultipleInputOutputFilter_h
00026 #define __vtkImageMultipleInputOutputFilter_h
00027 
00028 
00029 #include "vtkImageMultipleInputFilter.h"
00030 
00031 
00032 class VTK_FILTERING_EXPORT vtkImageMultipleInputOutputFilter : public vtkImageMultipleInputFilter
00033 {
00034 public:
00035   vtkTypeRevisionMacro(vtkImageMultipleInputOutputFilter,vtkImageMultipleInputFilter);
00036   void PrintSelf(ostream& os, vtkIndent indent);
00037 
00039 
00040   vtkImageData *GetOutput(int num);
00041   vtkImageData *GetOutput();
00043 
00045 
00048   virtual void ThreadedExecute(vtkImageData **inDatas, 
00049                                vtkImageData **outDatas,
00050                                int extent[6], int threadId);
00052 
00053 protected:
00054   vtkImageMultipleInputOutputFilter();
00055   ~vtkImageMultipleInputOutputFilter();
00056 
00057   void ComputeInputUpdateExtents( vtkDataObject *output );
00058   
00059   virtual void ComputeInputUpdateExtent( int inExt[6], 
00060                                          int outExt[6], 
00061                                          int whichInput );
00062 
00063 
00064   void ExecuteData(vtkDataObject *out);
00065 
00066   // this should never be called
00067   virtual void ThreadedExecute(vtkImageData **inDatas, 
00068                                vtkImageData *outData,
00069                                int extent[6], int threadId);
00070   virtual void ExecuteInformation(vtkImageData **, vtkImageData *) {};
00071 
00072   // This one gets called by the superclass.
00073   void ExecuteInformation();
00074   // This is the one you should override.
00075   virtual void ExecuteInformation(vtkImageData **, vtkImageData **) {};
00076 private:
00077   vtkImageMultipleInputOutputFilter(const vtkImageMultipleInputOutputFilter&);  // Not implemented.
00078   void operator=(const vtkImageMultipleInputOutputFilter&);  // Not implemented.
00079 };
00080 
00081 #endif
00082 
00083 
00084 
00085 
00086 
00087 
00088 

Generated on Mon Jan 21 23:07:19 2008 for VTK by  doxygen 1.4.3-20050530