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