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 
24 #include "vtkInfovisCoreModule.h" // For export macro
26 #include "vtkStdString.h"
27 
28 class vtkCollection;
29 
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(
56 
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
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:46
abstract base class for most VTK objects
Definition: vtkObject.h:61
Store vtkAlgorithm input/output information.
a graph constructed from a VTK pipeline
static vtkDirectedGraphAlgorithm * New()
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:61
Superclass for algorithms that produce only directed graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKINFOVISCORE_EXPORT
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:52
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)