Helper class for building a directed or directed graph.
More...
#include <vtkMutableGraphHelper.h>
Inherits vtkObject.
Helper class for building a directed or directed graph.
vtkMutableGraphHelper has helper methods AddVertex and AddEdge which add vertices/edges to the underlying mutable graph. This is helpful in filters which need to (re)construct graphs which may be either directed or undirected.
- See Also
- vtkGraph vtkMutableDirectedGraph vtkMutableUndirectedGraph
Definition at line 46 of file vtkMutableGraphHelper.h.
| vtkMutableGraphHelper::vtkMutableGraphHelper |
( |
| ) |
|
|
protected |
| vtkMutableGraphHelper::~vtkMutableGraphHelper |
( |
| ) |
|
|
protected |
| static int vtkMutableGraphHelper::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
| virtual int vtkMutableGraphHelper::IsA |
( |
const char * |
type | ) |
|
|
virtual |
| virtual vtkObjectBase* vtkMutableGraphHelper::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
| void vtkMutableGraphHelper::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
| void vtkMutableGraphHelper::SetGraph |
( |
vtkGraph * |
g | ) |
|
| vtkGraph* vtkMutableGraphHelper::GetGraph |
( |
| ) |
|
| vtkEdgeType vtkMutableGraphHelper::AddEdge |
( |
vtkIdType |
u, |
|
|
vtkIdType |
v |
|
) |
| |
Add an edge to the underlying mutable graph.
| vtkGraphEdge* vtkMutableGraphHelper::AddGraphEdge |
( |
vtkIdType |
u, |
|
|
vtkIdType |
v |
|
) |
| |
Add an edge to the underlying mutable graph.
| vtkIdType vtkMutableGraphHelper::AddVertex |
( |
| ) |
|
Add a vertex to the underlying mutable graph.
| void vtkMutableGraphHelper::RemoveVertex |
( |
vtkIdType |
v | ) |
|
Remove a vertex from the underlying mutable graph.
| void vtkMutableGraphHelper::RemoveVertices |
( |
vtkIdTypeArray * |
verts | ) |
|
Remove a collection of vertices from the underlying mutable graph.
| void vtkMutableGraphHelper::RemoveEdge |
( |
vtkIdType |
e | ) |
|
Remove an edge from the underlying mutable graph.
| void vtkMutableGraphHelper::RemoveEdges |
( |
vtkIdTypeArray * |
edges | ) |
|
Remove a collection of edges from the underlying mutable graph.
| virtual vtkGraph* vtkMutableGraphHelper::GetInternalGraph |
( |
| ) |
|
|
protectedvirtual |
| void vtkMutableGraphHelper::SetInternalGraph |
( |
vtkGraph * |
g | ) |
|
|
protected |
| vtkGraph* vtkMutableGraphHelper::InternalGraph |
|
protected |
The documentation for this class was generated from the following file: