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.vtkCollection Class Reference

vtkCollection - create and manipulate unsorted lists of objects More...

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

List of all members.

Public Member Functions

 vtkCollection (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkCollection ()
 Construct with empty list.
override void Register (vtkObjectBase o)
 Participate in garbage collection.
void AddItem (vtkObject arg0)
 Add an object to the list. Does not prevent duplicate entries.
vtkObject GetItemAsObject (int i)
 Get the i'th item in the collection. NULL is returned if i is out of range.
vtkObject GetNextItemAsObject ()
 See vtkGarbageCollector.h:
int GetNumberOfItems ()
 Return the number of objects in the list.
void InitTraversal ()
 Initialize the traversal of the collection. This means the data pointer is set at the beginning of the list.
void InsertItem (int i, vtkObject arg1)
 Insert item into the list after the i'th item. Does not prevent duplicate entries. If i < 0 the item is placed at the top of the list.
override int IsA (string type)
 Undocumented Block.
int IsItemPresent (vtkObject a)
 Search for an object and return location in list. If the return value is 0, the object was not found. If the object was found, the location is the return value-1.
new vtkCollection NewInstance ()
 Undocumented Block.
vtkCollectionIterator NewIterator ()
 Get an iterator to traverse the objects in this collection.
void RemoveAllItems ()
 Remove all objects from the list.
void RemoveItem (int i)
 Remove the i'th item in the list. Be careful if using this function during traversal of the list using GetNextItemAsObject (or GetNextItem in derived class). The list WILL be shortened if a valid index is given! If this->Current is equal to the element being removed, have it point to then next element in the list.
void RemoveItem (vtkObject arg0)
 Remove an object from the list. Removes the first object found, not all occurrences. If no object found, list is unaffected. See warning in description of RemoveItem(int).
void ReplaceItem (int i, vtkObject arg1)
 Replace the i'th item in the collection with a.

Static Public Member Functions

static new vtkCollection New ()
 Construct with empty list.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkCollection SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "13vtkCollection"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Participate in garbage collection.

Private Member Functions

static internal IntPtr vtkCollection_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkCollection_Register_13 (HandleRef pThis, HandleRef o)
static internal void vtkCollection_UnRegister_19 (HandleRef pThis, HandleRef o)
static internal void vtkCollection_AddItem_01 (HandleRef pThis, HandleRef arg0)
static internal IntPtr vtkCollection_GetItemAsObject_02 (HandleRef pThis, int i, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkCollection_GetNextItemAsObject_03 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkCollection_GetNumberOfItems_04 (HandleRef pThis)
static internal void vtkCollection_InitTraversal_05 (HandleRef pThis)
static internal void vtkCollection_InsertItem_06 (HandleRef pThis, int i, HandleRef arg1)
static internal int vtkCollection_IsA_07 (HandleRef pThis, string type)
static internal int vtkCollection_IsItemPresent_08 (HandleRef pThis, HandleRef a)
static internal int vtkCollection_IsTypeOf_09 (string type)
static internal IntPtr vtkCollection_NewInstance_11 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkCollection_NewIterator_12 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkCollection_RemoveAllItems_14 (HandleRef pThis)
static internal void vtkCollection_RemoveItem_15 (HandleRef pThis, int i)
static internal void vtkCollection_RemoveItem_16 (HandleRef pThis, HandleRef arg0)
static internal void vtkCollection_ReplaceItem_17 (HandleRef pThis, int i, HandleRef arg1)
static internal IntPtr vtkCollection_SafeDownCast_18 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)

Static Private Member Functions

static vtkCollection ()
 Automatically generated type registration mechanics.

Detailed Description

vtkCollection - create and manipulate unsorted lists of objects

Description vtkCollection is a general object for creating and manipulating lists of objects. The lists are unsorted and allow duplicate entries. vtkCollection also serves as a base class for lists of specific types of objects.


Constructor & Destructor Documentation

static Kitware.VTK.vtkCollection.vtkCollection ( ) [static, private]

Automatically generated type registration mechanics.

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

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

Construct with empty list.


Member Function Documentation

Add an object to the list. Does not prevent duplicate entries.

override void Kitware.VTK.vtkCollection.Dispose ( bool  disposing) [protected]

Get the i'th item in the collection. NULL is returned if i is out of range.

Here is the call graph for this function:

See vtkGarbageCollector.h:

Here is the call graph for this function:

Return the number of objects in the list.

Initialize the traversal of the collection. This means the data pointer is set at the beginning of the list.

void Kitware.VTK.vtkCollection.InsertItem ( int  i,
vtkObject  arg1 
)

Insert item into the list after the i'th item. Does not prevent duplicate entries. If i < 0 the item is placed at the top of the list.

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

Search for an object and return location in list. If the return value is 0, the object was not found. If the object was found, the location is the return value-1.

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

Get an iterator to traverse the objects in this collection.

Here is the call graph for this function:

override void Kitware.VTK.vtkCollection.Register ( vtkObjectBase  o) [virtual]

Participate in garbage collection.

Reimplemented from Kitware.VTK.vtkObjectBase.

Remove all objects from the list.

Reimplemented in Kitware.VTK.vtkSocketCollection.

Remove the i'th item in the list. Be careful if using this function during traversal of the list using GetNextItemAsObject (or GetNextItem in derived class). The list WILL be shortened if a valid index is given! If this->Current is equal to the element being removed, have it point to then next element in the list.

Reimplemented in Kitware.VTK.vtkSocketCollection.

Remove an object from the list. Removes the first object found, not all occurrences. If no object found, list is unaffected. See warning in description of RemoveItem(int).

Reimplemented in Kitware.VTK.vtkSocketCollection.

Replace the i'th item in the collection with a.

Reimplemented in Kitware.VTK.vtkSocketCollection.

static internal void Kitware.VTK.vtkCollection.vtkCollection_AddItem_01 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal IntPtr Kitware.VTK.vtkCollection.vtkCollection_GetItemAsObject_02 ( HandleRef  pThis,
int  i,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCollection.vtkCollection_GetNextItemAsObject_03 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkCollection.vtkCollection_GetNumberOfItems_04 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCollection.vtkCollection_InitTraversal_05 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCollection.vtkCollection_InsertItem_06 ( HandleRef  pThis,
int  i,
HandleRef  arg1 
) [private]
static internal int Kitware.VTK.vtkCollection.vtkCollection_IsA_07 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkCollection.vtkCollection_IsItemPresent_08 ( HandleRef  pThis,
HandleRef  a 
) [private]
static internal int Kitware.VTK.vtkCollection.vtkCollection_IsTypeOf_09 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkCollection.vtkCollection_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCollection.vtkCollection_NewInstance_11 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCollection.vtkCollection_NewIterator_12 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkCollection.vtkCollection_Register_13 ( HandleRef  pThis,
HandleRef  o 
) [private]
static internal void Kitware.VTK.vtkCollection.vtkCollection_RemoveAllItems_14 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCollection.vtkCollection_RemoveItem_15 ( HandleRef  pThis,
int  i 
) [private]
static internal void Kitware.VTK.vtkCollection.vtkCollection_RemoveItem_16 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkCollection.vtkCollection_ReplaceItem_17 ( HandleRef  pThis,
int  i,
HandleRef  arg1 
) [private]
static internal IntPtr Kitware.VTK.vtkCollection.vtkCollection_SafeDownCast_18 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkCollection.vtkCollection_UnRegister_19 ( HandleRef  pThis,
HandleRef  o 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkCollection.MRClassNameKey = "13vtkCollection" [static]
new const string Kitware.VTK.vtkCollection.MRFullTypeName = "Kitware.VTK.vtkCollection"

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