------------------------------------------------------------------------------
| 46 | |
| 47 | //------------------------------------------------------------------------------ |
| 48 | vtkGraphEdge* 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 | //------------------------------------------------------------------------------ |
| 62 | void vtkInEdgeIterator::PrintSelf(ostream& os, vtkIndent indent) |
no test coverage detected