public static enum SoLDMResourceParameters.TileCachePolicies extends java.lang.Enum<SoLDMResourceParameters.TileCachePolicies> implements IntegerValuedEnum
For tiled data that is not compressed (e.g. a standard LDM format file), the TileCacheType setting has no effect and only the CPU tile cache is used.
Setting the SoPreferences
variable LDM_USE_IN_MEM_COMPRESSION to false (zero) effectively sets the tile cache type to mode ALL.
Enum Constant and Description |
---|
ALL
For non-tiled data like DICOM or SEGY or in-memory volume, tiles are created when needed (to send data to the GPU) and all tiles (both low resolution and full resolution) are stored in the CPU tile cache.
|
LOWRES_ONLY
For non-tiled data like DICOM or SEGY or in-memory volume, tiles are created when needed (to send data to the GPU), but low resolution tiles are stored in the CPU tile cache and full resolution tiles are stored in the BufferObject cache.
|
NONE
For non-tiled data like DICOM or SEGY or an in-memory volume, tiles are created when needed (to send data to the GPU) and all tiles (both low resolution and full resolution) are stored in the BufferObject cache.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoLDMResourceParameters.TileCachePolicies |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoLDMResourceParameters.TileCachePolicies |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoLDMResourceParameters.TileCachePolicies[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoLDMResourceParameters.TileCachePolicies NONE
For tiled data that is compressed (e.g. an LDM file created with compression), the compressed tiles are stored in the CPU tile cache "as is" to reduce the memory requirement. Uncompressed tiles are created from the compressed data when needed (to send data to the GPU) and are stored in the BufferObject cache.
This mode saves memory but can reduce interactivity.
public static final SoLDMResourceParameters.TileCachePolicies LOWRES_ONLY
This setting uses more memory but saves time when low resolution tiles need to be sent to the GPU.
public static final SoLDMResourceParameters.TileCachePolicies ALL
For tiled data that is compressed (e.g. an LDM file created with compression), all tiles are uncompressed when loaded and stored uncompressed in the CPU tile cache.
This setting uses the most memory, but saves time when tiles need to be sent to the GPU. The BufferObject cache is not used.
public static SoLDMResourceParameters.TileCachePolicies[] values()
for (SoLDMResourceParameters.TileCachePolicies c : SoLDMResourceParameters.TileCachePolicies.values()) System.out.println(c);
public static SoLDMResourceParameters.TileCachePolicies valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SoLDMResourceParameters.TileCachePolicies valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com