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

vtkTreeDFSIterator - depth first seedgeh iterator through a vtkGraph More...

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

List of all members.

Public Types

enum  ModeType { DISCOVER = 0, FINISH = 1 }
 Undocumented Block. More...

Public Member Functions

 vtkTreeDFSIterator (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkTreeDFSIterator ()
 Undocumented Block.
virtual int GetMode ()
 Set the visit mode of the iterator. Mode can be DISCOVER (0): Order by discovery time FINISH (1): Order by finish time Default is DISCOVER. Use DISCOVER for top-down algorithms where parents need to be processed before children. Use FINISH for bottom-up algorithms where children need to be processed before parents.
virtual int GetStartVertex ()
 The start vertex of the seedgeh. The tree iterator will only iterate over the subtree rooted at vertex. If not set (or set to a negative value), starts at the root of the tree.
bool HasNext ()
 Return true when all vertices have been visited.
override int IsA (string type)
 Undocumented Block.
new vtkTreeDFSIterator NewInstance ()
 Undocumented Block.
int Next ()
 The next vertex visited in the graph.
void SetMode (int mode)
 Set the visit mode of the iterator. Mode can be DISCOVER (0): Order by discovery time FINISH (1): Order by finish time Default is DISCOVER. Use DISCOVER for top-down algorithms where parents need to be processed before children. Use FINISH for bottom-up algorithms where children need to be processed before parents.
void SetStartVertex (int vertex)
 The start vertex of the seedgeh. The tree iterator will only iterate over the subtree rooted at vertex. If not set (or set to a negative value), starts at the root of the tree.
void SetTree (vtkTree graph)
 Set the graph to iterate over.

Static Public Member Functions

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

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "18vtkTreeDFSIterator"
 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 vtkTreeDFSIterator_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkTreeDFSIterator_GetMode_01 (HandleRef pThis)
static internal int vtkTreeDFSIterator_GetStartVertex_02 (HandleRef pThis)
static internal byte vtkTreeDFSIterator_HasNext_03 (HandleRef pThis)
static internal int vtkTreeDFSIterator_IsA_04 (HandleRef pThis, string type)
static internal int vtkTreeDFSIterator_IsTypeOf_05 (string type)
static internal IntPtr vtkTreeDFSIterator_NewInstance_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkTreeDFSIterator_Next_08 (HandleRef pThis)
static internal IntPtr vtkTreeDFSIterator_SafeDownCast_09 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkTreeDFSIterator_SetMode_10 (HandleRef pThis, int mode)
static internal void vtkTreeDFSIterator_SetStartVertex_11 (HandleRef pThis, int vertex)
static internal void vtkTreeDFSIterator_SetTree_12 (HandleRef pThis, HandleRef graph)

Static Private Member Functions

static vtkTreeDFSIterator ()
 Automatically generated type registration mechanics.

Detailed Description

vtkTreeDFSIterator - depth first seedgeh iterator through a vtkGraph

Description vtkTreeDFSIterator performs a depth first seedgeh of a tree. First, you must set the tree on which you are going to iterate, and set the starting vertex and mode. The mode is either DISCOVER, in which case vertices are visited as they are first reached, or FINISH, in which case vertices are visited when they are done, i.e. all adjacent vertices have been discovered already.

After setting up the iterator, the normal mode of operation is to set up a <code>while(iter->HasNext())</code> loop, with the statement <code>vtkIdType vertex = iter->Next()</code> inside the loop.


Member Enumeration Documentation

Undocumented Block.

Enumerator:
DISCOVER 

enum member

FINISH 

enum member


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Undocumented Block.


Member Function Documentation

override void Kitware.VTK.vtkTreeDFSIterator.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.vtkObject.

virtual int Kitware.VTK.vtkTreeDFSIterator.GetMode ( ) [virtual]

Set the visit mode of the iterator. Mode can be DISCOVER (0): Order by discovery time FINISH (1): Order by finish time Default is DISCOVER. Use DISCOVER for top-down algorithms where parents need to be processed before children. Use FINISH for bottom-up algorithms where children need to be processed before parents.

The start vertex of the seedgeh. The tree iterator will only iterate over the subtree rooted at vertex. If not set (or set to a negative value), starts at the root of the tree.

Return true when all vertices have been visited.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

The next vertex visited in the graph.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

Set the visit mode of the iterator. Mode can be DISCOVER (0): Order by discovery time FINISH (1): Order by finish time Default is DISCOVER. Use DISCOVER for top-down algorithms where parents need to be processed before children. Use FINISH for bottom-up algorithms where children need to be processed before parents.

The start vertex of the seedgeh. The tree iterator will only iterate over the subtree rooted at vertex. If not set (or set to a negative value), starts at the root of the tree.

Set the graph to iterate over.

static internal int Kitware.VTK.vtkTreeDFSIterator.vtkTreeDFSIterator_GetMode_01 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkTreeDFSIterator.vtkTreeDFSIterator_GetStartVertex_02 ( HandleRef  pThis) [private]
static internal byte Kitware.VTK.vtkTreeDFSIterator.vtkTreeDFSIterator_HasNext_03 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkTreeDFSIterator.vtkTreeDFSIterator_IsA_04 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkTreeDFSIterator.vtkTreeDFSIterator_IsTypeOf_05 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkTreeDFSIterator.vtkTreeDFSIterator_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkTreeDFSIterator.vtkTreeDFSIterator_NewInstance_07 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkTreeDFSIterator.vtkTreeDFSIterator_Next_08 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkTreeDFSIterator.vtkTreeDFSIterator_SafeDownCast_09 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkTreeDFSIterator.vtkTreeDFSIterator_SetMode_10 ( HandleRef  pThis,
int  mode 
) [private]
static internal void Kitware.VTK.vtkTreeDFSIterator.vtkTreeDFSIterator_SetStartVertex_11 ( HandleRef  pThis,
int  vertex 
) [private]
static internal void Kitware.VTK.vtkTreeDFSIterator.vtkTreeDFSIterator_SetTree_12 ( HandleRef  pThis,
HandleRef  graph 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkTreeDFSIterator.MRClassNameKey = "18vtkTreeDFSIterator" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


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