------------------------------------------------------------------------------
| 123 | |
| 124 | //------------------------------------------------------------------------------ |
| 125 | vtkGraphEdge* 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 | //------------------------------------------------------------------------------ |
| 139 | void vtkEdgeListIterator::Increment() |