Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
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
00037 #ifndef __vtkExtractPolyDataPiece_h
00038 #define __vtkExtractPolyDataPiece_h
00039
00040 #include "vtkPolyDataToPolyDataFilter.h"
00041
00042 class vtkIdList;
00043 class vtkIntArray;
00044
00045 class VTK_PARALLEL_EXPORT vtkExtractPolyDataPiece : public vtkPolyDataToPolyDataFilter
00046 {
00047 public:
00048 static vtkExtractPolyDataPiece *New();
00049 vtkTypeRevisionMacro(vtkExtractPolyDataPiece, vtkPolyDataToPolyDataFilter);
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 vtkExtractPolyDataPiece();
00061 ~vtkExtractPolyDataPiece() {};
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(vtkPolyData *input, vtkIntArray *cellTags, int ghostLevel);
00073
00074 int CreateGhostCells;
00075 private:
00076 vtkExtractPolyDataPiece(const vtkExtractPolyDataPiece&);
00077 void operator=(const vtkExtractPolyDataPiece&);
00078 };
00079
00080 #endif