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

Method IsMasked

Common/DataModel/vtkHyperTreeGridGeometryUnlimitedLevelEntry.cxx:90–98  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

88
89//------------------------------------------------------------------------------
90bool vtkHyperTreeGridGeometryUnlimitedLevelEntry::IsMasked(const vtkHyperTreeGrid* grid) const
91{
92 if (this->Tree && const_cast<vtkHyperTreeGrid*>(grid)->HasMask())
93 {
94 return const_cast<vtkHyperTreeGrid*>(grid)->GetMask()->GetValue(this->GetGlobalNodeIndex()) !=
95 0;
96 }
97 return false;
98}
99
100//------------------------------------------------------------------------------
101bool vtkHyperTreeGridGeometryUnlimitedLevelEntry::IsLeaf(const vtkHyperTreeGrid* grid) const

Callers 1

ToChildMethod · 0.95

Calls 4

GetGlobalNodeIndexMethod · 0.95
HasMaskMethod · 0.80
GetValueMethod · 0.45
GetMaskMethod · 0.45

Tested by

no test coverage detected