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
00038 #ifndef __vtkExtractPolyDataPiece_h
00039 #define __vtkExtractPolyDataPiece_h
00040
00041 #include "vtkPolyDataToPolyDataFilter.h"
00042
00043 class vtkIdList;
00044 class vtkIntArray;
00045
00046 class VTK_PARALLEL_EXPORT vtkExtractPolyDataPiece : public vtkPolyDataToPolyDataFilter
00047 {
00048 public:
00049 static vtkExtractPolyDataPiece *New();
00050 vtkTypeRevisionMacro(vtkExtractPolyDataPiece, vtkPolyDataToPolyDataFilter);
00051 void PrintSelf(ostream& os, vtkIndent indent);
00052
00054
00055 vtkSetMacro(CreateGhostCells, int);
00056 vtkGetMacro(CreateGhostCells, int);
00057 vtkBooleanMacro(CreateGhostCells, int);
00059
00060 protected:
00061 vtkExtractPolyDataPiece();
00062 ~vtkExtractPolyDataPiece() {};
00063
00064
00065 void Execute();
00066 void ExecuteInformation();
00067 void ComputeInputUpdateExtents(vtkDataObject *out);
00068
00069
00070 void ComputeCellTags(vtkIntArray *cellTags, vtkIdList *pointOwnership,
00071 int piece, int numPieces);
00072
00073 void AddGhostLevel(vtkPolyData *input, vtkIntArray *cellTags, int ghostLevel);
00074
00075 int CreateGhostCells;
00076 private:
00077 vtkExtractPolyDataPiece(const vtkExtractPolyDataPiece&);
00078 void operator=(const vtkExtractPolyDataPiece&);
00079 };
00080
00081 #endif