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

Method SetObjectStatus

IO/Exodus/vtkExodusIIReader.cxx:4888–4907  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4886}
4887
4888void vtkExodusIIReaderPrivate::SetObjectStatus(int otyp, int k, int stat)
4889{
4890 stat = (stat != 0); // Force stat to be either 0 or 1
4891 // OK, found the object
4892 ObjectInfoType* oinfop = this->GetSortedObjectInfo(otyp, k);
4893 if (!oinfop)
4894 { // error message will have been generated by GetSortedObjectInfo()
4895 return;
4896 }
4897
4898 vtkLogF(TRACE, "vtkExodusIIReaderPrivate(%p): SetObjectStatus(%d, %d (%s), %d)",
4899 static_cast<void*>(this), otyp, k, oinfop->Name.c_str(), stat);
4900
4901 if (oinfop->Status == stat)
4902 { // no change => do nothing
4903 return;
4904 }
4905 oinfop->Status = stat;
4906 this->Modified();
4907}
4908
4909void vtkExodusIIReaderPrivate::SetUnsortedObjectStatus(int otyp, int k, int stat)
4910{

Callers 15

SetEdgeBlockArrayStatusFunction · 0.80
SetFaceBlockArrayStatusFunction · 0.80
SetNodeMapArrayStatusFunction · 0.80
SetEdgeMapArrayStatusFunction · 0.80
SetFaceMapArrayStatusFunction · 0.80
SetElementMapArrayStatusFunction · 0.80
SetNodeSetArrayStatusFunction · 0.80
SetSideSetArrayStatusFunction · 0.80
SetEdgeSetArrayStatusFunction · 0.80
SetFaceSetArrayStatusFunction · 0.80
SetElementSetArrayStatusFunction · 0.80

Calls 9

GetSortedObjectInfoMethod · 0.95
ModifiedMethod · 0.95
GetObjectTypeNameMethod · 0.95
GetNumberOfObjectsMethod · 0.95
GetObjectIndexMethod · 0.95
GetObjectStatusMethod · 0.80
assertFunction · 0.50
c_strMethod · 0.45

Tested by 2

TestExodusSideSetsFunction · 0.64