OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I386LINUX / util / I386LINUX / include / vtk / vtkImageAppendComponents.h
1 /*=========================================================================
2
3   Program:   Visualization Toolkit
4   Module:    $RCSfile: vtkImageAppendComponents.h,v $
5   Language:  C++
6   Date:      $Date: 2002/11/21 16:14:44 $
7   Version:   $Revision: 1.28 $
8
9   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
10   All rights reserved.
11   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
12
13      This software is distributed WITHOUT ANY WARRANTY; without even 
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
15      PURPOSE.  See the above copyright notice for more information.
16
17 =========================================================================*/
18 // .NAME vtkImageAppendComponents - Collects components from two inputs into
19 // one output.
20 // .SECTION Description
21 // vtkImageAppendComponents takes the components from two inputs and merges
22 // them into one output. If Input1 has M components, and Input2 has N 
23 // components, the output will have M+N components with input1
24 // components coming first.
25
26
27 #ifndef __vtkImageAppendComponents_h
28 #define __vtkImageAppendComponents_h
29
30
31 #include "vtkImageMultipleInputFilter.h"
32
33 class VTK_IMAGING_EXPORT vtkImageAppendComponents : public vtkImageMultipleInputFilter
34 {
35 public:
36   static vtkImageAppendComponents *New();
37   vtkTypeRevisionMacro(vtkImageAppendComponents,vtkImageMultipleInputFilter);
38
39 protected:
40   vtkImageAppendComponents() {};
41   ~vtkImageAppendComponents() {};
42   
43   void ExecuteInformation(vtkImageData **inputs, vtkImageData *output);
44   void ExecuteInformation(){this->vtkImageMultipleInputFilter::ExecuteInformation();};
45   void ThreadedExecute(vtkImageData **inDatas, vtkImageData *outData,
46                        int extent[6], int id);
47 private:
48   vtkImageAppendComponents(const vtkImageAppendComponents&);  // Not implemented.
49   void operator=(const vtkImageAppendComponents&);  // Not implemented.
50 };
51
52 #endif
53
54
55
56