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

Method NextGraphEdge

Common/DataModel/vtkEdgeListIterator.cxx:125–136  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

123
124//------------------------------------------------------------------------------
125vtkGraphEdge* vtkEdgeListIterator::NextGraphEdge()
126{
127 vtkEdgeType e = this->Next();
128 if (!this->GraphEdge)
129 {
130 this->GraphEdge = vtkGraphEdge::New();
131 }
132 this->GraphEdge->SetSource(e.Source);
133 this->GraphEdge->SetTarget(e.Target);
134 this->GraphEdge->SetId(e.Id);
135 return this->GraphEdge;
136}
137
138//------------------------------------------------------------------------------
139void vtkEdgeListIterator::Increment()

Callers

nothing calls this directly

Calls 5

NextMethod · 0.95
NewFunction · 0.50
SetSourceMethod · 0.45
SetTargetMethod · 0.45
SetIdMethod · 0.45

Tested by

no test coverage detected