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

Filtering/vtkImageTwoInputFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageTwoInputFilter.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00029 #ifndef __vtkImageTwoInputFilter_h
00030 #define __vtkImageTwoInputFilter_h
00031 
00032 #include "vtkImageMultipleInputFilter.h"
00033 
00034 class VTK_FILTERING_EXPORT vtkImageTwoInputFilter : public vtkImageMultipleInputFilter
00035 {
00036 public:
00037   vtkTypeRevisionMacro(vtkImageTwoInputFilter,vtkImageMultipleInputFilter);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039   
00042   virtual void SetInput1(vtkImageData *input);
00043   
00046   virtual void SetInput2(vtkImageData *input);
00047   
00049 
00050   vtkImageData *GetInput1() {return (vtkImageData *)this->Inputs[0];}
00051   vtkImageData *GetInput2() {return (vtkImageData *)this->Inputs[1];}
00053   
00054 protected:
00055   vtkImageTwoInputFilter();
00056   ~vtkImageTwoInputFilter() {};
00057 
00058 private:
00059   vtkImageTwoInputFilter(const vtkImageTwoInputFilter&);  // Not implemented.
00060   void operator=(const vtkImageTwoInputFilter&);  // Not implemented.
00061 };
00062 
00063 #endif
00064 
00065 
00066 
00067 
00068 
00069 
00070 
00071