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

Method SetMask

Common/DataModel/vtkHyperTreeGridGeometryLevelEntry.cxx:67–71  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

65
66//------------------------------------------------------------------------------
67void vtkHyperTreeGridGeometryLevelEntry::SetMask(const vtkHyperTreeGrid* grid, bool value)
68{
69 assert("pre: not_tree" && this->Tree);
70 const_cast<vtkHyperTreeGrid*>(grid)->GetMask()->InsertTuple1(this->GetGlobalNodeIndex(), value);
71}
72
73//------------------------------------------------------------------------------
74bool vtkHyperTreeGridGeometryLevelEntry::IsMasked(const vtkHyperTreeGrid* grid) 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