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

Method IsMasked

Common/DataModel/vtkHyperTreeGridGeometryLevelEntry.cxx:74–82  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

72
73//------------------------------------------------------------------------------
74bool vtkHyperTreeGridGeometryLevelEntry::IsMasked(const vtkHyperTreeGrid* grid) const
75{
76 if (this->Tree && const_cast<vtkHyperTreeGrid*>(grid)->HasMask())
77 {
78 return const_cast<vtkHyperTreeGrid*>(grid)->GetMask()->GetValue(this->GetGlobalNodeIndex()) !=
79 0;
80 }
81 return false;
82}
83
84//------------------------------------------------------------------------------
85bool vtkHyperTreeGridGeometryLevelEntry::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