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

Method GetObjectTypeIndexFromObjectType

IO/Exodus/vtkExodusIIReader.cxx:2877–2888  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2875
2876//------------------------------------------------------------------------------
2877int vtkExodusIIReaderPrivate::GetObjectTypeIndexFromObjectType(int otyp)
2878{
2879 int i;
2880 for (i = 0; i < num_obj_types; ++i)
2881 {
2882 if (obj_types[i] == otyp)
2883 {
2884 return i;
2885 }
2886 }
2887 return -1;
2888}
2889
2890//------------------------------------------------------------------------------
2891int vtkExodusIIReaderPrivate::GetNumberOfObjectsAtTypeIndex(int typeIndex)

Callers 13

GetCacheOrReadMethod · 0.95
GetSortedObjectInfoMethod · 0.95
GetUnsortedObjectInfoMethod · 0.95
GetObjectArrayNameMethod · 0.95
GetObjectArrayStatusMethod · 0.95
SetObjectArrayStatusMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected