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
31#ifndef vtkAlgorithmOutput_h
32#define vtkAlgorithmOutput_h
33
34#include "vtkCommonExecutionModelModule.h" // For export macro
35#include "vtkObject.h"
36
37VTK_ABI_NAMESPACE_BEGIN
38class vtkAlgorithm;
39
40class VTKCOMMONEXECUTIONMODEL_EXPORT vtkAlgorithmOutput : public vtkObject
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
47 void SetIndex(int index);
48 int GetIndex() const;
49
51 void SetProducer(vtkAlgorithm* producer);
52
53protected:
56
57 int Index;
59
60private:
62 void operator=(const vtkAlgorithmOutput&) = delete;
63};
64
65VTK_ABI_NAMESPACE_END
66#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:38
abstract base class for most VTK objects
Definition vtkObject.h:58