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

Method IsMasked

Common/DataModel/vtkHyperTreeGridEntry.cxx:66–74  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

64
65//------------------------------------------------------------------------------
66bool vtkHyperTreeGridEntry::IsMasked(const vtkHyperTreeGrid* grid, const vtkHyperTree* tree) const
67{
68 if (tree && const_cast<vtkHyperTreeGrid*>(grid)->HasMask())
69 {
70 return const_cast<vtkHyperTreeGrid*>(grid)->GetMask()->GetValue(
71 this->GetGlobalNodeIndex(tree)) != 0;
72 }
73 return false;
74}
75
76//------------------------------------------------------------------------------
77bool vtkHyperTreeGridEntry::IsLeaf(

Callers 15

SubdivideLeafMethod · 0.95
BuildDescriptorFunction · 0.45
AreHTSameFunction · 0.45
GetCornerCursorsMethod · 0.45
RecursiveSearchMethod · 0.45
ComputeBoundsMethod · 0.45
GetCornerCursorsMethod · 0.45
nonOrientedCursorFunction · 0.45

Calls 4

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

Tested by 15

AreHTSameFunction · 0.36
nonOrientedCursorFunction · 0.36
CheckTreeEqualFunction · 0.36
CopyInputTreeToOutputFunction · 0.36
TestSourceFunction · 0.36
GuruMeditationFunction · 0.36
TripFunction · 0.36
CheckDepthArrayFunction · 0.36
CountMaskedTreesFunction · 0.36