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
42  static void PipelineToDot(vtkAlgorithm* sink, ostream& output, const vtkStdString& graph_name = "");
45  static void PipelineToDot(vtkCollection* sinks, ostream& output, const vtkStdString& graph_name = "");
46 
47 protected:
50 
51  int RequestData(
55 
57 
58 private:
59  vtkPipelineGraphSource(const vtkPipelineGraphSource&); // Not implemented
60  void operator=(const vtkPipelineGraphSource&); // Not implemented
61 //ETX
62 };
63 
64 #endif
65