VTK
vtkTrivialConsumer.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTrivialConsumer.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 =========================================================================*/
28 #ifndef vtkTrivialConsumer_h
29 #define vtkTrivialConsumer_h
30 
31 #include "vtkCommonExecutionModelModule.h" // For export macro
32 #include "vtkAlgorithm.h"
33 
34 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkTrivialConsumer : public vtkAlgorithm
35 {
36 public:
37  static vtkTrivialConsumer *New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
41 protected:
43  ~vtkTrivialConsumer() override;
44 
45  int FillInputPortInformation(int, vtkInformation*) override;
46  int FillOutputPortInformation(int, vtkInformation*) override;
47 private:
48  vtkTrivialConsumer(const vtkTrivialConsumer&) = delete;
49  void operator=(const vtkTrivialConsumer&) = delete;
50 };
51 
52 #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:59
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:39
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()