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