VTK  9.3.20240419
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
36 #ifndef vtkPassThrough_h
37 #define vtkPassThrough_h
38 
39 #include "vtkFiltersCoreModule.h" // For export macro
41 
42 VTK_ABI_NAMESPACE_BEGIN
43 class VTKFILTERSCORE_EXPORT vtkPassThrough : public vtkPassInputTypeAlgorithm
44 {
45 public:
46  static vtkPassThrough* New();
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
54 
56 
62  vtkSetMacro(DeepCopyInput, vtkTypeBool);
63  vtkGetMacro(DeepCopyInput, vtkTypeBool);
64  vtkBooleanMacro(DeepCopyInput, vtkTypeBool);
66 
73  vtkSetMacro(AllowNullInput, bool);
74  vtkGetMacro(AllowNullInput, bool);
75  vtkBooleanMacro(AllowNullInput, bool);
78 protected:
80  ~vtkPassThrough() override;
81 
83  vtkInformation* request, vtkInformationVector** inVec, vtkInformationVector* outVec) override;
85 
88 
89 private:
90  vtkPassThrough(const vtkPassThrough&) = delete;
91  void operator=(const vtkPassThrough&) = delete;
92 };
93 
94 VTK_ABI_NAMESPACE_END
95 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
Pass input input data through to the output.
int FillInputPortInformation(int port, vtkInformation *info) override
Specify the first input port as optional.
static vtkPassThrough * New()
~vtkPassThrough() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inVec, vtkInformationVector *outVec) override
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
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
int vtkTypeBool
Definition: vtkABI.h:64