------------------------------------------------------------------------------
| 59 | |
| 60 | //------------------------------------------------------------------------------ |
| 61 | void vtkXMLPUnstructuredGridReader::SetupOutputTotals() |
| 62 | { |
| 63 | this->Superclass::SetupOutputTotals(); |
| 64 | // Find the total size of the output. |
| 65 | this->TotalNumberOfCells = 0; |
| 66 | for (int i = this->StartPiece; i < this->EndPiece; ++i) |
| 67 | { |
| 68 | if (this->PieceReaders[i]) |
| 69 | { |
| 70 | this->TotalNumberOfCells += this->PieceReaders[i]->GetNumberOfCells(); |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | // Data reading will start at the beginning of the output. |
| 75 | this->StartCell = 0; |
| 76 | } |
| 77 | |
| 78 | //------------------------------------------------------------------------------ |
| 79 | void vtkXMLPUnstructuredGridReader::SetupOutputData() |
nothing calls this directly
no test coverage detected