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