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

Method NextGraphEdge

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

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected