ActiViz .NET
5.8.0
|
============================================================================ The following classes define an LRU cache for data arrays loaded by the Exodus reader. Here's how they work: More...
Public Member Functions | |
vtkExodusIICache (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkExodusIICache () | |
Undocumented Block. | |
void | Clear () |
Empty the cache. | |
double | GetSpaceLeft () |
Set the maximum allowable cache size. This will remove cache entries if the capacity is reduced below the current size. | |
override int | IsA (string type) |
Undocumented Block. | |
new vtkExodusIICache | NewInstance () |
Undocumented Block. | |
int | ReduceToSize (double newSize) |
Set the maximum allowable cache size. This will remove cache entries if the capacity is reduced below the current size. | |
void | SetCacheCapacity (double sizeInMiB) |
Set the maximum allowable cache size. This will remove cache entries if the capacity is reduced below the current size. | |
Static Public Member Functions | |
static new vtkExodusIICache | New () |
Undocumented Block. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkExodusIICache | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkExodusIICache" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "16vtkExodusIICache" |
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 | vtkExodusIICache_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkExodusIICache_Clear_01 (HandleRef pThis) |
static internal double | vtkExodusIICache_GetSpaceLeft_02 (HandleRef pThis) |
static internal int | vtkExodusIICache_IsA_03 (HandleRef pThis, string type) |
static internal int | vtkExodusIICache_IsTypeOf_04 (string type) |
static internal IntPtr | vtkExodusIICache_NewInstance_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkExodusIICache_ReduceToSize_07 (HandleRef pThis, double newSize) |
static internal IntPtr | vtkExodusIICache_SafeDownCast_08 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkExodusIICache_SetCacheCapacity_09 (HandleRef pThis, double sizeInMiB) |
Static Private Member Functions | |
static | vtkExodusIICache () |
Automatically generated type registration mechanics. |
============================================================================ The following classes define an LRU cache for data arrays loaded by the Exodus reader. Here's how they work:
The actual cache consists of two STL containers: a set of cache entries (vtkExodusIICacheEntry) and a list of cache references (vtkExodusIICacheRef). The entries in these containers are sorted for fast retrieval: 1. The cache entries are indexed by the timestep, the object type (edge block, face set, ...), and the object ID (if one exists). When you call Find() to retrieve a cache entry, you provide a key containing this information and the array is returned if it exists. 2. The list of cache references are stored in "least-recently-used" order. The least recently referenced array is the first in the list. Whenever you request an entry with Find(), it is moved to the back of the list if it exists. This makes retrieving arrays O(n log n) and popping LRU entries O(1). Each cache entry stores an iterator into the list of references so that it can be located quickly for removal.
static Kitware.VTK.vtkExodusIICache.vtkExodusIICache | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkExodusIICache.vtkExodusIICache | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Undocumented Block.
void Kitware.VTK.vtkExodusIICache.Clear | ( | ) |
Empty the cache.
override void Kitware.VTK.vtkExodusIICache.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.
double Kitware.VTK.vtkExodusIICache.GetSpaceLeft | ( | ) |
Set the maximum allowable cache size. This will remove cache entries if the capacity is reduced below the current size.
override int Kitware.VTK.vtkExodusIICache.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
static new int Kitware.VTK.vtkExodusIICache.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
static new vtkExodusIICache Kitware.VTK.vtkExodusIICache.New | ( | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
int Kitware.VTK.vtkExodusIICache.ReduceToSize | ( | double | newSize | ) |
Set the maximum allowable cache size. This will remove cache entries if the capacity is reduced below the current size.
static new vtkExodusIICache Kitware.VTK.vtkExodusIICache.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
void Kitware.VTK.vtkExodusIICache.SetCacheCapacity | ( | double | sizeInMiB | ) |
Set the maximum allowable cache size. This will remove cache entries if the capacity is reduced below the current size.
static internal void Kitware.VTK.vtkExodusIICache.vtkExodusIICache_Clear_01 | ( | HandleRef | pThis | ) | [private] |
static internal double Kitware.VTK.vtkExodusIICache.vtkExodusIICache_GetSpaceLeft_02 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkExodusIICache.vtkExodusIICache_IsA_03 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkExodusIICache.vtkExodusIICache_IsTypeOf_04 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkExodusIICache.vtkExodusIICache_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkExodusIICache.vtkExodusIICache_NewInstance_06 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkExodusIICache.vtkExodusIICache_ReduceToSize_07 | ( | HandleRef | pThis, |
double | newSize | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkExodusIICache.vtkExodusIICache_SafeDownCast_08 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkExodusIICache.vtkExodusIICache_SetCacheCapacity_09 | ( | HandleRef | pThis, |
double | sizeInMiB | ||
) | [private] |
new readonly string Kitware.VTK.vtkExodusIICache.MRClassNameKey = "16vtkExodusIICache" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.
new const string Kitware.VTK.vtkExodusIICache.MRFullTypeName = "Kitware.VTK.vtkExodusIICache" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.