VTK  9.3.1
vtkPipelineGraphSource.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkPipelineGraphSource_h
11 #define vtkPipelineGraphSource_h
12 
14 #include "vtkInfovisCoreModule.h" // For export macro
15 #include "vtkStdString.h" // for vtkStdString
16 
17 VTK_ABI_NAMESPACE_BEGIN
18 class vtkCollection;
19 
20 class VTKINFOVISCORE_EXPORT vtkPipelineGraphSource : public vtkDirectedGraphAlgorithm
21 {
22 public:
23  static vtkPipelineGraphSource* New();
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
27  void AddSink(vtkObject* sink);
28  void RemoveSink(vtkObject* sink);
29 
34  static void PipelineToDot(
35  vtkAlgorithm* sink, ostream& output, const vtkStdString& graph_name = "");
40  static void PipelineToDot(
41  vtkCollection* sinks, ostream& output, const vtkStdString& graph_name = "");
42 
43 protected:
45  ~vtkPipelineGraphSource() override;
46 
48 
50 
51 private:
53  void operator=(const vtkPipelineGraphSource&) = delete;
54 };
55 
56 VTK_ABI_NAMESPACE_END
57 #endif
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:28
abstract base class for most VTK objects
Definition: vtkObject.h:51
Store vtkAlgorithm input/output information.
a graph constructed from a VTK pipeline
static vtkDirectedGraphAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:51
Superclass for algorithms that produce only directed graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
create and manipulate ordered lists of objects
Definition: vtkCollection.h:44
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.