dox/Parallel/vtkExtractPolyDataPiece.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00027
#ifndef __vtkExtractPolyDataPiece_h
00028
#define __vtkExtractPolyDataPiece_h
00029
00030
#include "vtkPolyDataToPolyDataFilter.h"
00031
00032
class vtkIdList;
00033
class vtkIntArray;
00034
00035 class VTK_PARALLEL_EXPORT vtkExtractPolyDataPiece :
public vtkPolyDataToPolyDataFilter
00036 {
00037
public:
00038
static vtkExtractPolyDataPiece *
New();
00039 vtkTypeRevisionMacro(vtkExtractPolyDataPiece,
vtkPolyDataToPolyDataFilter);
00040
void PrintSelf(ostream& os,
vtkIndent indent);
00041
00043
00044 vtkSetMacro(CreateGhostCells,
int);
00045 vtkGetMacro(CreateGhostCells,
int);
00046 vtkBooleanMacro(CreateGhostCells,
int);
00048
00049
protected:
00050 vtkExtractPolyDataPiece();
00051 ~vtkExtractPolyDataPiece() {};
00052
00053
00054
void Execute();
00055
void ExecuteInformation();
00056
void ComputeInputUpdateExtents(
vtkDataObject *out);
00057
00058
00059
void ComputeCellTags(
vtkIntArray *cellTags,
vtkIdList *pointOwnership,
00060
int piece,
int numPieces);
00061
00062
void AddGhostLevel(
vtkPolyData *input,
vtkIntArray *cellTags,
int ghostLevel);
00063
00064 int CreateGhostCells;
00065
private:
00066 vtkExtractPolyDataPiece(
const vtkExtractPolyDataPiece&);
00067
void operator=(
const vtkExtractPolyDataPiece&);
00068 };
00069
00070
#endif