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

vtkAbstractArray - Abstract superclass for all arrays More...

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

List of all members.

Public Member Functions

 vtkAbstractArray (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual int Allocate (int sz, int ext)
 Allocate memory for this array. Delete old storage only if necessary. Note that ext is no longer used.
virtual void ClearLookup ()
 Delete the associated fast lookup data structure on this array, if it exists. The lookup will be rebuilt on the next call to a lookup function.
int CopyComponentNames (vtkAbstractArray da)
 Copies the component names from the inputed array to the current array make sure that the current array has the same number of components as the input array.
virtual int CopyInformation (vtkInformation infoFrom, int deep)
 Inquire if this array has an instance of vtkInformation already associated with it.
virtual void DataChanged ()
 Tell the array explicitly that the data has changed. This is only necessary to call when you modify the array contents without using the array's API (i.e. you retrieve a pointer to the data and modify the array contents). You need to call this so that the fast lookup will know to rebuild itself. Otherwise, the lookup functions will give incorrect results.
virtual void DeepCopy (vtkAbstractArray da)
 Deep copy of data. Implementation left to subclasses, which should support as many type conversions as possible given the data type.
virtual void ExportToVoidPointer (IntPtr arg0)
 This method copies the array data to the void pointer specified by the user. It is up to the user to allocate enough memory for the void pointer.
virtual uint GetActualMemorySize ()
 Return the memory in kilobytes consumed by this data array. Used to support streaming and reading/writing data. The value returned is guaranteed to be greater than or equal to the memory required to actually represent the data represented by this object. The information returned is valid only after the pipeline has been updated.
string GetComponentName (int component)
 Get the component name for a given component. Note: will return the actual string that is stored.
virtual int GetDataSize ()
 Returns the size of the data in DataTypeSize units. Thus, the number of bytes for the data can be computed by GetDataSize() * GetDataTypeSize(). Non-contiguous or variable- size arrays need to override this method.
virtual int GetDataType ()
 Return the underlying data type. An integer indicating data type is returned as specified in vtkSetGet.h.
virtual string GetDataTypeAsString ()
 Get the name of a data type as a string.
virtual int GetDataTypeSize ()
 Return the size of the underlying data type. For a bit, 0 is returned. For string 0 is returned. Arrays with variable length components return 0.
virtual int GetElementComponentSize ()
 Return the size, in bytes, of the lowest-level element of an array. For vtkDataArray and subclasses this is the size of the data type. For vtkStringArray, this is sizeof(vtkStdString::value_type), which winds up being sizeof(char).
vtkInformation GetInformation ()
 Get an information object that can be used to annotate the array. This will always return an instance of vtkInformation, if one is not currently associated with the array it will be created.
int GetMaxId ()
 What is the maximum id currently in the array.
virtual string GetName ()
 Set/get array's name.
int GetNumberOfComponents ()
 Set/Get the dimention (n) of the components. Must be >= 1. Make sure that this is set before allocation.
virtual int GetNumberOfComponentsMaxValue ()
 Set/Get the dimention (n) of the components. Must be >= 1. Make sure that this is set before allocation.
virtual int GetNumberOfComponentsMinValue ()
 Set/Get the dimention (n) of the components. Must be >= 1. Make sure that this is set before allocation.
int GetNumberOfTuples ()
 Get the number of tuples (a component group) in the array.
int GetSize ()
 Return the size of the data.
virtual void GetTuples (vtkIdList ptIds, vtkAbstractArray output)
 Given a list of point ids, return an array of tuples. You must insure that the output array has been previously allocated with enough space to hold the data.
virtual void GetTuples (int p1, int p2, vtkAbstractArray output)
 Get the tuples for the range of points ids specified (i.e., p1->p2 inclusive). You must insure that the output array has been previously allocated with enough space to hold the data.
virtual IntPtr GetVoidPointer (int id)
 Return a void pointer. For image pipeline interface and other special pointer manipulation.
bool HasAComponentName ()
 Returns if any component has had a name assigned.
bool HasInformation ()
 Inquire if this array has an instance of vtkInformation already associated with it.
virtual void Initialize ()
 Release storage and reset array to initial state.
virtual int InsertNextTuple (int j, vtkAbstractArray source)
 Insert the jth tuple in the source array, at the end in this array. Note that memory allocation is performed as necessary to hold the data. Returns the location at which the data was inserted.
virtual void InsertTuple (int i, int j, vtkAbstractArray source)
 Insert the jth tuple in the source array, at ith location in this array. Note that memory allocation is performed as necessary to hold the data.
virtual void InterpolateTuple (int i, vtkIdList ptIndices, vtkAbstractArray source, IntPtr weights)
 Set the ith tuple in this array as the interpolated tuple value, given the ptIndices in the source array and associated interpolation weights. This method assumes that the two arrays are of the same type and strcuture.
virtual void InterpolateTuple (int i, int id1, vtkAbstractArray source1, int id2, vtkAbstractArray source2, double t)
 Description Insert the ith tuple in this array as interpolated from the two values, p1 and p2, and an interpolation factor, t. The interpolation factor ranges from (0,1), with t=0 located at p1. This method assumes that the three arrays are of the same type. p1 is value at index id1 in source1, while, p2 is value at index id2 in source2.
override int IsA (string type)
 Undocumented Block.
virtual int IsNumeric ()
 This method is here to make backward compatibility easier. It must return true if and only if an array contains numeric data.
new vtkAbstractArray NewInstance ()
 Undocumented Block.
virtual vtkArrayIterator NewIterator ()
 Subclasses must override this method and provide the right kind of templated vtkArrayIteratorTemplate.
void Reset ()
 Reset to an empty state, without freeing any memory.
virtual int Resize (int numTuples)
 Resize the array while conserving the data. Returns 1 if resizing succeeded and 0 otherwise.
void SetComponentName (int component, string name)
 Set the name for a component. Must be >= 1.
virtual void SetName (string _arg)
 Set/get array's name.
virtual void SetNumberOfComponents (int _arg)
 Set/Get the dimention (n) of the components. Must be >= 1. Make sure that this is set before allocation.
virtual void SetNumberOfTuples (int number)
 Set the number of tuples (a component group) in the array. Note that this may allocate space depending on the number of components. Also note that if allocation is performed no copy is performed so existing data will be lost (if data conservation is sought, one may use the Resize method instead).
virtual void SetTuple (int i, int j, vtkAbstractArray source)
 Set the tuple at the ith location using the jth tuple in the source array. This method assumes that the two arrays have the same type and structure. Note that range checking and memory allocation is not performed; use in conjunction with SetNumberOfTuples() to allocate space.
virtual void SetVoidArray (IntPtr arg0, int arg1, int arg2)
 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 supplied array.
virtual void Squeeze ()
 Free any unnecessary memory. Resize object to just fit data requirement. Reclaims extra memory.

Static Public Member Functions

static vtkAbstractArray CreateArray (int dataType)
 Creates an array for dataType where dataType is one of VTK_BIT, VTK_CHAR, VTK_UNSIGNED_CHAR, VTK_SHORT, VTK_UNSIGNED_SHORT, VTK_INT, VTK_UNSIGNED_INT, VTK_LONG, VTK_UNSIGNED_LONG, VTK_DOUBLE, VTK_DOUBLE, VTK_ID_TYPE, VTK_STRING. Note that the data array returned has to be deleted by the user.
static vtkInformationIntegerKey GUI_HIDE ()
 This key is a hint to end user interface that this array is internal and should not be shown to the end user.
static int GetDataTypeSize (int type)
 Return the size of the underlying data type. For a bit, 0 is returned. For string 0 is returned. Arrays with variable length components return 0.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkAbstractArray SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "16vtkAbstractArray"
 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 int vtkAbstractArray_Allocate_01 (HandleRef pThis, int sz, int ext)
static internal void vtkAbstractArray_ClearLookup_02 (HandleRef pThis)
static internal int vtkAbstractArray_CopyComponentNames_03 (HandleRef pThis, HandleRef da)
static internal int vtkAbstractArray_CopyInformation_04 (HandleRef pThis, HandleRef infoFrom, int deep)
static internal IntPtr vtkAbstractArray_CreateArray_05 (int dataType, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkAbstractArray_DataChanged_06 (HandleRef pThis)
static internal void vtkAbstractArray_DeepCopy_07 (HandleRef pThis, HandleRef da)
static internal void vtkAbstractArray_ExportToVoidPointer_08 (HandleRef pThis, IntPtr arg0)
static internal IntPtr vtkAbstractArray_GUI_HIDE_09 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal uint vtkAbstractArray_GetActualMemorySize_10 (HandleRef pThis)
static internal IntPtr vtkAbstractArray_GetComponentName_11 (HandleRef pThis, int component)
static internal int vtkAbstractArray_GetDataSize_12 (HandleRef pThis)
static internal int vtkAbstractArray_GetDataType_13 (HandleRef pThis)
static internal IntPtr vtkAbstractArray_GetDataTypeAsString_14 (HandleRef pThis)
static internal int vtkAbstractArray_GetDataTypeSize_15 (HandleRef pThis)
static internal int vtkAbstractArray_GetDataTypeSize_16 (int type)
static internal int vtkAbstractArray_GetElementComponentSize_17 (HandleRef pThis)
static internal IntPtr vtkAbstractArray_GetInformation_18 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkAbstractArray_GetMaxId_19 (HandleRef pThis)
static internal IntPtr vtkAbstractArray_GetName_20 (HandleRef pThis)
static internal int vtkAbstractArray_GetNumberOfComponents_21 (HandleRef pThis)
static internal int vtkAbstractArray_GetNumberOfComponentsMaxValue_22 (HandleRef pThis)
static internal int vtkAbstractArray_GetNumberOfComponentsMinValue_23 (HandleRef pThis)
static internal int vtkAbstractArray_GetNumberOfTuples_24 (HandleRef pThis)
static internal int vtkAbstractArray_GetSize_25 (HandleRef pThis)
static internal void vtkAbstractArray_GetTuples_26 (HandleRef pThis, HandleRef ptIds, HandleRef output)
static internal void vtkAbstractArray_GetTuples_27 (HandleRef pThis, int p1, int p2, HandleRef output)
static internal IntPtr vtkAbstractArray_GetVoidPointer_28 (HandleRef pThis, int id)
static internal byte vtkAbstractArray_HasAComponentName_29 (HandleRef pThis)
static internal byte vtkAbstractArray_HasInformation_30 (HandleRef pThis)
static internal void vtkAbstractArray_Initialize_31 (HandleRef pThis)
static internal int vtkAbstractArray_InsertNextTuple_32 (HandleRef pThis, int j, HandleRef source)
static internal void vtkAbstractArray_InsertTuple_33 (HandleRef pThis, int i, int j, HandleRef source)
static internal void vtkAbstractArray_InterpolateTuple_34 (HandleRef pThis, int i, HandleRef ptIndices, HandleRef source, IntPtr weights)
static internal void vtkAbstractArray_InterpolateTuple_35 (HandleRef pThis, int i, int id1, HandleRef source1, int id2, HandleRef source2, double t)
static internal int vtkAbstractArray_IsA_36 (HandleRef pThis, string type)
static internal int vtkAbstractArray_IsNumeric_37 (HandleRef pThis)
static internal int vtkAbstractArray_IsTypeOf_38 (string type)
static internal IntPtr vtkAbstractArray_NewInstance_39 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkAbstractArray_NewIterator_40 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkAbstractArray_Reset_41 (HandleRef pThis)
static internal int vtkAbstractArray_Resize_42 (HandleRef pThis, int numTuples)
static internal IntPtr vtkAbstractArray_SafeDownCast_43 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkAbstractArray_SetComponentName_44 (HandleRef pThis, int component, string name)
static internal void vtkAbstractArray_SetName_45 (HandleRef pThis, string _arg)
static internal void vtkAbstractArray_SetNumberOfComponents_46 (HandleRef pThis, int _arg)
static internal void vtkAbstractArray_SetNumberOfTuples_47 (HandleRef pThis, int number)
static internal void vtkAbstractArray_SetTuple_48 (HandleRef pThis, int i, int j, HandleRef source)
static internal void vtkAbstractArray_SetVoidArray_49 (HandleRef pThis, IntPtr arg0, int arg1, int arg2)
static internal void vtkAbstractArray_Squeeze_50 (HandleRef pThis)

Static Private Member Functions

static vtkAbstractArray ()
 Automatically generated type registration mechanics.

Detailed Description

vtkAbstractArray - Abstract superclass for all arrays

Description

vtkAbstractArray is an abstract superclass for data array objects. This class defines an API that all subclasses must support. The data type must be assignable and copy-constructible, but no other assumptions about its type are made. Most of the subclasses of this array deal with numeric data either as scalars or tuples of scalars. A program can use the IsNumeric() method to check whether an instance of vtkAbstractArray contains numbers. It is also possible to test for this by attempting to SafeDownCast an array to an instance of vtkDataArray, although this assumes that all numeric arrays will always be descended from vtkDataArray.

<p>

Every array has a character-string name. The naming of the array occurs automatically when it is instantiated, but you are free to change this name using the SetName() method. (The array name is used for data manipulation.)

vtkDataArray vtkStringArray vtkCellArray


Constructor & Destructor Documentation

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

Automatically generated type registration mechanics.

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

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


Member Function Documentation

virtual int Kitware.VTK.vtkAbstractArray.Allocate ( int  sz,
int  ext 
) [virtual]

Allocate memory for this array. Delete old storage only if necessary. Note that ext is no longer used.

Reimplemented in Kitware.VTK.vtkStringArray, Kitware.VTK.vtkVariantArray, Kitware.VTK.vtkBitArray, and Kitware.VTK.vtkUnicodeStringArray.

virtual void Kitware.VTK.vtkAbstractArray.ClearLookup ( ) [virtual]

Delete the associated fast lookup data structure on this array, if it exists. The lookup will be rebuilt on the next call to a lookup function.

Reimplemented in Kitware.VTK.vtkStringArray, Kitware.VTK.vtkVariantArray, Kitware.VTK.vtkBitArray, and Kitware.VTK.vtkUnicodeStringArray.

Copies the component names from the inputed array to the current array make sure that the current array has the same number of components as the input array.

virtual int Kitware.VTK.vtkAbstractArray.CopyInformation ( vtkInformation  infoFrom,
int  deep 
) [virtual]

Inquire if this array has an instance of vtkInformation already associated with it.

Reimplemented in Kitware.VTK.vtkDataArray.

Creates an array for dataType where dataType is one of VTK_BIT, VTK_CHAR, VTK_UNSIGNED_CHAR, VTK_SHORT, VTK_UNSIGNED_SHORT, VTK_INT, VTK_UNSIGNED_INT, VTK_LONG, VTK_UNSIGNED_LONG, VTK_DOUBLE, VTK_DOUBLE, VTK_ID_TYPE, VTK_STRING. Note that the data array returned has to be deleted by the user.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkAbstractArray.DataChanged ( ) [virtual]

Tell the array explicitly that the data has changed. This is only necessary to call when you modify the array contents without using the array's API (i.e. you retrieve a pointer to the data and modify the array contents). You need to call this so that the fast lookup will know to rebuild itself. Otherwise, the lookup functions will give incorrect results.

Reimplemented in Kitware.VTK.vtkStringArray, Kitware.VTK.vtkVariantArray, Kitware.VTK.vtkBitArray, and Kitware.VTK.vtkUnicodeStringArray.

Deep copy of data. Implementation left to subclasses, which should support as many type conversions as possible given the data type.

Subclasses should call vtkAbstractArray::DeepCopy() so that the information object (if one exists) is copied from da.

Reimplemented in Kitware.VTK.vtkDataArray, Kitware.VTK.vtkVariantArray, Kitware.VTK.vtkStringArray, Kitware.VTK.vtkBitArray, and Kitware.VTK.vtkUnicodeStringArray.

override void Kitware.VTK.vtkAbstractArray.Dispose ( bool  disposing) [protected]
virtual void Kitware.VTK.vtkAbstractArray.ExportToVoidPointer ( IntPtr  arg0) [virtual]

This method copies the array data to the void pointer specified by the user. It is up to the user to allocate enough memory for the void pointer.

Return the memory in kilobytes consumed by this data array. Used to support streaming and reading/writing data. The value returned is guaranteed to be greater than or equal to the memory required to actually represent the data represented by this object. The information returned is valid only after the pipeline has been updated.

Reimplemented in Kitware.VTK.vtkDataArray, Kitware.VTK.vtkStringArray, Kitware.VTK.vtkVariantArray, and Kitware.VTK.vtkUnicodeStringArray.

Get the component name for a given component. Note: will return the actual string that is stored.

virtual int Kitware.VTK.vtkAbstractArray.GetDataSize ( ) [virtual]

Returns the size of the data in DataTypeSize units. Thus, the number of bytes for the data can be computed by GetDataSize() * GetDataTypeSize(). Non-contiguous or variable- size arrays need to override this method.

Reimplemented in Kitware.VTK.vtkStringArray.

virtual int Kitware.VTK.vtkAbstractArray.GetDataType ( ) [virtual]

Get the name of a data type as a string.

Return the size of the underlying data type. For a bit, 0 is returned. For string 0 is returned. Arrays with variable length components return 0.

Reimplemented in Kitware.VTK.vtkStringArray, Kitware.VTK.vtkVariantArray, Kitware.VTK.vtkBitArray, and Kitware.VTK.vtkUnicodeStringArray.

static int Kitware.VTK.vtkAbstractArray.GetDataTypeSize ( int  type) [static]

Return the size of the underlying data type. For a bit, 0 is returned. For string 0 is returned. Arrays with variable length components return 0.

Return the size, in bytes, of the lowest-level element of an array. For vtkDataArray and subclasses this is the size of the data type. For vtkStringArray, this is sizeof(vtkStdString::value_type), which winds up being sizeof(char).

Reimplemented in Kitware.VTK.vtkDataArray, Kitware.VTK.vtkStringArray, Kitware.VTK.vtkVariantArray, and Kitware.VTK.vtkUnicodeStringArray.

Get an information object that can be used to annotate the array. This will always return an instance of vtkInformation, if one is not currently associated with the array it will be created.

Here is the call graph for this function:

What is the maximum id currently in the array.

virtual string Kitware.VTK.vtkAbstractArray.GetName ( ) [virtual]

Set/get array's name.

Set/Get the dimention (n) of the components. Must be >= 1. Make sure that this is set before allocation.

Set/Get the dimention (n) of the components. Must be >= 1. Make sure that this is set before allocation.

Set/Get the dimention (n) of the components. Must be >= 1. Make sure that this is set before allocation.

Get the number of tuples (a component group) in the array.

Return the size of the data.

virtual void Kitware.VTK.vtkAbstractArray.GetTuples ( vtkIdList  ptIds,
vtkAbstractArray  output 
) [virtual]

Given a list of point ids, return an array of tuples. You must insure that the output array has been previously allocated with enough space to hold the data.

Reimplemented in Kitware.VTK.vtkDataArray, and Kitware.VTK.vtkStringArray.

virtual void Kitware.VTK.vtkAbstractArray.GetTuples ( int  p1,
int  p2,
vtkAbstractArray  output 
) [virtual]

Get the tuples for the range of points ids specified (i.e., p1->p2 inclusive). You must insure that the output array has been previously allocated with enough space to hold the data.

Reimplemented in Kitware.VTK.vtkDataArray, and Kitware.VTK.vtkStringArray.

virtual IntPtr Kitware.VTK.vtkAbstractArray.GetVoidPointer ( int  id) [virtual]

Return a void pointer. For image pipeline interface and other special pointer manipulation.

Reimplemented in Kitware.VTK.vtkStringArray, Kitware.VTK.vtkVariantArray, Kitware.VTK.vtkBitArray, and Kitware.VTK.vtkUnicodeStringArray.

This key is a hint to end user interface that this array is internal and should not be shown to the end user.

Here is the call graph for this function:

Returns if any component has had a name assigned.

Inquire if this array has an instance of vtkInformation already associated with it.

virtual void Kitware.VTK.vtkAbstractArray.Initialize ( ) [virtual]

Release storage and reset array to initial state.

Reimplemented in Kitware.VTK.vtkStringArray, Kitware.VTK.vtkVariantArray, Kitware.VTK.vtkBitArray, and Kitware.VTK.vtkUnicodeStringArray.

virtual int Kitware.VTK.vtkAbstractArray.InsertNextTuple ( int  j,
vtkAbstractArray  source 
) [virtual]

Insert the jth tuple in the source array, at the end in this array. Note that memory allocation is performed as necessary to hold the data. Returns the location at which the data was inserted.

Reimplemented in Kitware.VTK.vtkDataArray, Kitware.VTK.vtkStringArray, Kitware.VTK.vtkBitArray, Kitware.VTK.vtkVariantArray, and Kitware.VTK.vtkUnicodeStringArray.

virtual void Kitware.VTK.vtkAbstractArray.InsertTuple ( int  i,
int  j,
vtkAbstractArray  source 
) [virtual]

Insert the jth tuple in the source array, at ith location in this array. Note that memory allocation is performed as necessary to hold the data.

Reimplemented in Kitware.VTK.vtkDataArray, Kitware.VTK.vtkStringArray, Kitware.VTK.vtkBitArray, Kitware.VTK.vtkVariantArray, and Kitware.VTK.vtkUnicodeStringArray.

virtual void Kitware.VTK.vtkAbstractArray.InterpolateTuple ( int  i,
vtkIdList  ptIndices,
vtkAbstractArray  source,
IntPtr  weights 
) [virtual]

Set the ith tuple in this array as the interpolated tuple value, given the ptIndices in the source array and associated interpolation weights. This method assumes that the two arrays are of the same type and strcuture.

Reimplemented in Kitware.VTK.vtkDataArray, Kitware.VTK.vtkStringArray, Kitware.VTK.vtkVariantArray, and Kitware.VTK.vtkUnicodeStringArray.

virtual void Kitware.VTK.vtkAbstractArray.InterpolateTuple ( int  i,
int  id1,
vtkAbstractArray  source1,
int  id2,
vtkAbstractArray  source2,
double  t 
) [virtual]

Description Insert the ith tuple in this array as interpolated from the two values, p1 and p2, and an interpolation factor, t. The interpolation factor ranges from (0,1), with t=0 located at p1. This method assumes that the three arrays are of the same type. p1 is value at index id1 in source1, while, p2 is value at index id2 in source2.

Reimplemented in Kitware.VTK.vtkDataArray, Kitware.VTK.vtkStringArray, Kitware.VTK.vtkVariantArray, and Kitware.VTK.vtkUnicodeStringArray.

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

This method is here to make backward compatibility easier. It must return true if and only if an array contains numeric data.

Reimplemented in Kitware.VTK.vtkDataArray, Kitware.VTK.vtkStringArray, Kitware.VTK.vtkVariantArray, and Kitware.VTK.vtkUnicodeStringArray.

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

Subclasses must override this method and provide the right kind of templated vtkArrayIteratorTemplate.

Reimplemented in Kitware.VTK.vtkStringArray, Kitware.VTK.vtkBitArray, Kitware.VTK.vtkVariantArray, and Kitware.VTK.vtkUnicodeStringArray.

Here is the call graph for this function:

Reset to an empty state, without freeing any memory.

virtual int Kitware.VTK.vtkAbstractArray.Resize ( int  numTuples) [virtual]

Resize the array while conserving the data. Returns 1 if resizing succeeded and 0 otherwise.

Reimplemented in Kitware.VTK.vtkStringArray, Kitware.VTK.vtkBitArray, Kitware.VTK.vtkVariantArray, and Kitware.VTK.vtkUnicodeStringArray.

void Kitware.VTK.vtkAbstractArray.SetComponentName ( int  component,
string  name 
)

Set the name for a component. Must be >= 1.

virtual void Kitware.VTK.vtkAbstractArray.SetName ( string  _arg) [virtual]

Set/get array's name.

virtual void Kitware.VTK.vtkAbstractArray.SetNumberOfComponents ( int  _arg) [virtual]

Set/Get the dimention (n) of the components. Must be >= 1. Make sure that this is set before allocation.

virtual void Kitware.VTK.vtkAbstractArray.SetNumberOfTuples ( int  number) [virtual]

Set the number of tuples (a component group) in the array. Note that this may allocate space depending on the number of components. Also note that if allocation is performed no copy is performed so existing data will be lost (if data conservation is sought, one may use the Resize method instead).

Reimplemented in Kitware.VTK.vtkStringArray, Kitware.VTK.vtkBitArray, Kitware.VTK.vtkVariantArray, and Kitware.VTK.vtkUnicodeStringArray.

virtual void Kitware.VTK.vtkAbstractArray.SetTuple ( int  i,
int  j,
vtkAbstractArray  source 
) [virtual]

Set the tuple at the ith location using the jth tuple in the source array. This method assumes that the two arrays have the same type and structure. Note that range checking and memory allocation is not performed; use in conjunction with SetNumberOfTuples() to allocate space.

Reimplemented in Kitware.VTK.vtkDataArray, Kitware.VTK.vtkStringArray, Kitware.VTK.vtkBitArray, Kitware.VTK.vtkVariantArray, and Kitware.VTK.vtkUnicodeStringArray.

virtual void Kitware.VTK.vtkAbstractArray.SetVoidArray ( IntPtr  arg0,
int  arg1,
int  arg2 
) [virtual]

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 supplied array.

Reimplemented in Kitware.VTK.vtkBitArray, Kitware.VTK.vtkStringArray, Kitware.VTK.vtkVariantArray, and Kitware.VTK.vtkUnicodeStringArray.

virtual void Kitware.VTK.vtkAbstractArray.Squeeze ( ) [virtual]

Free any unnecessary memory. Resize object to just fit data requirement. Reclaims extra memory.

Reimplemented in Kitware.VTK.vtkBitArray, Kitware.VTK.vtkStringArray, Kitware.VTK.vtkVariantArray, and Kitware.VTK.vtkUnicodeStringArray.

static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_Allocate_01 ( HandleRef  pThis,
int  sz,
int  ext 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_ClearLookup_02 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_CopyComponentNames_03 ( HandleRef  pThis,
HandleRef  da 
) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_CopyInformation_04 ( HandleRef  pThis,
HandleRef  infoFrom,
int  deep 
) [private]
static internal IntPtr Kitware.VTK.vtkAbstractArray.vtkAbstractArray_CreateArray_05 ( int  dataType,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_DataChanged_06 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_DeepCopy_07 ( HandleRef  pThis,
HandleRef  da 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_ExportToVoidPointer_08 ( HandleRef  pThis,
IntPtr  arg0 
) [private]
static internal uint Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetActualMemorySize_10 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetComponentName_11 ( HandleRef  pThis,
int  component 
) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetDataSize_12 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetDataType_13 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetDataTypeAsString_14 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetDataTypeSize_15 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetDataTypeSize_16 ( int  type) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetElementComponentSize_17 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetInformation_18 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetMaxId_19 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetName_20 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetNumberOfComponents_21 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetNumberOfComponentsMaxValue_22 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetNumberOfComponentsMinValue_23 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetNumberOfTuples_24 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetSize_25 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetTuples_26 ( HandleRef  pThis,
HandleRef  ptIds,
HandleRef  output 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetTuples_27 ( HandleRef  pThis,
int  p1,
int  p2,
HandleRef  output 
) [private]
static internal IntPtr Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GetVoidPointer_28 ( HandleRef  pThis,
int  id 
) [private]
static internal IntPtr Kitware.VTK.vtkAbstractArray.vtkAbstractArray_GUI_HIDE_09 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal byte Kitware.VTK.vtkAbstractArray.vtkAbstractArray_HasAComponentName_29 ( HandleRef  pThis) [private]
static internal byte Kitware.VTK.vtkAbstractArray.vtkAbstractArray_HasInformation_30 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_Initialize_31 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_InsertNextTuple_32 ( HandleRef  pThis,
int  j,
HandleRef  source 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_InsertTuple_33 ( HandleRef  pThis,
int  i,
int  j,
HandleRef  source 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_InterpolateTuple_34 ( HandleRef  pThis,
int  i,
HandleRef  ptIndices,
HandleRef  source,
IntPtr  weights 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_InterpolateTuple_35 ( HandleRef  pThis,
int  i,
int  id1,
HandleRef  source1,
int  id2,
HandleRef  source2,
double  t 
) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_IsA_36 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_IsNumeric_37 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_IsTypeOf_38 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkAbstractArray.vtkAbstractArray_NewInstance_39 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkAbstractArray.vtkAbstractArray_NewIterator_40 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_Reset_41 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkAbstractArray.vtkAbstractArray_Resize_42 ( HandleRef  pThis,
int  numTuples 
) [private]
static internal IntPtr Kitware.VTK.vtkAbstractArray.vtkAbstractArray_SafeDownCast_43 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_SetComponentName_44 ( HandleRef  pThis,
int  component,
string  name 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_SetName_45 ( HandleRef  pThis,
string  _arg 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_SetNumberOfComponents_46 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_SetNumberOfTuples_47 ( HandleRef  pThis,
int  number 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_SetTuple_48 ( HandleRef  pThis,
int  i,
int  j,
HandleRef  source 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_SetVoidArray_49 ( HandleRef  pThis,
IntPtr  arg0,
int  arg1,
int  arg2 
) [private]
static internal void Kitware.VTK.vtkAbstractArray.vtkAbstractArray_Squeeze_50 ( HandleRef  pThis) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkAbstractArray.MRClassNameKey = "16vtkAbstractArray" [static]
new const string Kitware.VTK.vtkAbstractArray.MRFullTypeName = "Kitware.VTK.vtkAbstractArray"

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