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

Method GetNodeDownArcIds

Common/DataModel/vtkReebGraph.cxx:2128–2143  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2126
2127//------------------------------------------------------------------------------
2128void vtkReebGraph::Implementation::GetNodeDownArcIds(vtkIdType nodeId, vtkIdList* arcIdList)
2129{
2130 vtkIdType i = 0;
2131
2132 if (!arcIdList)
2133 return;
2134
2135 arcIdList->Reset();
2136
2137 for (vtkIdType arcId = this->GetNode(nodeId)->ArcDownId; arcId;
2138 arcId = this->GetArc(arcId)->ArcDwId1)
2139 {
2140 arcIdList->InsertId(i, arcId);
2141 i++;
2142 }
2143}
2144
2145//------------------------------------------------------------------------------
2146void vtkReebGraph::Implementation::GetNodeUpArcIds(vtkIdType nodeId, vtkIdList* arcIdList)

Callers 1

PrintNodeDataMethod · 0.80

Calls 4

GetNodeMethod · 0.95
GetArcMethod · 0.95
InsertIdMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected