VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
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 "
vtkUnstructuredGridAlgorithm.h
"
28
29
class
vtkMultiProcessController
;
30
31
class
VTK_PARALLEL_EXPORT
vtkTransmitUnstructuredGridPiece
:
public
vtkUnstructuredGridAlgorithm
32
{
33
public
:
34
static
vtkTransmitUnstructuredGridPiece
*
New
();
35
vtkTypeMacro(
vtkTransmitUnstructuredGridPiece
,
vtkUnstructuredGridAlgorithm
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent);
37
39
41
virtual
void
SetController(
vtkMultiProcessController
*);
42
vtkGetObjectMacro(Controller,
vtkMultiProcessController
);
44
46
47
vtkSetMacro(CreateGhostCells,
int
);
48
vtkGetMacro(CreateGhostCells,
int
);
49
vtkBooleanMacro(CreateGhostCells,
int
);
51
52
protected
:
53
vtkTransmitUnstructuredGridPiece
();
54
~
vtkTransmitUnstructuredGridPiece
();
55
56
// Data generation method
57
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
58
void
RootExecute(
vtkUnstructuredGrid
*input,
vtkUnstructuredGrid
*output,
59
vtkInformation
*outInfo);
60
void
SatelliteExecute(
int
procId,
vtkUnstructuredGrid
*output,
61
vtkInformation
*outInfo);
62
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
63
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
64
65
int
CreateGhostCells
;
66
vtkMultiProcessController
*
Controller
;
67
68
private
:
69
vtkTransmitUnstructuredGridPiece
(
const
vtkTransmitUnstructuredGridPiece
&);
// Not implemented
70
void
operator=(
const
vtkTransmitUnstructuredGridPiece
&);
// Not implemented
71
};
72
73
#endif
Generated on Thu Mar 13 2014 08:10:28 for VTK by
1.8.1.2