VTK  9.3.1
vtkTrivialConsumer.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
16 #ifndef vtkTrivialConsumer_h
17 #define vtkTrivialConsumer_h
18 
19 #include "vtkAlgorithm.h"
20 #include "vtkCommonExecutionModelModule.h" // For export macro
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkTrivialConsumer : public vtkAlgorithm
24 {
25 public:
26  static vtkTrivialConsumer* New();
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
30 protected:
32  ~vtkTrivialConsumer() override;
33 
34  int FillInputPortInformation(int, vtkInformation*) override;
35  int FillOutputPortInformation(int, vtkInformation*) override;
36 
37 private:
38  vtkTrivialConsumer(const vtkTrivialConsumer&) = delete;
39  void operator=(const vtkTrivialConsumer&) = delete;
40 };
41 
42 VTK_ABI_NAMESPACE_END
43 #endif
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:51
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
Consumer to consume data off of a pipeline.
static vtkAlgorithm * New()