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

Method GetNumberOfLevels

IO/AMR/vtkAMRFlashReader.cxx:126–136  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

124
125//------------------------------------------------------------------------------
126int vtkAMRFlashReader::GetNumberOfLevels()
127{
128 assert("pre: Internal Flash Reader is nullptr" && (this->Internal != nullptr));
129 if (!this->IsReady)
130 {
131 return 0;
132 }
133
134 this->Internal->ReadMetaData();
135 return (this->Internal->NumberOfLevels);
136}
137
138void vtkAMRFlashReader::ComputeStats(
139 vtkFlashReaderInternal* internal, std::vector<unsigned int>& numBlocks, double min[3])

Callers

nothing calls this directly

Calls 2

assertFunction · 0.50
ReadMetaDataMethod · 0.45

Tested by

no test coverage detected