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

Method DisableAllArrays

Common/Core/vtkDataArraySelection.cxx:154–171  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

152
153//------------------------------------------------------------------------------
154void vtkDataArraySelection::DisableAllArrays()
155{
156 vtkDebugMacro("Disabling all arrays.");
157 int modified = 0;
158 for (auto& apair : this->Internal->Arrays)
159 {
160 if (apair.second)
161 {
162 apair.second = false;
163 modified = 1;
164 }
165 }
166
167 if (modified)
168 {
169 this->Modified();
170 }
171}
172
173//------------------------------------------------------------------------------
174int vtkDataArraySelection::GetNumberOfArrays() const

Callers 15

DisableAllCellArraysMethod · 0.80
DisableAllCellArraysMethod · 0.80
DisableAllCellArraysMethod · 0.80
DisableAllCellArraysMethod · 0.80
DisableAllPointArraysMethod · 0.80
DisableAllPointArraysMethod · 0.80
DisableAllCellArraysMethod · 0.80
DisableAllCellArraysMethod · 0.80
DisableAllPointArraysMethod · 0.80
DisableAllCellArraysMethod · 0.80

Calls 1

ModifiedMethod · 0.45

Tested by 13

TestIOSSAssembliesFunction · 0.64
TestIOSSExodusSetArraysFunction · 0.64
TestIOSSTri6Function · 0.64
testFirstMethod · 0.64
testSecondMethod · 0.64
testFourthMethod · 0.64
testFifthMethod · 0.64
checkParticlesMethod · 0.64
testSelectPartsMethod · 0.64
testSelectArraysMethod · 0.64