Class vxlLookupTableManager

Manages the lookup tables

Constructor

vxlLookupTableManager()
Manages the lookup table files. The constructor will try to load all the lookup tables defined in vxl.def.luts at once.

Methods

.allLoaded()
Checks if all the lookup tables have been loaded
.get(ID)
Retrieves a lookup table

Parameters:

Type Name Description
String ID

id of the lookup table to retrieve

Array .getAllLoaded()
Returns a list with the names of all of the lookup tables that have been loaded.

Returns:

{Array} an array with the names of the lookup tables that have been loaded
.isLoaded(ID)
Check if a lookup table has been loaded by this lookup table manager

Parameters:

Type Name Description
String ID

the id of the table to check

.load(name)
Load a lookup table file

Parameters:

Type Name Description
String name

the filename of the lookup table to load

.loadAll()
Loads all the lookup tables defined in vxl.def.luts
.setLocation(loc)
Relative path to the webpage where lookup tables can be located.

Parameters:

Type Name Description
String loc