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

Method GetNextArcId

Common/DataModel/vtkReebGraph.cxx:3236–3249  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

3234
3235//------------------------------------------------------------------------------
3236vtkIdType vtkReebGraph::Implementation::GetNextArcId()
3237{
3238 for (vtkIdType arcId = this->currentArcId + 1; arcId < this->MainArcTable.Size; arcId++)
3239 {
3240 // check if arc is cleared
3241 if (!(this->GetArc(arcId)->LabelId1 == -2))
3242 {
3243 this->currentArcId = arcId;
3244 return this->currentArcId;
3245 }
3246 }
3247
3248 return this->currentArcId;
3249}
3250
3251//------------------------------------------------------------------------------
3252vtkIdType vtkReebGraph::Implementation::GetPreviousArcId()

Callers 3

GetPreviousArcIdMethod · 0.95
CloseStreamMethod · 0.80
PrintNodeDataMethod · 0.80

Calls 1

GetArcMethod · 0.95

Tested by

no test coverage detected