| 1078 | } |
| 1079 | |
| 1080 | void Reduce() |
| 1081 | { |
| 1082 | // assign last offset |
| 1083 | this->Offsets->SetValue(this->NumberOfOutputCells, this->ConnectivitySize); |
| 1084 | // create cell array |
| 1085 | this->OutputCellArray = vtkSmartPointer<vtkCellArray>::New(); |
| 1086 | this->OutputCellArray->SetData(this->Offsets, this->Connectivity); |
| 1087 | } |
| 1088 | }; |
| 1089 | |
| 1090 | //----------------------------------------------------------------------------- |