VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Parallel
vtkCollectGraph.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCollectGraph.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
=========================================================================*/
15
/*----------------------------------------------------------------------------
16
Copyright (c) Sandia Corporation
17
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18
----------------------------------------------------------------------------*/
26
#ifndef __vtkCollectGraph_h
27
#define __vtkCollectGraph_h
28
29
#include "
vtkGraphAlgorithm.h
"
30
31
class
vtkMultiProcessController
;
32
class
vtkSocketController
;
33
34
class
VTK_PARALLEL_EXPORT
vtkCollectGraph
:
public
vtkGraphAlgorithm
35
{
36
public
:
37
static
vtkCollectGraph
*
New
();
38
vtkTypeMacro(
vtkCollectGraph
,
vtkGraphAlgorithm
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
42
44
virtual
void
SetController(
vtkMultiProcessController
*);
45
vtkGetObjectMacro(Controller,
vtkMultiProcessController
);
47
49
52
virtual
void
SetSocketController(
vtkSocketController
*);
53
vtkGetObjectMacro(SocketController,
vtkSocketController
);
55
57
58
vtkSetMacro(PassThrough,
int
);
59
vtkGetMacro(PassThrough,
int
);
60
vtkBooleanMacro(PassThrough,
int
);
62
63
//BTX
64
enum
{
65
DIRECTED_OUTPUT
,
66
UNDIRECTED_OUTPUT
,
67
USE_INPUT_TYPE
68
};
69
//ETX
70
72
79
vtkSetMacro(OutputType,
int
);
80
vtkGetMacro(OutputType,
int
);
82
83
protected
:
84
vtkCollectGraph
();
85
~
vtkCollectGraph
();
86
87
int
PassThrough
;
88
int
OutputType
;
89
90
// Data generation method
91
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
92
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
93
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
94
virtual
int
RequestDataObject
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
95
96
vtkMultiProcessController
*
Controller
;
97
vtkSocketController
*
SocketController
;
98
99
private
:
100
vtkCollectGraph
(
const
vtkCollectGraph
&);
// Not implemented
101
void
operator=(
const
vtkCollectGraph
&);
// Not implemented
102
};
103
104
#endif
Generated on Wed May 30 2012 13:22:19 for VTK by
1.8.1