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

Method SetMaterialArrayStatus

IO/Exodus/vtkExodusIIReader.cxx:6243–6255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6241}
6242
6243void vtkExodusIIReader::SetMaterialArrayStatus(int index, int flag)
6244{
6245 // Only modify if we are 'out of sync'
6246 if (this->Metadata->GetMaterialStatus(index) != flag)
6247 {
6248 this->Metadata->SetMaterialStatus(index, flag);
6249
6250 // Because which materials are on/off affects the
6251 // geometry we need to remake the mesh cache
6252 // this->RemakeDataCacheFlag = 1;
6253 this->Modified();
6254 }
6255}
6256
6257void vtkExodusIIReader::SetMaterialArrayStatus(const char* matl, int flag)
6258{

Callers 1

SetAllArrayStatusMethod · 0.95

Calls 3

GetMaterialStatusMethod · 0.80
SetMaterialStatusMethod · 0.80
ModifiedMethod · 0.45

Tested by

no test coverage detected