|
VTK
|
A directed graph. More...
#include <vtkDirectedGraph.h>
Inherits vtkGraph.
Public Types | |
| typedef vtkGraph | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual int | GetDataObjectType () |
| virtual bool | IsStructureValid (vtkGraph *g) |
Static Public Member Functions | |
| static vtkDirectedGraph * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkDirectedGraph * | SafeDownCast (vtkObject *o) |
| static vtkDirectedGraph * | GetData (vtkInformation *info) |
| static vtkDirectedGraph * | GetData (vtkInformationVector *v, int i=0) |
Protected Member Functions | |
| vtkDirectedGraph () | |
| ~vtkDirectedGraph () | |
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().
Definition at line 45 of file vtkDirectedGraph.h.
| typedef vtkGraph vtkDirectedGraph::Superclass |
Definition at line 49 of file vtkDirectedGraph.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
| void vtkDirectedGraph::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
|
inlinevirtual |
Return what type of dataset this is.
Definition at line 53 of file vtkDirectedGraph.h.
|
static |
Retrieve a graph from an information vector.
|
static |
Retrieve a graph from an information vector.
|
virtual |
Check the storage, and accept it if it is a valid undirected graph. This is public to allow the ToDirected/UndirectedGraph to work.
1.8.7