VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkDirectedGraph Class Reference

A directed graph. More...

#include <vtkDirectedGraph.h>

Inheritance diagram for vtkDirectedGraph:
[legend]

Public Types

typedef vtkGraph Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkDirectedGraphNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual int GetDataObjectType ()
 
virtual bool IsStructureValid (vtkGraph *g)
 

Static Public Member Functions

static vtkDirectedGraphNew ()
 
static int IsTypeOf (const char *type)
 
static vtkDirectedGraphSafeDownCast (vtkObjectBase *o)
 
static vtkDirectedGraphGetData (vtkInformation *info)
 
static vtkDirectedGraphGetData (vtkInformationVector *v, int i=0)
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkDirectedGraph ()
 
 ~vtkDirectedGraph ()
 

Detailed Description

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 46 of file vtkDirectedGraph.h.

Member Typedef Documentation

typedef vtkGraph vtkDirectedGraph::Superclass

Definition at line 50 of file vtkDirectedGraph.h.

Constructor & Destructor Documentation

vtkDirectedGraph::vtkDirectedGraph ( )
protected
vtkDirectedGraph::~vtkDirectedGraph ( )
protected

Member Function Documentation

static vtkDirectedGraph* vtkDirectedGraph::New ( )
static
static int vtkDirectedGraph::IsTypeOf ( const char *  type)
static
virtual int vtkDirectedGraph::IsA ( const char *  type)
virtual

Reimplemented in vtkDirectedAcyclicGraph.

static vtkDirectedGraph* vtkDirectedGraph::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkDirectedGraph::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented in vtkDirectedAcyclicGraph.

vtkDirectedGraph* vtkDirectedGraph::NewInstance ( ) const
void vtkDirectedGraph::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual int vtkDirectedGraph::GetDataObjectType ( )
inlinevirtual

Return what type of dataset this is.

Reimplemented in vtkDirectedAcyclicGraph.

Definition at line 54 of file vtkDirectedGraph.h.

static vtkDirectedGraph* vtkDirectedGraph::GetData ( vtkInformation info)
static

Retrieve a graph from an information vector.

static vtkDirectedGraph* vtkDirectedGraph::GetData ( vtkInformationVector v,
int  i = 0 
)
static

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 vtkDirectedAcyclicGraph.


The documentation for this class was generated from the following file: