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

Method GetObjectInfo

IO/Exodus/vtkExodusIIReader.cxx:2913–2933  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2911
2912//------------------------------------------------------------------------------
2913vtkExodusIIReaderPrivate::ObjectInfoType* vtkExodusIIReaderPrivate::GetObjectInfo(
2914 int typeIndex, int objectIndex)
2915{
2916 if (typeIndex < 0)
2917 {
2918 return nullptr;
2919 }
2920 else if (typeIndex < 3)
2921 {
2922 return &this->BlockInfo[obj_types[typeIndex]][objectIndex];
2923 }
2924 else if (typeIndex < 8)
2925 {
2926 return &this->SetInfo[obj_types[typeIndex]][objectIndex];
2927 }
2928 else if (typeIndex < 12)
2929 {
2930 return &this->MapInfo[obj_types[typeIndex]][objectIndex];
2931 }
2932 return nullptr;
2933}
2934
2935//------------------------------------------------------------------------------
2936vtkExodusIIReaderPrivate::ObjectInfoType* vtkExodusIIReaderPrivate::GetSortedObjectInfo(

Callers 5

GetCacheOrReadMethod · 0.95
GetSortedObjectInfoMethod · 0.95
GetUnsortedObjectInfoMethod · 0.95
RequestDataMethod · 0.95
SetUpEmptyGridMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected