VTK  9.3.1
vtkPassThrough.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkPassThrough_h
18 #define vtkPassThrough_h
19 
20 #include "vtkFiltersCoreModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class VTKFILTERSCORE_EXPORT vtkPassThrough : public vtkPassInputTypeAlgorithm
25 {
26 public:
27  static vtkPassThrough* New();
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
35 
37 
43  vtkSetMacro(DeepCopyInput, vtkTypeBool);
44  vtkGetMacro(DeepCopyInput, vtkTypeBool);
45  vtkBooleanMacro(DeepCopyInput, vtkTypeBool);
47 
54  vtkSetMacro(AllowNullInput, bool);
55  vtkGetMacro(AllowNullInput, bool);
56  vtkBooleanMacro(AllowNullInput, bool);
59 protected:
61  ~vtkPassThrough() override;
62 
64  vtkInformation* request, vtkInformationVector** inVec, vtkInformationVector* outVec) override;
66 
69 
70 private:
71  vtkPassThrough(const vtkPassThrough&) = delete;
72  void operator=(const vtkPassThrough&) = delete;
73 };
74 
75 VTK_ABI_NAMESPACE_END
76 #endif
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
Pass input input data through to the output.
int vtkTypeBool
Definition: vtkABI.h:64
a simple class to control print indentation
Definition: vtkIndent.h:28
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called within ProcessRequest when a request asks the algorithm to create empty output data ob...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool DeepCopyInput
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPassInputTypeAlgorithm * New()