VTK
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 
25 #include <vtkStdString.h>
26 
27 class vtkCollection;
28 
30 {
31 public:
32  static vtkPipelineGraphSource* New();
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
36  void AddSink(vtkObject* object);
37  void RemoveSink(vtkObject* object);
38 
39 //BTX
41 
43  static void PipelineToDot(vtkAlgorithm* sink, ostream& output, const vtkStdString& graph_name = "");
44  // Description:
45  // Generates a GraphViz DOT file that describes the VTK pipeline
46  // terminating at the given sinks.
47  static void PipelineToDot(vtkCollection* sinks, ostream& output, const vtkStdString& graph_name = "");
49 
50 protected:
53 
54  int RequestData(
58 
60 
61 private:
62  vtkPipelineGraphSource(const vtkPipelineGraphSource&); // Not implemented
63  void operator=(const vtkPipelineGraphSource&); // Not implemented
64 //ETX
65 };
66 
67 #endif
68