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