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

Method SetUpDataArraySelections

IO/AMR/vtkAMREnzoReader.cxx:427–438  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

425
426//------------------------------------------------------------------------------
427void vtkAMREnzoReader::SetUpDataArraySelections()
428{
429 assert("pre: Internal Enzo Reader is nullptr" && (this->Internal != nullptr));
430 this->Internal->ReadMetaData();
431 this->Internal->GetAttributeNames();
432
433 int numAttrs = static_cast<int>(this->Internal->BlockAttributeNames.size());
434 for (int i = 0; i < numAttrs; i++)
435 {
436 this->CellDataArraySelection->AddArray(this->Internal->BlockAttributeNames[i].c_str());
437 } // END for all attributes
438}
439VTK_ABI_NAMESPACE_END

Callers 1

SetFileNameMethod · 0.95

Calls 6

assertFunction · 0.50
ReadMetaDataMethod · 0.45
GetAttributeNamesMethod · 0.45
sizeMethod · 0.45
AddArrayMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected