VTK  9.3.0
vtkAlgorithmOutput.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
22#ifndef vtkAlgorithmOutput_h
23#define vtkAlgorithmOutput_h
24
25#include "vtkCommonExecutionModelModule.h" // For export macro
26#include "vtkObject.h"
27
28VTK_ABI_NAMESPACE_BEGIN
29class vtkAlgorithm;
30
31class VTKCOMMONEXECUTIONMODEL_EXPORT vtkAlgorithmOutput : public vtkObject
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
38 void SetIndex(int index);
39 int GetIndex() const;
40
42 void SetProducer(vtkAlgorithm* producer);
43
44protected:
47
48 int Index;
50
51private:
53 void operator=(const vtkAlgorithmOutput&) = delete;
54};
55
56VTK_ABI_NAMESPACE_END
57#endif
Proxy object to connect input/output ports.
vtkAlgorithm * GetProducer() const
void SetProducer(vtkAlgorithm *producer)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkAlgorithmOutput * New()
~vtkAlgorithmOutput() override
vtkAlgorithm * Producer
void SetIndex(int index)
int GetIndex() const
Superclass for all sources, filters, and sinks in VTK.
a simple class to control print indentation
Definition vtkIndent.h:29
abstract base class for most VTK objects
Definition vtkObject.h:49