VTK  9.7.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 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkPassThrough : public vtkPassInputTypeAlgorithm
26 {
27 public:
28  static vtkPassThrough* New();
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
36 
38 
44  vtkSetMacro(DeepCopyInput, vtkTypeBool);
45  vtkGetMacro(DeepCopyInput, vtkTypeBool);
46  vtkBooleanMacro(DeepCopyInput, vtkTypeBool);
48 
55  vtkSetMacro(AllowNullInput, bool);
56  vtkGetMacro(AllowNullInput, bool);
57  vtkBooleanMacro(AllowNullInput, bool);
60 protected:
62  ~vtkPassThrough() override;
63 
65  vtkInformation* request, vtkInformationVector** inVec, vtkInformationVector* outVec) override;
67 
70 
71 private:
72  vtkPassThrough(const vtkPassThrough&) = delete;
73  void operator=(const vtkPassThrough&) = delete;
74 };
75 
76 VTK_ABI_NAMESPACE_END
77 #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.
#define VTK_MARSHALAUTO
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPassInputTypeAlgorithm * New()