ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkMutableUndirectedGraph Class Reference

vtkMutableUndirectedGraph - An editable undirected graph. More...

Inheritance diagram for Kitware.VTK.vtkMutableUndirectedGraph:
[legend]
Collaboration diagram for Kitware.VTK.vtkMutableUndirectedGraph:
[legend]

List of all members.

Public Member Functions

 vtkMutableUndirectedGraph (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkMutableUndirectedGraph ()
 Undocumented Block.
vtkGraphEdge AddGraphEdge (int u, int v)
 Variant of AddEdge() that returns a heavyweight vtkGraphEdge object. The graph owns the reference of the edge and will replace its contents on the next call to AddGraphEdge().
int AddVertex ()
 Adds a vertex to the graph and returns the index of the new vertex.
int AddVertex (vtkVariantArray propertyArr)
 Adds a vertex to the graph with associated properties defined in propertyArr and returns the index of the new vertex. The number and order of values in propertyArr must match up with the arrays in the vertex data retrieved by GetVertexData().
override int IsA (string type)
 Undocumented Block.
void LazyAddEdge (int u, int v)
 Adds an undirected edge from u to v, where u and v are vertex indices.
void LazyAddEdge (int u, int v, vtkVariantArray propertyArr)
 Adds an undirected edge from u to v, where u and v are vertex indices.
void LazyAddVertex ()
 Adds a vertex to the graph.
void LazyAddVertex (vtkVariantArray propertyArr)
 Adds a vertex to the graph with associated properties defined in propertyArr. The number and order of values in propertyArr must match up with the arrays in the vertex data retrieved by GetVertexData().
new vtkMutableUndirectedGraph NewInstance ()
 Undocumented Block.
void RemoveEdge (int e)
 Removes the edge from the graph. Note: This invalidates the last edge index, which is reassigned to e.
void RemoveEdges (vtkIdTypeArray arr)
 Removes a collection of edges from the graph.
void RemoveVertex (int v)
 Removes the vertex from the graph along with any connected edges. Note: This invalidates the last vertex index, which is reassigned to v.
void RemoveVertices (vtkIdTypeArray arr)
 Removes a collection of vertices from the graph along with any connected edges.
virtual int SetNumberOfVertices (int numVerts)
 Allocates space for the specified number of vertices in the graph's internal data structures. The previous number of vertices is returned on success and -1 is returned on failure.

Static Public Member Functions

static new
vtkMutableUndirectedGraph 
New ()
 Undocumented Block.
static new int IsTypeOf (string type)
 Undocumented Block.
static new
vtkMutableUndirectedGraph 
SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkMutableUndirectedGraph"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "25vtkMutableUndirectedGraph"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkMutableUndirectedGraph_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkMutableUndirectedGraph_AddGraphEdge_01 (HandleRef pThis, int u, int v, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkMutableUndirectedGraph_AddVertex_02 (HandleRef pThis)
static internal int vtkMutableUndirectedGraph_AddVertex_03 (HandleRef pThis, HandleRef propertyArr)
static internal int vtkMutableUndirectedGraph_IsA_04 (HandleRef pThis, string type)
static internal int vtkMutableUndirectedGraph_IsTypeOf_05 (string type)
static internal void vtkMutableUndirectedGraph_LazyAddEdge_06 (HandleRef pThis, int u, int v)
static internal void vtkMutableUndirectedGraph_LazyAddEdge_07 (HandleRef pThis, int u, int v, HandleRef propertyArr)
static internal void vtkMutableUndirectedGraph_LazyAddVertex_08 (HandleRef pThis)
static internal void vtkMutableUndirectedGraph_LazyAddVertex_09 (HandleRef pThis, HandleRef propertyArr)
static internal IntPtr vtkMutableUndirectedGraph_NewInstance_11 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkMutableUndirectedGraph_RemoveEdge_12 (HandleRef pThis, int e)
static internal void vtkMutableUndirectedGraph_RemoveEdges_13 (HandleRef pThis, HandleRef arr)
static internal void vtkMutableUndirectedGraph_RemoveVertex_14 (HandleRef pThis, int v)
static internal void vtkMutableUndirectedGraph_RemoveVertices_15 (HandleRef pThis, HandleRef arr)
static internal IntPtr vtkMutableUndirectedGraph_SafeDownCast_16 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkMutableUndirectedGraph_SetNumberOfVertices_17 (HandleRef pThis, int numVerts)

Static Private Member Functions

static vtkMutableUndirectedGraph ()
 Automatically generated type registration mechanics.

Detailed Description

vtkMutableUndirectedGraph - An editable undirected graph.

Description vtkMutableUndirectedGraph is an undirected graph with additional functions for adding vertices and edges. ShallowCopy(), DeepCopy(), CheckedShallowCopy(), and CheckedDeepCopy() will succeed when the argument is a vtkUndirectedGraph or vtkMutableUndirectedGraph.

vtkUndirectedGraph vtkGraph


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Undocumented Block.


Member Function Documentation

Variant of AddEdge() that returns a heavyweight vtkGraphEdge object. The graph owns the reference of the edge and will replace its contents on the next call to AddGraphEdge().

Note:
This is a less efficient method for use with wrappers. In C++ you should use the faster AddEdge().

Here is the call graph for this function:

Adds a vertex to the graph and returns the index of the new vertex.

Note:
In a distributed graph (i.e. a graph whose DistributedHelper is non-null), this routine cannot be used to add a vertex if the vertices in the graph have pedigree IDs, because this routine will always add the vertex locally, which may conflict with the proper location of the vertex based on the distribution of the pedigree IDs.

Adds a vertex to the graph with associated properties defined in propertyArr and returns the index of the new vertex. The number and order of values in propertyArr must match up with the arrays in the vertex data retrieved by GetVertexData().

If a vertex with the given pedigree ID already exists, its properties will be overwritten with the properties in propertyArr and the existing vertex index will be returned.

Note:
In a distributed graph (i.e. a graph whose DistributedHelper is non-null) the vertex added or found might not be local. In this case, AddVertex will wait until the vertex can be added or found remotely, so that the proper vertex index can be returned. If you don't actually need to use the vertex index, consider calling LazyAddVertex, which provides better performance by eliminating the delays associated with returning the vertex index.
override void Kitware.VTK.vtkMutableUndirectedGraph.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkUndirectedGraph.

override int Kitware.VTK.vtkMutableUndirectedGraph.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkUndirectedGraph.

static new int Kitware.VTK.vtkMutableUndirectedGraph.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkUndirectedGraph.

Adds an undirected edge from u to v, where u and v are vertex indices.

This method is lazily evaluated for distributed graphs (i.e. graphs whose DistributedHelper is non-null) the next time Synchronize is called on the helper.

void Kitware.VTK.vtkMutableUndirectedGraph.LazyAddEdge ( int  u,
int  v,
vtkVariantArray  propertyArr 
)

Adds an undirected edge from u to v, where u and v are vertex indices.

The number and order of values in propertyArr must match up with the arrays in the edge data retrieved by GetEdgeData().

This method is lazily evaluated for distributed graphs (i.e. graphs whose DistributedHelper is non-null) the next time Synchronize is called on the helper.

Adds a vertex to the graph.

This method is lazily evaluated for distributed graphs (i.e. graphs whose DistributedHelper is non-null) the next time Synchronize is called on the helper.

Adds a vertex to the graph with associated properties defined in propertyArr. The number and order of values in propertyArr must match up with the arrays in the vertex data retrieved by GetVertexData().

If a vertex with the given pedigree ID already exists, its properties will be overwritten with the properties in propertyArr.

This method is lazily evaluated for distributed graphs (i.e. graphs whose DistributedHelper is non-null) the next time Synchronize is called on the helper.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkUndirectedGraph.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkUndirectedGraph.

Removes the edge from the graph. Note: This invalidates the last edge index, which is reassigned to e.

Removes a collection of edges from the graph.

Removes the vertex from the graph along with any connected edges. Note: This invalidates the last vertex index, which is reassigned to v.

Removes a collection of vertices from the graph along with any connected edges.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkUndirectedGraph.

Here is the call graph for this function:

virtual int Kitware.VTK.vtkMutableUndirectedGraph.SetNumberOfVertices ( int  numVerts) [virtual]

Allocates space for the specified number of vertices in the graph's internal data structures. The previous number of vertices is returned on success and -1 is returned on failure.

This has no effect on the number of vertex coordinate tuples or vertex attribute tuples allocated; you are responsible for guaranteeing these match. Also, this call is not implemented for distributed-memory graphs since the semantics are unclear; calling this function on a graph with a non-NULL DistributedGraphHelper will generate an error message, no allocation will be performed, and a value of -1 will be returned.

static internal IntPtr Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_AddGraphEdge_01 ( HandleRef  pThis,
int  u,
int  v,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_AddVertex_02 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_AddVertex_03 ( HandleRef  pThis,
HandleRef  propertyArr 
) [private]
static internal int Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_IsA_04 ( HandleRef  pThis,
string  type 
) [private]
static internal void Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_LazyAddEdge_06 ( HandleRef  pThis,
int  u,
int  v 
) [private]
static internal void Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_LazyAddEdge_07 ( HandleRef  pThis,
int  u,
int  v,
HandleRef  propertyArr 
) [private]
static internal void Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_LazyAddVertex_08 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_LazyAddVertex_09 ( HandleRef  pThis,
HandleRef  propertyArr 
) [private]
static internal IntPtr Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_NewInstance_11 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_RemoveEdge_12 ( HandleRef  pThis,
int  e 
) [private]
static internal void Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_RemoveEdges_13 ( HandleRef  pThis,
HandleRef  arr 
) [private]
static internal void Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_RemoveVertex_14 ( HandleRef  pThis,
int  v 
) [private]
static internal void Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_RemoveVertices_15 ( HandleRef  pThis,
HandleRef  arr 
) [private]
static internal IntPtr Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_SafeDownCast_16 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkMutableUndirectedGraph.vtkMutableUndirectedGraph_SetNumberOfVertices_17 ( HandleRef  pThis,
int  numVerts 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkMutableUndirectedGraph.MRClassNameKey = "25vtkMutableUndirectedGraph" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkUndirectedGraph.

new const string Kitware.VTK.vtkMutableUndirectedGraph.MRFullTypeName = "Kitware.VTK.vtkMutableUndirectedGraph"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkUndirectedGraph.


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