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

vtkUnsignedShortArray - dynamic, self-adjusting array of unsigned short More...

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

List of all members.

Public Member Functions

 vtkUnsignedShortArray (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkUnsignedShortArray ()
 Undocumented Block.
override int GetDataType ()
 Get the data type.
IntPtr GetPointer (int id)
 Get the address of a particular data index. Performs no checks to verify that the memory has been allocated etc.
void GetTupleValue (int i, IntPtr tuple)
 Copy the tuple value into a user-provided array.
ushort GetValue (int id)
 Get the data at a particular index.
IntPtr GetValueRange (int comp)
 Get the range of array values for the given component in the native data type.
void GetValueRange (IntPtr range, int comp)
 Get the range of array values for the given component in the native data type.
IntPtr GetValueRange ()
 Get the range of array values for the 0th component in the native data type.
void GetValueRange (IntPtr range)
 Get the range of array values for the 0th component in the native data type.
int InsertNextTupleValue (IntPtr tuple)
 Insert (memory allocation performed) the tuple onto the end of the array.
int InsertNextValue (ushort f)
 Insert data at the end of the array. Return its location in the array.
void InsertTupleValue (int i, IntPtr tuple)
 Insert (memory allocation performed) the tuple into the ith location in the array.
void InsertValue (int id, ushort f)
 Insert data at a specified position in the array.
override int IsA (string type)
 Undocumented Block.
new vtkUnsignedShortArray NewInstance ()
 Undocumented Block.
void SetArray (IntPtr array, int size, int save)
 This method lets the user specify data to be held by the array. The array argument is a pointer to the data. size is the size of the array supplied by the user. Set save to 1 to keep the class from deleting the array when it cleans up or reallocates memory. The class uses the actual array provided; it does not copy the data from the suppled array.
void SetArray (IntPtr array, int size, int save, int deleteMethod)
 This method lets the user specify data to be held by the array. The array argument is a pointer to the data. size is the size of the array supplied by the user. Set save to 1 to keep the class from deleting the array when it cleans up or reallocates memory. The class uses the actual array provided; it does not copy the data from the suppled array.
void SetNumberOfValues (int number)
 Specify the number of values for this object to hold. Does an allocation as well as setting the MaxId ivar. Used in conjunction with SetValue() method for fast insertion.
void SetTupleValue (int i, IntPtr tuple)
 Set the tuple value at the ith location in the array.
void SetValue (int id, ushort value)
 Set the data at a particular index. Does not do range checking. Make sure you use the method SetNumberOfValues() before inserting data.
IntPtr WritePointer (int id, int number)
 Get the address of a particular data index. Make sure data is allocated for the number of items requested. Set MaxId according to the number of data values requested.

Static Public Member Functions

static new vtkUnsignedShortArray New ()
 Undocumented Block.
static ushort GetDataTypeValueMax ()
 Get the maximum data value in its native type.
static ushort GetDataTypeValueMin ()
 Get the minimum data value in its native type.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkUnsignedShortArray SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "21vtkUnsignedShortArray"
 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 vtkUnsignedShortArray_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkUnsignedShortArray_GetDataType_01 (HandleRef pThis)
static internal ushort vtkUnsignedShortArray_GetDataTypeValueMax_02 ()
static internal ushort vtkUnsignedShortArray_GetDataTypeValueMin_03 ()
static internal IntPtr vtkUnsignedShortArray_GetPointer_04 (HandleRef pThis, int id)
static internal void vtkUnsignedShortArray_GetTupleValue_05 (HandleRef pThis, int i, IntPtr tuple)
static internal ushort vtkUnsignedShortArray_GetValue_06 (HandleRef pThis, int id)
static internal IntPtr vtkUnsignedShortArray_GetValueRange_07 (HandleRef pThis, int comp)
static internal void vtkUnsignedShortArray_GetValueRange_08 (HandleRef pThis, IntPtr range, int comp)
static internal IntPtr vtkUnsignedShortArray_GetValueRange_09 (HandleRef pThis)
static internal void vtkUnsignedShortArray_GetValueRange_10 (HandleRef pThis, IntPtr range)
static internal int vtkUnsignedShortArray_InsertNextTupleValue_11 (HandleRef pThis, IntPtr tuple)
static internal int vtkUnsignedShortArray_InsertNextValue_12 (HandleRef pThis, ushort f)
static internal void vtkUnsignedShortArray_InsertTupleValue_13 (HandleRef pThis, int i, IntPtr tuple)
static internal void vtkUnsignedShortArray_InsertValue_14 (HandleRef pThis, int id, ushort f)
static internal int vtkUnsignedShortArray_IsA_15 (HandleRef pThis, string type)
static internal int vtkUnsignedShortArray_IsTypeOf_16 (string type)
static internal IntPtr vtkUnsignedShortArray_NewInstance_18 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkUnsignedShortArray_SafeDownCast_19 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkUnsignedShortArray_SetArray_20 (HandleRef pThis, IntPtr array, int size, int save)
static internal void vtkUnsignedShortArray_SetArray_21 (HandleRef pThis, IntPtr array, int size, int save, int deleteMethod)
static internal void vtkUnsignedShortArray_SetNumberOfValues_22 (HandleRef pThis, int number)
static internal void vtkUnsignedShortArray_SetTupleValue_23 (HandleRef pThis, int i, IntPtr tuple)
static internal void vtkUnsignedShortArray_SetValue_24 (HandleRef pThis, int id, ushort value)
static internal IntPtr vtkUnsignedShortArray_WritePointer_25 (HandleRef pThis, int id, int number)

Static Private Member Functions

static vtkUnsignedShortArray ()
 Automatically generated type registration mechanics.

Detailed Description

vtkUnsignedShortArray - dynamic, self-adjusting array of unsigned short

Description vtkUnsignedShortArray is an array of values of type unsigned short. It provides methods for insertion and retrieval of values and will automatically resize itself to hold new data.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray ( 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.vtkUnsignedShortArray.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.vtkDataArray.

Reimplemented in Kitware.VTK.vtkTypeUInt16Array.

Get the data type.

Reimplemented from Kitware.VTK.vtkAbstractArray.

Get the maximum data value in its native type.

Get the minimum data value in its native type.

Get the address of a particular data index. Performs no checks to verify that the memory has been allocated etc.

void Kitware.VTK.vtkUnsignedShortArray.GetTupleValue ( int  i,
IntPtr  tuple 
)

Copy the tuple value into a user-provided array.

Get the data at a particular index.

Get the range of array values for the given component in the native data type.

void Kitware.VTK.vtkUnsignedShortArray.GetValueRange ( IntPtr  range,
int  comp 
)

Get the range of array values for the given component in the native data type.

Get the range of array values for the 0th component in the native data type.

Get the range of array values for the 0th component in the native data type.

Insert (memory allocation performed) the tuple onto the end of the array.

Insert data at the end of the array. Return its location in the array.

void Kitware.VTK.vtkUnsignedShortArray.InsertTupleValue ( int  i,
IntPtr  tuple 
)

Insert (memory allocation performed) the tuple into the ith location in the array.

void Kitware.VTK.vtkUnsignedShortArray.InsertValue ( int  id,
ushort  f 
)

Insert data at a specified position in the array.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkDataArray.

Reimplemented in Kitware.VTK.vtkTypeUInt16Array.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkDataArray.

Reimplemented in Kitware.VTK.vtkTypeUInt16Array.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkTypeUInt16Array.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkDataArray.

Reimplemented in Kitware.VTK.vtkTypeUInt16Array.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkDataArray.

Reimplemented in Kitware.VTK.vtkTypeUInt16Array.

Here is the call graph for this function:

void Kitware.VTK.vtkUnsignedShortArray.SetArray ( IntPtr  array,
int  size,
int  save 
)

This method lets the user specify data to be held by the array. The array argument is a pointer to the data. size is the size of the array supplied by the user. Set save to 1 to keep the class from deleting the array when it cleans up or reallocates memory. The class uses the actual array provided; it does not copy the data from the suppled array.

void Kitware.VTK.vtkUnsignedShortArray.SetArray ( IntPtr  array,
int  size,
int  save,
int  deleteMethod 
)

This method lets the user specify data to be held by the array. The array argument is a pointer to the data. size is the size of the array supplied by the user. Set save to 1 to keep the class from deleting the array when it cleans up or reallocates memory. The class uses the actual array provided; it does not copy the data from the suppled array.

Specify the number of values for this object to hold. Does an allocation as well as setting the MaxId ivar. Used in conjunction with SetValue() method for fast insertion.

void Kitware.VTK.vtkUnsignedShortArray.SetTupleValue ( int  i,
IntPtr  tuple 
)

Set the tuple value at the ith location in the array.

void Kitware.VTK.vtkUnsignedShortArray.SetValue ( int  id,
ushort  value 
)

Set the data at a particular index. Does not do range checking. Make sure you use the method SetNumberOfValues() before inserting data.

static internal int Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_GetDataType_01 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_GetPointer_04 ( HandleRef  pThis,
int  id 
) [private]
static internal void Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_GetTupleValue_05 ( HandleRef  pThis,
int  i,
IntPtr  tuple 
) [private]
static internal ushort Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_GetValue_06 ( HandleRef  pThis,
int  id 
) [private]
static internal IntPtr Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_GetValueRange_07 ( HandleRef  pThis,
int  comp 
) [private]
static internal void Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_GetValueRange_08 ( HandleRef  pThis,
IntPtr  range,
int  comp 
) [private]
static internal IntPtr Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_GetValueRange_09 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_GetValueRange_10 ( HandleRef  pThis,
IntPtr  range 
) [private]
static internal int Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_InsertNextTupleValue_11 ( HandleRef  pThis,
IntPtr  tuple 
) [private]
static internal int Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_InsertNextValue_12 ( HandleRef  pThis,
ushort  f 
) [private]
static internal void Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_InsertTupleValue_13 ( HandleRef  pThis,
int  i,
IntPtr  tuple 
) [private]
static internal void Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_InsertValue_14 ( HandleRef  pThis,
int  id,
ushort  f 
) [private]
static internal int Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_IsA_15 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_IsTypeOf_16 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_NewInstance_18 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_SafeDownCast_19 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_SetArray_20 ( HandleRef  pThis,
IntPtr  array,
int  size,
int  save 
) [private]
static internal void Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_SetArray_21 ( HandleRef  pThis,
IntPtr  array,
int  size,
int  save,
int  deleteMethod 
) [private]
static internal void Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_SetNumberOfValues_22 ( HandleRef  pThis,
int  number 
) [private]
static internal void Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_SetTupleValue_23 ( HandleRef  pThis,
int  i,
IntPtr  tuple 
) [private]
static internal void Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_SetValue_24 ( HandleRef  pThis,
int  id,
ushort  value 
) [private]
static internal IntPtr Kitware.VTK.vtkUnsignedShortArray.vtkUnsignedShortArray_WritePointer_25 ( HandleRef  pThis,
int  id,
int  number 
) [private]
IntPtr Kitware.VTK.vtkUnsignedShortArray.WritePointer ( int  id,
int  number 
)

Get the address of a particular data index. Make sure data is allocated for the number of items requested. Set MaxId according to the number of data values requested.


Member Data Documentation

new readonly string Kitware.VTK.vtkUnsignedShortArray.MRClassNameKey = "21vtkUnsignedShortArray" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkDataArray.

Reimplemented in Kitware.VTK.vtkTypeUInt16Array.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkDataArray.

Reimplemented in Kitware.VTK.vtkTypeUInt16Array.


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