VTK
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 =========================================================================*/
23 #ifndef vtkPassThrough_h
24 #define vtkPassThrough_h
25 
26 #include "vtkFiltersGeneralModule.h" // For export macro
28 
29 class VTKFILTERSGENERAL_EXPORT vtkPassThrough : public vtkPassInputTypeAlgorithm
30 {
31 public:
32  static vtkPassThrough* New();
34  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
35 
39  int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
40 
42 
48  vtkSetMacro(DeepCopyInput, int);
49  vtkGetMacro(DeepCopyInput, int);
50  vtkBooleanMacro(DeepCopyInput, int);
52 
59  vtkSetMacro(AllowNullInput, bool)
60  vtkGetMacro(AllowNullInput, bool)
61  vtkBooleanMacro(AllowNullInput, bool)
64 protected:
66  ~vtkPassThrough() VTK_OVERRIDE;
67 
68  int RequestDataObject(
69  vtkInformation *request,
70  vtkInformationVector **inVec,
71  vtkInformationVector *outVec) VTK_OVERRIDE;
72  int RequestData(
75  vtkInformationVector*) VTK_OVERRIDE;
76 
77  int DeepCopyInput;
78  bool AllowNullInput;
79 
80 private:
81  vtkPassThrough(const vtkPassThrough&) VTK_DELETE_FUNCTION;
82  void operator=(const vtkPassThrough&) VTK_DELETE_FUNCTION;
83 };
84 
85 #endif
86 
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
Shallow copies the input into the output.
a simple class to control print indentation
Definition: vtkIndent.h:33
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkPassInputTypeAlgorithm * New()