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

Method IsMasked

Common/DataModel/vtkHyperTreeGridLevelEntry.cxx:92–100  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 2

SubdivideLeafMethod · 0.95
ToChildMethod · 0.95

Calls 4

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

Tested by

no test coverage detected