VTK
|
A directed graph. More...
#include <vtkDirectedGraph.h>
Public Types | |
typedef vtkGraph | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkDirectedGraph * | NewInstance () const |
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 (vtkObjectBase *o) |
static vtkDirectedGraph * | GetData (vtkInformation *info) |
static vtkDirectedGraph * | GetData (vtkInformationVector *v, int i=0) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
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 46 of file vtkDirectedGraph.h.
typedef vtkGraph vtkDirectedGraph::Superclass |
Definition at line 50 of file vtkDirectedGraph.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
Reimplemented in vtkDirectedAcyclicGraph.
|
static |
|
protectedvirtual |
Reimplemented in vtkDirectedAcyclicGraph.
vtkDirectedGraph* vtkDirectedGraph::NewInstance | ( | ) | const |
void vtkDirectedGraph::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
inlinevirtual |
Return what type of dataset this is.
Reimplemented in vtkDirectedAcyclicGraph.
Definition at line 54 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.
Reimplemented in vtkDirectedAcyclicGraph.