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

Method SetMask

Common/DataModel/vtkHyperTreeGridGeometryUnlimitedLevelEntry.cxx:83–87  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

81
82//------------------------------------------------------------------------------
83void vtkHyperTreeGridGeometryUnlimitedLevelEntry::SetMask(const vtkHyperTreeGrid* grid, bool value)
84{
85 assert("pre: not_tree" && this->Tree);
86 const_cast<vtkHyperTreeGrid*>(grid)->GetMask()->InsertTuple1(this->GetGlobalNodeIndex(), value);
87}
88
89//------------------------------------------------------------------------------
90bool vtkHyperTreeGridGeometryUnlimitedLevelEntry::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