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

Method GetNodeUpArcIds

Common/DataModel/vtkReebGraph.cxx:2146–2159  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2144
2145//------------------------------------------------------------------------------
2146void vtkReebGraph::Implementation::GetNodeUpArcIds(vtkIdType nodeId, vtkIdList* arcIdList)
2147{
2148 vtkIdType i = 0;
2149
2150 if (!arcIdList)
2151 return;
2152
2153 for (vtkIdType arcId = this->GetNode(nodeId)->ArcUpId; arcId;
2154 arcId = this->GetArc(arcId)->ArcDwId0)
2155 {
2156 arcIdList->InsertId(i, arcId);
2157 i++;
2158 }
2159}
2160
2161//------------------------------------------------------------------------------
2162void vtkReebGraph::Implementation::FindLoops()

Callers 1

PrintNodeDataMethod · 0.80

Calls 3

GetNodeMethod · 0.95
GetArcMethod · 0.95
InsertIdMethod · 0.80

Tested by

no test coverage detected