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 =========================================================================*/
30 #ifndef vtkAlgorithmOutput_h
31 #define vtkAlgorithmOutput_h
32 
33 #include "vtkCommonExecutionModelModule.h" // For export macro
34 #include "vtkObject.h"
35 
36 class vtkAlgorithm;
37 
39 {
40 public:
41  static vtkAlgorithmOutput *New();
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
45  void SetIndex(int index);
46  int GetIndex();
47 
48  vtkAlgorithm* GetProducer();
49  void SetProducer(vtkAlgorithm* producer);
50 
51 protected:
54 
55  int Index;
57 
58 private:
59  vtkAlgorithmOutput(const vtkAlgorithmOutput&); // Not implemented.
60  void operator=(const vtkAlgorithmOutput&); // Not implemented.
61 };
62 
63 #endif
#define VTKCOMMONEXECUTIONMODEL_EXPORT
abstract base class for most VTK objects
Definition: vtkObject.h:61
Proxy object to connect input/output ports.
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:61
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkAlgorithm * Producer
static vtkObject * New()