Parallel/vtkExtractUnstructuredGridPiece.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00037 #ifndef __vtkExtractUnstructuredGridPiece_h
00038 #define __vtkExtractUnstructuredGridPiece_h
00039
00040 #include "vtkUnstructuredGridToUnstructuredGridFilter.h"
00041
00042 class vtkIdList;
00043 class vtkIntArray;
00044
00045 class VTK_PARALLEL_EXPORT vtkExtractUnstructuredGridPiece : public vtkUnstructuredGridToUnstructuredGridFilter
00046 {
00047 public:
00048 static vtkExtractUnstructuredGridPiece *New();
00049 vtkTypeRevisionMacro(vtkExtractUnstructuredGridPiece, vtkUnstructuredGridToUnstructuredGridFilter);
00050 void PrintSelf(ostream& os, vtkIndent indent);
00051
00053
00054 vtkSetMacro(CreateGhostCells, int);
00055 vtkGetMacro(CreateGhostCells, int);
00056 vtkBooleanMacro(CreateGhostCells, int);
00058
00059 protected:
00060 vtkExtractUnstructuredGridPiece();
00061 ~vtkExtractUnstructuredGridPiece() {};
00062
00063
00064 void Execute();
00065 void ExecuteInformation();
00066 void ComputeInputUpdateExtents(vtkDataObject *out);
00067
00068
00069 void ComputeCellTags(vtkIntArray *cellTags, vtkIdList *pointOwnership,
00070 int piece, int numPieces);
00071
00072 void AddGhostLevel(vtkUnstructuredGrid *input, vtkIntArray *cellTags, int ghostLevel);
00073
00074 int CreateGhostCells;
00075 private:
00076 vtkExtractUnstructuredGridPiece(const vtkExtractUnstructuredGridPiece&);
00077 void operator=(const vtkExtractUnstructuredGridPiece&);
00078 };
00079
00080 #endif