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

Method SetBlockVisibility

Rendering/HyperTreeGrid/vtkHyperTreeGridMapper.cxx:168–181  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

166
167//------------------------------------------------------------------------------
168void vtkHyperTreeGridMapper::SetBlockVisibility(unsigned int index, bool visible)
169{
170 if (visible)
171 {
172 this->BlocksShown.insert(index);
173 this->BlocksHidden.erase(index);
174 }
175 else
176 {
177 this->BlocksHidden.insert(index);
178 this->BlocksShown.erase(index);
179 }
180 this->Modified();
181}
182
183//------------------------------------------------------------------------------
184bool vtkHyperTreeGridMapper::GetBlockVisibility(unsigned int index)

Callers 1

Calls 3

insertMethod · 0.45
eraseMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected