VTK  9.1.0
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=========================================================================*/
37#ifndef vtkAlgorithmOutput_h
38#define vtkAlgorithmOutput_h
39
40#include "vtkCommonExecutionModelModule.h" // For export macro
41#include "vtkObject.h"
42
43class vtkAlgorithm;
44
45class VTKCOMMONEXECUTIONMODEL_EXPORT vtkAlgorithmOutput : public vtkObject
46{
47public:
50 void PrintSelf(ostream& os, vtkIndent indent) override;
51
52 void SetIndex(int index);
53 int GetIndex();
54
56 void SetProducer(vtkAlgorithm* producer);
57
58protected:
61
62 int Index;
64
65private:
67 void operator=(const vtkAlgorithmOutput&) = delete;
68};
69
70#endif
Proxy object to connect input/output ports.
vtkAlgorithm * GetProducer()
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)
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:64
a simple class to control print indentation
Definition: vtkIndent.h:43
abstract base class for most VTK objects
Definition: vtkObject.h:63
@ index
Definition: vtkX3D.h:252