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

Method ReadPrimaryElement

IO/XML/vtkXMLHyperTreeGridReader.cxx:302–316  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

300
301//------------------------------------------------------------------------------
302int vtkXMLHyperTreeGridReader::ReadPrimaryElement(vtkXMLDataElement* ePrimary)
303{
304 if (!this->Superclass::ReadPrimaryElement(ePrimary))
305 {
306 return 0;
307 }
308
309 // Minimum for parallel reader is to know the number of points over all pieces
310 if (!ePrimary->GetScalarAttribute("NumberOfVertices", this->NumberOfPoints))
311 {
312 this->NumberOfPoints = 0;
313 }
314
315 return 1;
316}
317
318//------------------------------------------------------------------------------
319void vtkXMLHyperTreeGridReader::CopyOutputInformation(vtkInformation* outInfo, int port)

Callers

nothing calls this directly

Calls 1

GetScalarAttributeMethod · 0.80

Tested by

no test coverage detected