VTK
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
=========================================================================*/
26
#ifndef vtkTransmitUnstructuredGridPiece_h
27
#define vtkTransmitUnstructuredGridPiece_h
28
29
#include "vtkFiltersParallelModule.h"
// For export macro
30
#include "
vtkUnstructuredGridAlgorithm.h
"
31
32
class
vtkMultiProcessController
;
33
34
class
VTKFILTERSPARALLEL_EXPORT
vtkTransmitUnstructuredGridPiece
:
public
vtkUnstructuredGridAlgorithm
35
{
36
public
:
37
static
vtkTransmitUnstructuredGridPiece
*
New
();
38
vtkTypeMacro(
vtkTransmitUnstructuredGridPiece
,
vtkUnstructuredGridAlgorithm
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
40
42
46
virtual
void
SetController(
vtkMultiProcessController
*);
47
vtkGetObjectMacro(Controller,
vtkMultiProcessController
);
49
51
54
vtkSetMacro(CreateGhostCells,
vtkTypeBool
);
55
vtkGetMacro(CreateGhostCells,
vtkTypeBool
);
56
vtkBooleanMacro(CreateGhostCells,
vtkTypeBool
);
58
59
protected
:
60
vtkTransmitUnstructuredGridPiece
();
61
~
vtkTransmitUnstructuredGridPiece
()
override
;
62
63
// Data generation method
64
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
65
void
RootExecute(
vtkUnstructuredGrid
*input,
vtkUnstructuredGrid
*output,
66
vtkInformation
*outInfo);
67
void
SatelliteExecute(
int
procId,
vtkUnstructuredGrid
*output,
68
vtkInformation
*outInfo);
69
70
vtkTypeBool
CreateGhostCells
;
71
vtkMultiProcessController
*
Controller
;
72
73
private
:
74
vtkTransmitUnstructuredGridPiece
(
const
vtkTransmitUnstructuredGridPiece
&) =
delete
;
75
void
operator=(
const
vtkTransmitUnstructuredGridPiece
&) =
delete
;
76
};
77
78
#endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkTransmitUnstructuredGridPiece
Definition:
vtkTransmitUnstructuredGridPiece.h:34
vtkMultiProcessController
Multiprocessing communication superclass.
Definition:
vtkMultiProcessController.h:82
vtkUnstructuredGridAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkTransmitUnstructuredGridPiece::CreateGhostCells
vtkTypeBool CreateGhostCells
Definition:
vtkTransmitUnstructuredGridPiece.h:70
vtkTransmitUnstructuredGridPiece::Controller
vtkMultiProcessController * Controller
Definition:
vtkTransmitUnstructuredGridPiece.h:71
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkUnstructuredGridAlgorithm::New
static vtkUnstructuredGridAlgorithm * New()
vtkUnstructuredGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnstructuredGridAlgorithm.h
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition:
vtkUnstructuredGridAlgorithm.h:40
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition:
vtkUnstructuredGrid.h:87
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
Generated by
1.8.16