VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Parallel
vtkExtractUnstructuredGridPiece.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractUnstructuredGridPiece.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
=========================================================================*/
23
#ifndef __vtkExtractUnstructuredGridPiece_h
24
#define __vtkExtractUnstructuredGridPiece_h
25
26
#include "
vtkUnstructuredGridAlgorithm.h
"
27
28
class
vtkIdList
;
29
class
vtkIntArray
;
30
31
class
VTK_PARALLEL_EXPORT
vtkExtractUnstructuredGridPiece
:
public
vtkUnstructuredGridAlgorithm
32
{
33
public
:
34
static
vtkExtractUnstructuredGridPiece
*
New
();
35
vtkTypeMacro(
vtkExtractUnstructuredGridPiece
,
vtkUnstructuredGridAlgorithm
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent);
37
39
40
vtkSetMacro(CreateGhostCells,
int
);
41
vtkGetMacro(CreateGhostCells,
int
);
42
vtkBooleanMacro(CreateGhostCells,
int
);
44
45
protected
:
46
vtkExtractUnstructuredGridPiece
();
47
~vtkExtractUnstructuredGridPiece
() {};
48
49
// Usual data generation method
50
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
51
virtual
int
RequestInformation
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
52
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
53
54
// A method for labeling which piece the cells belong to.
55
void
ComputeCellTags(
vtkIntArray
*cellTags,
vtkIdList
*pointOwnership,
56
int
piece,
int
numPieces,
vtkUnstructuredGrid
*input);
57
58
void
AddGhostLevel(
vtkUnstructuredGrid
*input,
vtkIntArray
*cellTags,
int
ghostLevel);
59
60
int
CreateGhostCells
;
61
private
:
62
vtkExtractUnstructuredGridPiece
(
const
vtkExtractUnstructuredGridPiece
&);
// Not implemented.
63
void
operator=(
const
vtkExtractUnstructuredGridPiece
&);
// Not implemented.
64
};
65
66
#endif
Generated on Thu Mar 13 2014 08:10:26 for VTK by
1.8.1.2