VTK  9.2.6
vtkAlgorithmOutput.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkAlgorithmOutput.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=========================================================================*/
43#ifndef vtkAlgorithmOutput_h
44#define vtkAlgorithmOutput_h
45
46#include "vtkCommonExecutionModelModule.h" // For export macro
47#include "vtkObject.h"
48
49class vtkAlgorithm;
50
51class VTKCOMMONEXECUTIONMODEL_EXPORT 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
76#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:49
abstract base class for most VTK objects
Definition vtkObject.h:72