VTK  9.6.1
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
21
22#ifndef vtkAlgorithmOutput_h
23#define vtkAlgorithmOutput_h
24
25#include "vtkCommonExecutionModelModule.h" // For export macro
26#include "vtkObject.h"
27#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
28
29VTK_ABI_NAMESPACE_BEGIN
30class vtkAlgorithm;
31
32class VTKCOMMONEXECUTIONMODEL_EXPORT VTK_MARSHALAUTO vtkAlgorithmOutput : public vtkObject
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
39 void SetIndex(int index);
40 int GetIndex() const;
41
43 void SetProducer(vtkAlgorithm* producer);
44
45protected:
48
49 int Index;
51
52private:
54 void operator=(const vtkAlgorithmOutput&) = delete;
55};
56
57VTK_ABI_NAMESPACE_END
58#endif
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
a simple class to control print indentation
Definition vtkIndent.h:29
#define VTK_MARSHALAUTO
#define vtkAlgorithm