Click or drag to resize
SoLDMResourceParametersTileCachePolicies Enumeration

Tile cache management policy.

Namespace: OIV.LDM.Nodes
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.2.1.0 (10.16.1.0)
Syntax
public enum TileCachePolicies
Members
  Member nameValueDescription
NONE0

For non-tiled data such as DICOM or SEGY or an in-memory volume, tiles are created when needed (to send data to the GPU) and stored in the second level CPU tile cache.

For tiled data that is compressed (e.g. an LDM file created with compression), the compressed tiles are stored in the first level CPU tile cache "as is" to reduce the memory footprint (the first level tile cache contains only compressed data). When a tile must be sent to the GPU, it is uncompressed and the resulting uncompressed tile is stored in the second level CPU tile cache.

This mode saves memory but can reduce interactivity.

LOWRES_ONLY1

For non-tiled data such as DICOM or SEGY or in-memory volume, tiles are created when needed (to send data to the GPU): full resolution tiles are stored in the second level CPU tile cache and all the other created tiles (lower resolution) are stored in the first level CPU tile cache.

For tiled data that is compressed (e.g. an LDM file created with compression), the full resolution tiles are stored *compressed* in the first level CPU tile cache (to reduce the CPU memory footprint) and the other created tiles are stored *uncompressed* in the first level CPU tile cache. When compressed tiles must be sent to the GPU, they are uncompressed and stored in the second level CPU tile cache.

This setting uses more memory but saves time when low resolution tiles need to be sent to the GPU.

ALL2

For non-tiled data such as DICOM or SEGY or in-memory volume, tiles are created when needed (to send data to the GPU) and both low resolution and full resolution tiles are stored in the first level CPU tile cache.

This mode is recommended for non-tiled volumes loaded from disk when the volume will fit in memory (generally true for medical volumes). NOTE: For an in-memory volume, this setting will duplicate the data in memory. For an in-memory volume it is better to use the LOWRES_ONLY or NONE setting.

For tiled data that is compressed (e.g. an LDM file created with compression), both full resolution and low resolution tiles are uncompressed when loaded and stored *uncompressed* in the first level CPU tile cache.

This setting uses the most memory, but saves time when tiles need to be sent to the GPU. It does not use the second level CPU tile cache.

Remarks

This enum is used by the field OIV.LDM.Nodes.SoLDMResourceParameters.tileCachePolicy.

It specifies when and how the tiles are stored in CPU memory.

For non-compressed tiled data, the cache policy has no effect. The tiles are stored as-is in the first level CPU cache during data loading.

See OIV.LDM.SoLDMGlobalResourceParameters for detail on the first and second level CPU tile cache.

See Also