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

Method SetMask

Common/DataModel/vtkHyperTreeGridEntry.cxx:57–63  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

55
56//------------------------------------------------------------------------------
57void vtkHyperTreeGridEntry::SetMask(
58 const vtkHyperTreeGrid* grid, const vtkHyperTree* tree, bool value)
59{
60 assert("pre: not_tree" && tree);
61 const_cast<vtkHyperTreeGrid*>(grid)->GetMask()->InsertTuple1(
62 this->GetGlobalNodeIndex(tree), value);
63}
64
65//------------------------------------------------------------------------------
66bool vtkHyperTreeGridEntry::IsMasked(const vtkHyperTreeGrid* grid, const vtkHyperTree* tree) const

Callers

nothing calls this directly

Calls 4

GetGlobalNodeIndexMethod · 0.95
InsertTuple1Method · 0.80
assertFunction · 0.50
GetMaskMethod · 0.45

Tested by

no test coverage detected