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

vtkGenericEdgeTable - keep track of edges (defined by pair of integer id's) More...

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

List of all members.

Public Member Functions

 vtkGenericEdgeTable (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkGenericEdgeTable ()
 Instantiate an empty edge table.
int CheckEdge (int e1, int e2, ref int ptId)
 Method to determine whether an edge is in the table (0 or 1), or not (-1). It returns whether the edge was split (1) or not (0), and the point id exists.
int CheckEdgeReferenceCount (int e1, int e2)
 Return the edge reference count.
int CheckPoint (int ptId)
 Check if a point is already in the point table.
int CheckPoint (int ptId, IntPtr point, IntPtr scalar)
 Check for the existence of a point and return its coordinate value.
void DumpTable ()
 For debugging purposes. It is particularly useful to dump the table and check that nothing is left after a complete iteration. LoadFactor should ideally be very low to be able to have a constant time access.
int GetNumberOfComponents ()
 Return the total number of components for the point-centered attributes.
int IncrementEdgeReferenceCount (int e1, int e2, int cellId)
 Method that increments the referencecount and returns it.
void IncrementPointReferenceCount (int ptId)
 Increment the reference count for the indicated point.
void Initialize (int start)
 To specify the starting point id. It will initialize LastPointId This is very sensitive the start point should be cautiously chosen.
void InsertEdge (int e1, int e2, int cellId, int arg3, ref int ptId)
 Split the edge with the indicated point id.
void InsertEdge (int e1, int e2, int cellId, int arg3)
 Insert an edge but do not split it.
void InsertPoint (int ptId, IntPtr point)
 Insert point associated with an edge.
void InsertPointAndScalar (int ptId, IntPtr pt, IntPtr s)
override int IsA (string type)
 Standard VTK type and print macros.
void LoadFactor ()
 For debugging purposes. It is particularly useful to dump the table and check that nothing is left after a complete iteration. LoadFactor should ideally be very low to be able to have a constant time access.
new vtkGenericEdgeTable NewInstance ()
 Standard VTK type and print macros.
int RemoveEdge (int e1, int e2)
 Method to remove an edge from the table. The method returns the current reference count.
void RemovePoint (int ptId)
 Remove a point from the point table.
void SetNumberOfComponents (int count)
 Set the total number of components for the point-centered attributes.

Static Public Member Functions

static new vtkGenericEdgeTable New ()
 Instantiate an empty edge table.
static new int IsTypeOf (string type)
 Standard VTK type and print macros.
static new vtkGenericEdgeTable SafeDownCast (vtkObjectBase o)
 Standard VTK type and print macros.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "19vtkGenericEdgeTable"
 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 vtkGenericEdgeTable_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkGenericEdgeTable_CheckEdge_01 (HandleRef pThis, int e1, int e2, ref int ptId)
static internal int vtkGenericEdgeTable_CheckEdgeReferenceCount_02 (HandleRef pThis, int e1, int e2)
static internal int vtkGenericEdgeTable_CheckPoint_03 (HandleRef pThis, int ptId)
static internal int vtkGenericEdgeTable_CheckPoint_04 (HandleRef pThis, int ptId, IntPtr point, IntPtr scalar)
static internal void vtkGenericEdgeTable_DumpTable_05 (HandleRef pThis)
static internal int vtkGenericEdgeTable_GetNumberOfComponents_06 (HandleRef pThis)
static internal int vtkGenericEdgeTable_IncrementEdgeReferenceCount_07 (HandleRef pThis, int e1, int e2, int cellId)
static internal void vtkGenericEdgeTable_IncrementPointReferenceCount_08 (HandleRef pThis, int ptId)
static internal void vtkGenericEdgeTable_Initialize_09 (HandleRef pThis, int start)
static internal void vtkGenericEdgeTable_InsertEdge_10 (HandleRef pThis, int e1, int e2, int cellId, int arg3, ref int ptId)
static internal void vtkGenericEdgeTable_InsertEdge_11 (HandleRef pThis, int e1, int e2, int cellId, int arg3)
static internal void vtkGenericEdgeTable_InsertPoint_12 (HandleRef pThis, int ptId, IntPtr point)
static internal void vtkGenericEdgeTable_InsertPointAndScalar_13 (HandleRef pThis, int ptId, IntPtr pt, IntPtr s)
static internal int vtkGenericEdgeTable_IsA_14 (HandleRef pThis, string type)
static internal int vtkGenericEdgeTable_IsTypeOf_15 (string type)
static internal void vtkGenericEdgeTable_LoadFactor_16 (HandleRef pThis)
static internal IntPtr vtkGenericEdgeTable_NewInstance_18 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkGenericEdgeTable_RemoveEdge_19 (HandleRef pThis, int e1, int e2)
static internal void vtkGenericEdgeTable_RemovePoint_20 (HandleRef pThis, int ptId)
static internal IntPtr vtkGenericEdgeTable_SafeDownCast_21 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkGenericEdgeTable_SetNumberOfComponents_22 (HandleRef pThis, int count)

Static Private Member Functions

static vtkGenericEdgeTable ()
 Automatically generated type registration mechanics.

Detailed Description

vtkGenericEdgeTable - keep track of edges (defined by pair of integer id's)

Description vtkGenericEdgeTable is used to indicate the existance of and hold information about edges. Similar to vtkEdgeTable, this class is more sophisticated in that it uses reference counting to keep track of when information about an edge should be deleted.

vtkGenericEdgeTable is a helper class used in the adaptor framework. It is used during the tessellation process to hold information about the error metric on each edge. This avoids recomputing the error metric each time the same edge is visited.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Instantiate an empty edge table.


Member Function Documentation

int Kitware.VTK.vtkGenericEdgeTable.CheckEdge ( int  e1,
int  e2,
ref int  ptId 
)

Method to determine whether an edge is in the table (0 or 1), or not (-1). It returns whether the edge was split (1) or not (0), and the point id exists.

Return the edge reference count.

Check if a point is already in the point table.

int Kitware.VTK.vtkGenericEdgeTable.CheckPoint ( int  ptId,
IntPtr  point,
IntPtr  scalar 
)

Check for the existence of a point and return its coordinate value.

Precondition:
scalar_size: sizeof(scalar)==this->GetNumberOfComponents()
override void Kitware.VTK.vtkGenericEdgeTable.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.

For debugging purposes. It is particularly useful to dump the table and check that nothing is left after a complete iteration. LoadFactor should ideally be very low to be able to have a constant time access.

Return the total number of components for the point-centered attributes.

Postcondition:
positive_result: result>0
int Kitware.VTK.vtkGenericEdgeTable.IncrementEdgeReferenceCount ( int  e1,
int  e2,
int  cellId 
)

Method that increments the referencecount and returns it.

Increment the reference count for the indicated point.

To specify the starting point id. It will initialize LastPointId This is very sensitive the start point should be cautiously chosen.

void Kitware.VTK.vtkGenericEdgeTable.InsertEdge ( int  e1,
int  e2,
int  cellId,
int  arg3,
ref int  ptId 
)

Split the edge with the indicated point id.

void Kitware.VTK.vtkGenericEdgeTable.InsertEdge ( int  e1,
int  e2,
int  cellId,
int  arg3 
)

Insert an edge but do not split it.

void Kitware.VTK.vtkGenericEdgeTable.InsertPoint ( int  ptId,
IntPtr  point 
)

Insert point associated with an edge.

void Kitware.VTK.vtkGenericEdgeTable.InsertPointAndScalar ( int  ptId,
IntPtr  pt,
IntPtr  s 
)
Precondition:
: sizeof(s)==GetNumberOfComponents()
override int Kitware.VTK.vtkGenericEdgeTable.IsA ( string  type) [virtual]

Standard VTK type and print macros.

Reimplemented from Kitware.VTK.vtkObject.

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

Standard VTK type and print macros.

Reimplemented from Kitware.VTK.vtkObject.

For debugging purposes. It is particularly useful to dump the table and check that nothing is left after a complete iteration. LoadFactor should ideally be very low to be able to have a constant time access.

Instantiate an empty edge table.

Reimplemented from Kitware.VTK.vtkObject.

Standard VTK type and print macros.

Reimplemented from Kitware.VTK.vtkObject.

int Kitware.VTK.vtkGenericEdgeTable.RemoveEdge ( int  e1,
int  e2 
)

Method to remove an edge from the table. The method returns the current reference count.

Remove a point from the point table.

Standard VTK type and print macros.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

Set the total number of components for the point-centered attributes.

Precondition:
positive_count: count>0
static internal int Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_CheckEdge_01 ( HandleRef  pThis,
int  e1,
int  e2,
ref int  ptId 
) [private]
static internal int Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_CheckEdgeReferenceCount_02 ( HandleRef  pThis,
int  e1,
int  e2 
) [private]
static internal int Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_CheckPoint_03 ( HandleRef  pThis,
int  ptId 
) [private]
static internal int Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_CheckPoint_04 ( HandleRef  pThis,
int  ptId,
IntPtr  point,
IntPtr  scalar 
) [private]
static internal void Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_DumpTable_05 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_GetNumberOfComponents_06 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_IncrementEdgeReferenceCount_07 ( HandleRef  pThis,
int  e1,
int  e2,
int  cellId 
) [private]
static internal void Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_IncrementPointReferenceCount_08 ( HandleRef  pThis,
int  ptId 
) [private]
static internal void Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_Initialize_09 ( HandleRef  pThis,
int  start 
) [private]
static internal void Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_InsertEdge_10 ( HandleRef  pThis,
int  e1,
int  e2,
int  cellId,
int  arg3,
ref int  ptId 
) [private]
static internal void Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_InsertEdge_11 ( HandleRef  pThis,
int  e1,
int  e2,
int  cellId,
int  arg3 
) [private]
static internal void Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_InsertPoint_12 ( HandleRef  pThis,
int  ptId,
IntPtr  point 
) [private]
static internal void Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_InsertPointAndScalar_13 ( HandleRef  pThis,
int  ptId,
IntPtr  pt,
IntPtr  s 
) [private]
static internal int Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_IsA_14 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_IsTypeOf_15 ( string  type) [private]
static internal void Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_LoadFactor_16 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_NewInstance_18 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_RemoveEdge_19 ( HandleRef  pThis,
int  e1,
int  e2 
) [private]
static internal void Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_RemovePoint_20 ( HandleRef  pThis,
int  ptId 
) [private]
static internal IntPtr Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_SafeDownCast_21 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkGenericEdgeTable.vtkGenericEdgeTable_SetNumberOfComponents_22 ( HandleRef  pThis,
int  count 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkGenericEdgeTable.MRClassNameKey = "19vtkGenericEdgeTable" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


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