VTK  9.4.20241217
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
41#ifndef vtkAlgorithmOutput_h
42#define vtkAlgorithmOutput_h
43
44#include "vtkCommonExecutionModelModule.h" // For export macro
45#include "vtkObject.h"
46#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
47
48VTK_ABI_NAMESPACE_BEGIN
49class vtkAlgorithm;
50
51class VTKCOMMONEXECUTIONMODEL_EXPORT VTK_MARSHALAUTO vtkAlgorithmOutput : public vtkObject
52{
53public:
56 void PrintSelf(ostream& os, vtkIndent indent) override;
57
58 void SetIndex(int index);
59 int GetIndex() const;
60
62 void SetProducer(vtkAlgorithm* producer);
63
64protected:
67
68 int Index;
70
71private:
73 void operator=(const vtkAlgorithmOutput&) = delete;
74};
75
76VTK_ABI_NAMESPACE_END
77#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:108
abstract base class for most VTK objects
Definition vtkObject.h:162
#define VTK_MARSHALAUTO