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