VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkPipelineGraphSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPipelineGraphSource.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 =========================================================================*/
21 #ifndef __vtkPipelineGraphSource_h
22 #define __vtkPipelineGraphSource_h
23 
24 #include "vtkInfovisCoreModule.h" // For export macro
26 #include <vtkStdString.h>
27 
28 class vtkCollection;
29 
30 class VTKINFOVISCORE_EXPORT vtkPipelineGraphSource : public vtkDirectedGraphAlgorithm
31 {
32 public:
33  static vtkPipelineGraphSource* New();
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
37  void AddSink(vtkObject* object);
38  void RemoveSink(vtkObject* object);
39 
40 //BTX
43  static void PipelineToDot(vtkAlgorithm* sink, ostream& output, const vtkStdString& graph_name = "");
46  static void PipelineToDot(vtkCollection* sinks, ostream& output, const vtkStdString& graph_name = "");
47 
48 protected:
51 
52  int RequestData(
53  vtkInformation*,
54  vtkInformationVector**,
55  vtkInformationVector*);
56 
57  vtkCollection* Sinks;
58 
59 private:
60  vtkPipelineGraphSource(const vtkPipelineGraphSource&); // Not implemented
61  void operator=(const vtkPipelineGraphSource&); // Not implemented
62 //ETX
63 };
64 
65 #endif
66 
67 // VTK-HeaderTest-Exclude: vtkPipelineGraphSource.h
a graph constructed from a VTK pipeline
static vtkDirectedGraphAlgorithm * New()
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:60
Superclass for algorithms that produce only directed graph as output.
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)