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:
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 
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
VTKINFOVISCORE_EXPORT
#define VTKINFOVISCORE_EXPORT
Definition: vtkInfovisCoreModule.h:15
vtkStdString.h
vtkPipelineGraphSource::vtkPipelineGraphSource
vtkPipelineGraphSource()
vtkPipelineGraphSource::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkPipelineGraphSource
a graph constructed from a VTK pipeline
Definition: vtkPipelineGraphSource.h:31
vtkPipelineGraphSource::New
static vtkPipelineGraphSource * New()
vtkDirectedGraphAlgorithm
Superclass for algorithms that produce only directed graph as output.
Definition: vtkDirectedGraphAlgorithm.h:52
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:62
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkPipelineGraphSource::PipelineToDot
static void PipelineToDot(vtkAlgorithm *sink, ostream &output, const vtkStdString &graph_name="")
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkCollection
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:53
vtkPipelineGraphSource::RemoveSink
void RemoveSink(vtkObject *object)
vtkPipelineGraphSource::AddSink
void AddSink(vtkObject *object)
vtkgl::sink
GLsizei GLenum GLboolean sink
Definition: vtkgl.h:11360
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkPipelineGraphSource::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkInfovisCoreModule.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkDirectedGraphAlgorithm.h
vtkPipelineGraphSource::~vtkPipelineGraphSource
~vtkPipelineGraphSource()
vtkPipelineGraphSource::Sinks
vtkCollection * Sinks
Definition: vtkPipelineGraphSource.h:57
vtkStdString
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:48
vtkPipelineGraphSource::PipelineToDot
static void PipelineToDot(vtkCollection *sinks, ostream &output, const vtkStdString &graph_name="")