VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Views
Infovis
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 "vtkViewsInfovisModule.h"
// For export macro
25
#include "
vtkDirectedGraphAlgorithm.h
"
26
#include <
vtkStdString.h
>
27
28
class
vtkCollection
;
29
30
class
VTKVIEWSINFOVIS_EXPORT
vtkPipelineGraphSource
:
public
vtkDirectedGraphAlgorithm
31
{
32
public
:
33
static
vtkPipelineGraphSource
*
New
();
34
vtkTypeMacro(
vtkPipelineGraphSource
,
vtkDirectedGraphAlgorithm
);
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
:
49
vtkPipelineGraphSource
();
50
~
vtkPipelineGraphSource
();
51
52
int
RequestData
(
53
vtkInformation
*,
54
vtkInformationVector
**,
55
vtkInformationVector
*);
56
57
vtkCollection
*
Sinks
;
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
Generated on Thu May 24 2012 22:22:38 for VTK by
1.8.1