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 =========================================================================*/
22 #ifndef vtkPipelineGraphSource_h
23 #define vtkPipelineGraphSource_h
24 
25 #include "vtkInfovisCoreModule.h" // For export macro
27 #include "vtkStdString.h"
28 
29 class vtkCollection;
30 
31 class VTKINFOVISCORE_EXPORT vtkPipelineGraphSource : public vtkDirectedGraphAlgorithm
32 {
33 public:
34  static vtkPipelineGraphSource* New();
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
38  void AddSink(vtkObject* object);
39  void RemoveSink(vtkObject* object);
40 
45  static void PipelineToDot(vtkAlgorithm* sink, ostream& output, const vtkStdString& graph_name = "");
50  static void PipelineToDot(vtkCollection* sinks, ostream& output, const vtkStdString& graph_name = "");
51 
52 protected:
55 
56  int RequestData(
60 
62 
63 private:
64  vtkPipelineGraphSource(const vtkPipelineGraphSource&) VTK_DELETE_FUNCTION;
65  void operator=(const vtkPipelineGraphSource&) VTK_DELETE_FUNCTION;
66 
67 };
68 
69 #endif
70 
71 // VTK-HeaderTest-Exclude: vtkPipelineGraphSource.h
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:47
abstract base class for most VTK objects
Definition: vtkObject.h:59
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:59
Superclass for algorithms that produce only directed graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:51
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.