VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
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 "vtkFiltersParallelModule.h"
// For export macro
30
#include "
vtkGraphAlgorithm.h
"
31
32
class
vtkMultiProcessController
;
33
class
vtkSocketController
;
34
35
class
VTKFILTERSPARALLEL_EXPORT
vtkCollectGraph
:
public
vtkGraphAlgorithm
36
{
37
public
:
38
static
vtkCollectGraph
*
New
();
39
vtkTypeMacro(
vtkCollectGraph
,
vtkGraphAlgorithm
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
43
45
virtual
void
SetController(
vtkMultiProcessController
*);
46
vtkGetObjectMacro(Controller,
vtkMultiProcessController
);
48
50
53
virtual
void
SetSocketController(
vtkSocketController
*);
54
vtkGetObjectMacro(SocketController,
vtkSocketController
);
56
58
59
vtkSetMacro(PassThrough,
int
);
60
vtkGetMacro(PassThrough,
int
);
61
vtkBooleanMacro(PassThrough,
int
);
63
64
//BTX
65
enum
{
66
DIRECTED_OUTPUT
,
67
UNDIRECTED_OUTPUT
,
68
USE_INPUT_TYPE
69
};
70
//ETX
71
73
80
vtkSetMacro(OutputType,
int
);
81
vtkGetMacro(OutputType,
int
);
83
84
protected
:
85
vtkCollectGraph
();
86
~
vtkCollectGraph
();
87
88
int
PassThrough
;
89
int
OutputType
;
90
91
// Data generation method
92
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
93
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
94
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
95
virtual
int
RequestDataObject
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
96
97
vtkMultiProcessController
*
Controller
;
98
vtkSocketController
*
SocketController
;
99
100
private
:
101
vtkCollectGraph
(
const
vtkCollectGraph
&);
// Not implemented
102
void
operator=(
const
vtkCollectGraph
&);
// Not implemented
103
};
104
105
#endif
Generated on Thu May 24 2012 22:22:22 for VTK by
1.8.1