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:
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
45  void SetIndex(int index);
46  int GetIndex();
47 
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
VTKCOMMONEXECUTIONMODEL_EXPORT
#define VTKCOMMONEXECUTIONMODEL_EXPORT
Definition: vtkCommonExecutionModelModule.h:15
vtkAlgorithmOutput::SetIndex
void SetIndex(int index)
vtkAlgorithmOutput::vtkAlgorithmOutput
vtkAlgorithmOutput()
vtkAlgorithmOutput::Index
int Index
Definition: vtkAlgorithmOutput.h:55
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:62
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkCommonExecutionModelModule.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkAlgorithmOutput::GetProducer
vtkAlgorithm * GetProducer()
vtkAlgorithmOutput::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkObject.h
vtkAlgorithmOutput::SetProducer
void SetProducer(vtkAlgorithm *producer)
vtkAlgorithmOutput::New
static vtkAlgorithmOutput * New()
vtkgl::index
GLuint index
Definition: vtkgl.h:11983
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:39
vtkAlgorithmOutput::~vtkAlgorithmOutput
~vtkAlgorithmOutput()
vtkAlgorithmOutput::GetIndex
int GetIndex()
vtkAlgorithmOutput::Producer
vtkAlgorithm * Producer
Definition: vtkAlgorithmOutput.h:56