VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Views
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 "
vtkDirectedGraphAlgorithm.h
"
25
#include <
vtkStdString.h
>
26
27
class
vtkCollection
;
28
29
class
VTK_VIEWS_EXPORT
vtkPipelineGraphSource
:
public
vtkDirectedGraphAlgorithm
30
{
31
public
:
32
static
vtkPipelineGraphSource
*
New
();
33
vtkTypeMacro(
vtkPipelineGraphSource
,
vtkDirectedGraphAlgorithm
);
34
void
PrintSelf
(ostream& os,
vtkIndent
indent);
35
36
void
AddSink(
vtkObject
*
object
);
37
void
RemoveSink(
vtkObject
*
object
);
38
39
//BTX
41
43
static
void
PipelineToDot(
vtkAlgorithm
* sink, ostream& output,
const
vtkStdString
& graph_name =
""
);
44
// Description:
45
// Generates a GraphViz DOT file that describes the VTK pipeline
46
// terminating at the given sinks.
47
static
void
PipelineToDot(
vtkCollection
* sinks, ostream& output,
const
vtkStdString
& graph_name =
""
);
49
50
protected
:
51
vtkPipelineGraphSource
();
52
~
vtkPipelineGraphSource
();
53
54
int
RequestData
(
55
vtkInformation
*,
56
vtkInformationVector
**,
57
vtkInformationVector
*);
58
59
vtkCollection
*
Sinks
;
60
61
private
:
62
vtkPipelineGraphSource
(
const
vtkPipelineGraphSource
&);
// Not implemented
63
void
operator=(
const
vtkPipelineGraphSource
&);
// Not implemented
64
//ETX
65
};
66
67
#endif
68
Generated on Sun Sep 9 2012 13:03:48 for VTK by
1.8.1.2