VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
Parallel
vtkTransmitUnstructuredGridPiece.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTransmitUnstructuredGridPiece.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
=========================================================================*/
24
#ifndef __vtkTransmitUnstructuredGridPiece_h
25
#define __vtkTransmitUnstructuredGridPiece_h
26
27
#include "vtkFiltersParallelModule.h"
// For export macro
28
#include "
vtkUnstructuredGridAlgorithm.h
"
29
30
class
vtkMultiProcessController
;
31
32
class
VTKFILTERSPARALLEL_EXPORT
vtkTransmitUnstructuredGridPiece
:
public
vtkUnstructuredGridAlgorithm
33
{
34
public
:
35
static
vtkTransmitUnstructuredGridPiece
*
New
();
36
vtkTypeMacro(
vtkTransmitUnstructuredGridPiece
,
vtkUnstructuredGridAlgorithm
);
37
void
PrintSelf
(ostream& os,
vtkIndent
indent);
38
40
42
virtual
void
SetController(
vtkMultiProcessController
*);
43
vtkGetObjectMacro(Controller,
vtkMultiProcessController
);
45
47
48
vtkSetMacro(CreateGhostCells,
int
);
49
vtkGetMacro(CreateGhostCells,
int
);
50
vtkBooleanMacro(CreateGhostCells,
int
);
52
53
protected
:
54
vtkTransmitUnstructuredGridPiece
();
55
~
vtkTransmitUnstructuredGridPiece
();
56
57
// Data generation method
58
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
59
void
RootExecute(
vtkUnstructuredGrid
*input,
vtkUnstructuredGrid
*output,
60
vtkInformation
*outInfo);
61
void
SatelliteExecute(
int
procId,
vtkUnstructuredGrid
*output,
62
vtkInformation
*outInfo);
63
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
64
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
65
66
int
CreateGhostCells
;
67
vtkMultiProcessController
*
Controller
;
68
69
private
:
70
vtkTransmitUnstructuredGridPiece
(
const
vtkTransmitUnstructuredGridPiece
&);
// Not implemented
71
void
operator=(
const
vtkTransmitUnstructuredGridPiece
&);
// Not implemented
72
};
73
74
#endif
Generated on Thu May 24 2012 22:22:22 for VTK by
1.8.1