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

vtkCellTypes - object provides direct access to cells in vtkCellArray and type information More...

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

List of all members.

Public Member Functions

 vtkCellTypes (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkCellTypes ()
 Undocumented Block.
int Allocate (int sz, int ext)
 Allocate memory for this array. Delete old storage only if necessary.
void DeepCopy (vtkCellTypes src)
 Standard DeepCopy method. Since this object contains no reference to other objects, there is no ShallowCopy.
void DeleteCell (int cellId)
 Delete cell by setting to NULL cell type.
uint GetActualMemorySize ()
 Return the memory in kilobytes consumed by this cell type 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.
int GetCellLocation (int cellId)
 Return the location of the cell in the associated vtkCellArray.
byte GetCellType (int cellId)
 Return the type of cell.
int GetNumberOfTypes ()
 Return the number of types in the list.
void InsertCell (int id, byte type, int loc)
 Add a cell at specified id.
int InsertNextCell (byte type, int loc)
 Add a cell to the object in the next available slot.
int InsertNextType (byte type)
 Add the type specified to the end of the list. Range checking is performed.
override int IsA (string type)
 Undocumented Block.
int IsType (byte type)
new vtkCellTypes NewInstance ()
 Undocumented Block.
void Reset ()
 Initialize object without releasing memory.
void SetCellTypes (int ncells, vtkUnsignedCharArray cellTypes, vtkIntArray cellLocations)
 Specify a group of cell types.
void Squeeze ()
 Reclaim any extra memory.

Static Public Member Functions

static new vtkCellTypes New ()
 Undocumented Block.
static string GetClassNameFromTypeId (int typeId)
 Given an int (as defined in vtkCellType.h) identifier for a class return it's classname.
static int GetTypeIdFromClassName (string classname)
 Given a data object classname, return it's int identified (as defined in vtkCellType.h)
static int IsLinear (byte type)
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkCellTypes SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "12vtkCellTypes"
 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 vtkCellTypes_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkCellTypes_Allocate_01 (HandleRef pThis, int sz, int ext)
static internal void vtkCellTypes_DeepCopy_02 (HandleRef pThis, HandleRef src)
static internal void vtkCellTypes_DeleteCell_03 (HandleRef pThis, int cellId)
static internal uint vtkCellTypes_GetActualMemorySize_04 (HandleRef pThis)
static internal int vtkCellTypes_GetCellLocation_05 (HandleRef pThis, int cellId)
static internal byte vtkCellTypes_GetCellType_06 (HandleRef pThis, int cellId)
static internal IntPtr vtkCellTypes_GetClassNameFromTypeId_07 (int typeId)
static internal int vtkCellTypes_GetNumberOfTypes_08 (HandleRef pThis)
static internal int vtkCellTypes_GetTypeIdFromClassName_09 (string classname)
static internal void vtkCellTypes_InsertCell_10 (HandleRef pThis, int id, byte type, int loc)
static internal int vtkCellTypes_InsertNextCell_11 (HandleRef pThis, byte type, int loc)
static internal int vtkCellTypes_InsertNextType_12 (HandleRef pThis, byte type)
static internal int vtkCellTypes_IsA_13 (HandleRef pThis, string type)
static internal int vtkCellTypes_IsLinear_14 (byte type)
static internal int vtkCellTypes_IsType_15 (HandleRef pThis, byte type)
static internal int vtkCellTypes_IsTypeOf_16 (string type)
static internal IntPtr vtkCellTypes_NewInstance_18 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkCellTypes_Reset_19 (HandleRef pThis)
static internal IntPtr vtkCellTypes_SafeDownCast_20 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkCellTypes_SetCellTypes_21 (HandleRef pThis, int ncells, HandleRef cellTypes, HandleRef cellLocations)
static internal void vtkCellTypes_Squeeze_22 (HandleRef pThis)

Static Private Member Functions

static vtkCellTypes ()
 Automatically generated type registration mechanics.

Detailed Description

vtkCellTypes - object provides direct access to cells in vtkCellArray and type information

Description This class is a supplemental object to vtkCellArray to allow random access into cells as well as representing cell type information. The "location" field is the location in the vtkCellArray list in terms of an integer offset. An integer offset was used instead of a pointer for easy storage and inter-process communication. The type information is defined in the file vtkCellType.h.

Caveats Sometimes this class is used to pass type information independent of the random access (i.e., location) information. For example, see vtkDataSet::GetCellTypes(). If you use the class in this way, you can use a location value of -1.

vtkCellArray vtkCellLinks


Constructor & Destructor Documentation

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

Automatically generated type registration mechanics.

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

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

Undocumented Block.


Member Function Documentation

int Kitware.VTK.vtkCellTypes.Allocate ( int  sz,
int  ext 
)

Allocate memory for this array. Delete old storage only if necessary.

Standard DeepCopy method. Since this object contains no reference to other objects, there is no ShallowCopy.

Delete cell by setting to NULL cell type.

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

Return the memory in kilobytes consumed by this cell type 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.

Return the location of the cell in the associated vtkCellArray.

Return the type of cell.

static string Kitware.VTK.vtkCellTypes.GetClassNameFromTypeId ( int  typeId) [static]

Given an int (as defined in vtkCellType.h) identifier for a class return it's classname.

Return the number of types in the list.

static int Kitware.VTK.vtkCellTypes.GetTypeIdFromClassName ( string  classname) [static]

Given a data object classname, return it's int identified (as defined in vtkCellType.h)

void Kitware.VTK.vtkCellTypes.InsertCell ( int  id,
byte  type,
int  loc 
)

Add a cell at specified id.

int Kitware.VTK.vtkCellTypes.InsertNextCell ( byte  type,
int  loc 
)

Add a cell to the object in the next available slot.

Add the type specified to the end of the list. Range checking is performed.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

static int Kitware.VTK.vtkCellTypes.IsLinear ( byte  type) [static]

-----------------------------------------------------------------------------

int Kitware.VTK.vtkCellTypes.IsType ( byte  type)

----------------------------------------------------------------------------

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

static new vtkCellTypes Kitware.VTK.vtkCellTypes.New ( ) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Initialize object without releasing memory.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

void Kitware.VTK.vtkCellTypes.SetCellTypes ( int  ncells,
vtkUnsignedCharArray  cellTypes,
vtkIntArray  cellLocations 
)

Specify a group of cell types.

Reclaim any extra memory.

static internal int Kitware.VTK.vtkCellTypes.vtkCellTypes_Allocate_01 ( HandleRef  pThis,
int  sz,
int  ext 
) [private]
static internal void Kitware.VTK.vtkCellTypes.vtkCellTypes_DeepCopy_02 ( HandleRef  pThis,
HandleRef  src 
) [private]
static internal void Kitware.VTK.vtkCellTypes.vtkCellTypes_DeleteCell_03 ( HandleRef  pThis,
int  cellId 
) [private]
static internal uint Kitware.VTK.vtkCellTypes.vtkCellTypes_GetActualMemorySize_04 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkCellTypes.vtkCellTypes_GetCellLocation_05 ( HandleRef  pThis,
int  cellId 
) [private]
static internal byte Kitware.VTK.vtkCellTypes.vtkCellTypes_GetCellType_06 ( HandleRef  pThis,
int  cellId 
) [private]
static internal IntPtr Kitware.VTK.vtkCellTypes.vtkCellTypes_GetClassNameFromTypeId_07 ( int  typeId) [private]
static internal int Kitware.VTK.vtkCellTypes.vtkCellTypes_GetNumberOfTypes_08 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkCellTypes.vtkCellTypes_GetTypeIdFromClassName_09 ( string  classname) [private]
static internal void Kitware.VTK.vtkCellTypes.vtkCellTypes_InsertCell_10 ( HandleRef  pThis,
int  id,
byte  type,
int  loc 
) [private]
static internal int Kitware.VTK.vtkCellTypes.vtkCellTypes_InsertNextCell_11 ( HandleRef  pThis,
byte  type,
int  loc 
) [private]
static internal int Kitware.VTK.vtkCellTypes.vtkCellTypes_InsertNextType_12 ( HandleRef  pThis,
byte  type 
) [private]
static internal int Kitware.VTK.vtkCellTypes.vtkCellTypes_IsA_13 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkCellTypes.vtkCellTypes_IsLinear_14 ( byte  type) [private]
static internal int Kitware.VTK.vtkCellTypes.vtkCellTypes_IsType_15 ( HandleRef  pThis,
byte  type 
) [private]
static internal int Kitware.VTK.vtkCellTypes.vtkCellTypes_IsTypeOf_16 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkCellTypes.vtkCellTypes_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCellTypes.vtkCellTypes_NewInstance_18 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkCellTypes.vtkCellTypes_Reset_19 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkCellTypes.vtkCellTypes_SafeDownCast_20 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkCellTypes.vtkCellTypes_SetCellTypes_21 ( HandleRef  pThis,
int  ncells,
HandleRef  cellTypes,
HandleRef  cellLocations 
) [private]
static internal void Kitware.VTK.vtkCellTypes.vtkCellTypes_Squeeze_22 ( HandleRef  pThis) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkCellTypes.MRClassNameKey = "12vtkCellTypes" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


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