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

Method NextGraphEdge

Common/DataModel/vtkInEdgeIterator.cxx:48–59  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

46
47//------------------------------------------------------------------------------
48vtkGraphEdge* vtkInEdgeIterator::NextGraphEdge()
49{
50 vtkInEdgeType e = this->Next();
51 if (!this->GraphEdge)
52 {
53 this->GraphEdge = vtkGraphEdge::New();
54 }
55 this->GraphEdge->SetSource(e.Source);
56 this->GraphEdge->SetTarget(this->Vertex);
57 this->GraphEdge->SetId(e.Id);
58 return this->GraphEdge;
59}
60
61//------------------------------------------------------------------------------
62void vtkInEdgeIterator::PrintSelf(ostream& os, vtkIndent indent)

Callers 4

LocalPlacementMethod · 0.45
GlobalPlacementMethod · 0.45
CreateMethod · 0.45
FindEdgeMethod · 0.45

Calls 5

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

Tested by

no test coverage detected