37 #ifndef vtkMutableUndirectedGraph_h 38 #define vtkMutableUndirectedGraph_h 67 virtual vtkIdType SetNumberOfVertices( vtkIdType numVerts );
79 vtkIdType AddVertex();
116 vtkIdType AddVertex(
const vtkVariant& pedigreeId);
196 void LazyAddVertex();
223 void LazyAddVertex(
const vtkVariant& pedigreeId);
233 void LazyAddEdge(vtkIdType u, vtkIdType v);
247 void LazyAddEdge(vtkIdType u, vtkIdType v,
vtkVariantArray *propertyArr);
261 void LazyAddEdge(
const vtkVariant& u, vtkIdType v,
276 void LazyAddEdge(vtkIdType u,
const vtkVariant& v,
309 void RemoveVertex(vtkIdType v);
315 void RemoveEdge(vtkIdType e);
An array holding vtkVariants.
Iterates through all edges in a graph.
vtkGraphEdge * GraphEdge
Graph edge that is reused of AddGraphEdge calls.
Representation of a single graph edge.
dynamic, self-adjusting array of vtkIdType
static vtkUndirectedGraph * New()
A atomic type representing the union of many types.
a simple class to control print indentation
An editable undirected graph.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTKCOMMONDATAMODEL_EXPORT