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

Method RestoreMeshCache

IO/ParallelNetCDF/vtkPSLACReader.cxx:793–806  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

791
792//------------------------------------------------------------------------------
793int vtkPSLACReader::RestoreMeshCache(vtkMultiBlockDataSet* surfaceOutput,
794 vtkMultiBlockDataSet* volumeOutput, vtkMultiBlockDataSet* compositeOutput)
795{
796 if (!this->Superclass::RestoreMeshCache(surfaceOutput, volumeOutput, compositeOutput))
797 return 0;
798
799 // Record the global ids in the point data.
800 vtkPointData* pd =
801 vtkPointData::SafeDownCast(compositeOutput->GetInformation()->Get(vtkSLACReader::POINT_DATA()));
802 pd->SetGlobalIds(this->PInternal->LocalToGlobalIds);
803 pd->SetPedigreeIds(this->PInternal->LocalToGlobalIds);
804
805 return 1;
806}
807
808//------------------------------------------------------------------------------
809vtkSmartPointer<vtkDataArray> vtkPSLACReader::ReadPointDataArray(int ncFD, int varId)

Callers

nothing calls this directly

Calls 4

SetGlobalIdsMethod · 0.80
SetPedigreeIdsMethod · 0.80
GetMethod · 0.45
GetInformationMethod · 0.45

Tested by

no test coverage detected