Go to the documentation of this file.
34 #ifndef vtkMutableGraphHelper_h
35 #define vtkMutableGraphHelper_h
37 #include "vtkInfovisCoreModule.h"
void RemoveEdges(vtkIdTypeArray *edges)
Remove a collection of edges from the underlying mutable graph.
void SetGraph(vtkGraph *g)
Set the underlying graph that you want to modify with this helper.
void RemoveVertex(vtkIdType v)
Remove a vertex from the underlying mutable graph.
An editable directed graph.
std::pair< boost::graph_traits< vtkGraph * >::edge_iterator, boost::graph_traits< vtkGraph * >::edge_iterator > edges(vtkGraph *g)
An editable undirected graph.
represent and manipulate attribute data in a dataset
vtkMutableDirectedGraph * DirectedGraph
abstract base class for most VTK objects
~vtkMutableGraphHelper() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMutableUndirectedGraph * UndirectedGraph
Helper class for building a directed or directed graph.
static vtkMutableGraphHelper * New()
vtkGraphEdge * AddGraphEdge(vtkIdType u, vtkIdType v)
void RemoveVertices(vtkIdTypeArray *verts)
Remove a collection of vertices from the underlying mutable graph.
Representation of a single graph edge.
a simple class to control print indentation
vtkEdgeType AddEdge(vtkIdType u, vtkIdType v)
Add an edge to the underlying mutable graph.
void SetInternalGraph(vtkGraph *g)
vtkIdType AddVertex()
Add a vertex to the underlying mutable graph.
dynamic, self-adjusting array of vtkIdType
Base class for graph data types.
void RemoveEdge(vtkIdType e)
Remove an edge from the underlying mutable graph.