new ModelsLoader() → {PJP.ModelsLoader}
Provides utilities function for files IO, this is used primarily by
PJP.BodyViewer.
- Source:
Returns:
- Type
- PJP.ModelsLoader
Methods
addSystemMetaIsReadyCallback()
Call the provided function which will be triggered when the system meta is ready.
- Source:
getBodyDirectoryPrefix() → {string}
Provide prefix for all the data URLs.
- Source:
Returns:
- Type
- string
getOrgansDirectoryPrefix() → {string}
Provide prefix for all the model URLs.
- Source:
Returns:
- Type
- string
getSystemMeta(speciesName) → {PJP.ModelsLoader~systemMeta}
Provide meta for available data with the provided species name.
Parameters:
Name | Type | Description |
---|---|---|
speciesName |
string |
- Source:
Returns:
- Type
- PJP.ModelsLoader~systemMeta