------------------------------------------------------------------------------
| 36 | |
| 37 | //------------------------------------------------------------------------------ |
| 38 | void vtkMutableGraphHelper::SetGraph(vtkGraph* g) |
| 39 | { |
| 40 | this->SetInternalGraph(g); |
| 41 | this->DirectedGraph = vtkMutableDirectedGraph::SafeDownCast(this->InternalGraph); |
| 42 | this->UndirectedGraph = vtkMutableUndirectedGraph::SafeDownCast(this->InternalGraph); |
| 43 | if (!this->DirectedGraph && !this->UndirectedGraph) |
| 44 | { |
| 45 | vtkErrorMacro("The graph must be mutable."); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | //------------------------------------------------------------------------------ |
| 50 | vtkGraph* vtkMutableGraphHelper::GetGraph() |
no outgoing calls