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

Method SetSelectionArrayStatus

IO/Geometry/vtkOpenFOAMReader.cxx:11368–11384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11366}
11367
11368void vtkOpenFOAMReader::SetSelectionArrayStatus(
11369 vtkDataArraySelection* s, const char* name, int status)
11370{
11371 vtkMTimeType mTime = s->GetMTime();
11372 if (status)
11373 {
11374 s->EnableArray(name);
11375 }
11376 else
11377 {
11378 s->DisableArray(name);
11379 }
11380 if (mTime != s->GetMTime()) // indicate that the pipeline needs to be updated
11381 {
11382 this->Modified();
11383 }
11384}
11385
11386const char* vtkOpenFOAMReader::GetSelectionArrayName(vtkDataArraySelection* s, int index)
11387{

Callers 4

SetCellArrayStatusFunction · 0.80
SetPointArrayStatusFunction · 0.80
SetLagrangianArrayStatusFunction · 0.80
SetPatchArrayStatusFunction · 0.80

Calls 4

EnableArrayMethod · 0.80
DisableArrayMethod · 0.80
GetMTimeMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected