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 =========================================================================*/
34 #ifndef vtkAlgorithmOutput_h
35 #define vtkAlgorithmOutput_h
36 
37 #include "vtkCommonExecutionModelModule.h" // For export macro
38 #include "vtkObject.h"
39 
40 class vtkAlgorithm;
41 
42 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkAlgorithmOutput : public vtkObject
43 {
44 public:
45  static vtkAlgorithmOutput* New();
46  vtkTypeMacro(vtkAlgorithmOutput, vtkObject);
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
49  void SetIndex(int index);
50  int GetIndex() const;
51 
52  vtkAlgorithm* GetProducer() const;
53  void SetProducer(vtkAlgorithm* producer);
54 
55 protected:
57  ~vtkAlgorithmOutput() override;
58 
59  int Index;
61 
62 private:
63  vtkAlgorithmOutput(const vtkAlgorithmOutput&) = delete;
64  void operator=(const vtkAlgorithmOutput&) = delete;
65 };
66 
67 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:62
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Proxy object to connect input/output ports.
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:62
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkAlgorithm * Producer
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...