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

Method ProcessNodeNoChange

Filters/HyperTree/vtkHyperTreeGridEvaluateCoarse.cxx:116–139  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

114
115//------------------------------------------------------------------------------
116void vtkHyperTreeGridEvaluateCoarse::ProcessNodeNoChange(
117 vtkHyperTreeGridNonOrientedCursor* outCursor)
118{
119 vtkIdType id = outCursor->GetGlobalNodeIndex();
120 this->OutData->CopyData(this->InData, id, id);
121
122 if (outCursor->IsLeaf() || outCursor->IsMasked())
123 {
124 return;
125 }
126
127 // Coarse
128 for (unsigned int ichild = 0; ichild < this->NumberOfChildren; ++ichild)
129 {
130 if (this->CheckAbort())
131 {
132 break;
133 }
134 outCursor->ToChild(ichild);
135 // We go through the children's cells
136 this->ProcessNodeNoChange(outCursor);
137 outCursor->ToParent();
138 }
139}
140
141//------------------------------------------------------------------------------
142void vtkHyperTreeGridEvaluateCoarse::ProcessNode(vtkHyperTreeGridNonOrientedCursor* outCursor)

Callers 1

ProcessTreesMethod · 0.95

Calls 7

CheckAbortMethod · 0.80
GetGlobalNodeIndexMethod · 0.45
CopyDataMethod · 0.45
IsLeafMethod · 0.45
IsMaskedMethod · 0.45
ToChildMethod · 0.45
ToParentMethod · 0.45

Tested by

no test coverage detected