A directed graph.
More...
#include <vtkDirectedGraph.h>
A directed graph.
vtkDirectedGraph is a collection of vertices along with a collection of directed edges (edges that have a source and target). ShallowCopy() and DeepCopy() (and CheckedShallowCopy(), CheckedDeepCopy()) accept instances of vtkTree and vtkMutableDirectedGraph.
vtkDirectedGraph is read-only. To create an undirected graph, use an instance of vtkMutableDirectedGraph, then you may set the structure to a vtkDirectedGraph using ShallowCopy().
- See also
- vtkGraph vtkMutableDirectedGraph
- Tests:
- vtkDirectedGraph (Tests)
Definition at line 45 of file vtkDirectedGraph.h.
vtkDirectedGraph::vtkDirectedGraph |
( |
| ) |
|
|
protected |
vtkDirectedGraph::~vtkDirectedGraph |
( |
| ) |
|
|
protected |
virtual const char* vtkDirectedGraph::GetClassName |
( |
| ) |
|
|
virtual |
static int vtkDirectedGraph::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkDirectedGraph::IsA |
( |
const char * |
type | ) |
|
|
virtual |
void vtkDirectedGraph::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual int vtkDirectedGraph::GetDataObjectType |
( |
| ) |
|
|
inlinevirtual |
Retrieve a graph from an information vector.
Retrieve a graph from an information vector.
virtual bool vtkDirectedGraph::IsStructureValid |
( |
vtkGraph * |
g | ) |
|
|
virtual |
Check the storage, and accept it if it is a valid undirected graph. This is public to allow the ToDirected/UndirectedGraph to work.
Reimplemented in vtkTree, and vtkDirectedAcyclicGraph.
The documentation for this class was generated from the following file: