VTK
vtkImageMultipleInputOutputFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageMultipleInputOutputFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
25 #ifndef __vtkImageMultipleInputOutputFilter_h
26 #define __vtkImageMultipleInputOutputFilter_h
27 
28 
30 
31 
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
40  vtkImageData *GetOutput(int num);
43 
45 
48  virtual void ThreadedExecute(vtkImageData **inDatas,
49  vtkImageData **outDatas,
50  int extent[6], int threadId);
52 
53 protected:
56 
58 
59  virtual void ComputeInputUpdateExtent( int inExt[6],
60  int outExt[6],
61  int whichInput );
62 
63 
64  void ExecuteData(vtkDataObject *out);
65 
66  // this should never be called
67  virtual void ThreadedExecute(vtkImageData **inDatas,
68  vtkImageData *outData,
69  int extent[6], int threadId);
71 
72  // This one gets called by the superclass.
73  void ExecuteInformation();
74  // This is the one you should override.
75  virtual void ExecuteInformation(vtkImageData **, vtkImageData **) {};
76 private:
78  void operator=(const vtkImageMultipleInputOutputFilter&); // Not implemented.
79 };
80 
81 #endif
82 
83 
84 
85 
86 
87 
88