MCPcopy Create free account
hub / github.com/Kitware/VTK / SetupOutputTotals

Method SetupOutputTotals

IO/XML/vtkXMLPUnstructuredGridReader.cxx:61–76  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

59
60//------------------------------------------------------------------------------
61void 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//------------------------------------------------------------------------------
79void vtkXMLPUnstructuredGridReader::SetupOutputData()

Callers

nothing calls this directly

Calls 1

GetNumberOfCellsMethod · 0.45

Tested by

no test coverage detected