Filtering/vtkImageTwoInputFilter.h Source File

Main Page Class Hierarchy Alphabetical List Compound List File List Compound 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 =========================================================================*/
    00040 #ifndef __vtkImageTwoInputFilter_h
    00041 #define __vtkImageTwoInputFilter_h
    00042
    00043 #include "vtkImageMultipleInputFilter.h"
    00044
    00045 class VTK_FILTERING_EXPORT vtkImageTwoInputFilter : public vtkImageMultipleInputFilter
    00046 {
    00047 public:
    00048   vtkTypeRevisionMacro(vtkImageTwoInputFilter,vtkImageMultipleInputFilter);
    00049   void PrintSelf(ostream& os, vtkIndent indent);
    00050
    00053   virtual void SetInput1(vtkImageData *input);
    00054
    00057   virtual void SetInput2(vtkImageData *input);
    00058
    00060
    00061   vtkImageData *GetInput1() {return (vtkImageData *)this->Inputs[0];}
    00062   vtkImageData *GetInput2() {return (vtkImageData *)this->Inputs[1];}
    00064
    00065 protected:
    00066   vtkImageTwoInputFilter();
    00067   ~vtkImageTwoInputFilter() {};
    00068
    00069 private:
    00070   vtkImageTwoInputFilter(const vtkImageTwoInputFilter&);  // Not implemented.
    00071   void operator=(const vtkImageTwoInputFilter&);  // Not implemented.
    00072 };
    00073
    00074 #endif
    00075
    00076
    00077
    00078
    00079
    00080
    00081
    00082