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 =========================================================================*/
57 #ifndef vtkAlgorithmOutput_h
58 #define vtkAlgorithmOutput_h
59 
60 #include "vtkCommonExecutionModelModule.h" // For export macro
61 #include "vtkObject.h"
62 
63 class vtkAlgorithm;
64 
65 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkAlgorithmOutput : public vtkObject
66 {
67 public:
69  vtkTypeMacro(vtkAlgorithmOutput, vtkObject);
70  void PrintSelf(ostream& os, vtkIndent indent) override;
71 
72  void SetIndex(int index);
73  int GetIndex();
74 
76  void SetProducer(vtkAlgorithm* producer);
77 
78 protected:
80  ~vtkAlgorithmOutput() override;
81 
82  int Index;
84 
85 private:
86  vtkAlgorithmOutput(const vtkAlgorithmOutput&) = delete;
87  void operator=(const vtkAlgorithmOutput&) = delete;
88 };
89 
90 #endif
vtkAlgorithmOutput::SetIndex
void SetIndex(int index)
vtkAlgorithmOutput::vtkAlgorithmOutput
vtkAlgorithmOutput()
vtkAlgorithmOutput::Index
int Index
Definition: vtkAlgorithmOutput.h:82
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:123
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:82
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkAlgorithmOutput::GetProducer
vtkAlgorithm * GetProducer()
vtkObject.h
vtkAlgorithmOutput::SetProducer
void SetProducer(vtkAlgorithm *producer)
vtkAlgorithmOutput::New
static vtkAlgorithmOutput * New()
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:66
vtkAlgorithmOutput::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAlgorithmOutput::~vtkAlgorithmOutput
~vtkAlgorithmOutput() override
vtkX3D::index
@ index
Definition: vtkX3D.h:252
vtkAlgorithmOutput::GetIndex
int GetIndex()
vtkAlgorithmOutput::Producer
vtkAlgorithm * Producer
Definition: vtkAlgorithmOutput.h:83