VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkPassThrough.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPassThrough.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 __vtkPassThrough_h
26 #define __vtkPassThrough_h
27 
28 #include "vtkFiltersGeneralModule.h" // For export macro
29 #include "vtkPassInputTypeAlgorithm.h"
30 
31 class VTKFILTERSGENERAL_EXPORT vtkPassThrough : public vtkPassInputTypeAlgorithm
32 {
33 public:
34  static vtkPassThrough* New();
35  vtkTypeMacro(vtkPassThrough, vtkPassInputTypeAlgorithm);
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39  int FillInputPortInformation(int port, vtkInformation* info);
40 
42 
46  vtkSetMacro(DeepCopyInput, int);
47  vtkGetMacro(DeepCopyInput, int);
48  vtkBooleanMacro(DeepCopyInput, int);
50 
51 protected:
53  ~vtkPassThrough();
54 
55  virtual int RequestData(
56  vtkInformation*,
57  vtkInformationVector**,
58  vtkInformationVector*);
59 
61 
62 private:
63  vtkPassThrough(const vtkPassThrough&); // Not implemented
64  void operator=(const vtkPassThrough&); // Not implemented
65 };
66 
67 #endif
68 
Shallow copies the input into the output.