Crate re_data_loader

Source
Expand description

Handles loading of Rerun data from file using data loader plugins.

Structs§

ArchetypeLoader
Loads data from any supported file or in-memory contents as native re_types::Archetypes.
DataLoaderSettings
Recommended settings for the DataLoader.
DirectoryLoader
Recursively loads entire directories, using the appropriate crate::DataLoader:s for each files within.
ExternalLoader
A crate::DataLoader that forwards the path to load to all executables present in the user’s PATH with a name that starts with EXTERNAL_DATA_LOADER_PREFIX.
LeRobotDatasetLoader
A DataLoader for LeRobot datasets.
RrdLoader
Loads data from any rrd file or in-memory contents.

Enums§

DataLoaderError
Errors that might happen when loading data through a DataLoader.
LoadedData
What DataLoaders load.

Constants§

EXTERNAL_DATA_LOADER_INCOMPATIBLE_EXIT_CODE
When an external crate::DataLoader is asked to load some data that it doesn’t know how to load, it should exit with this exit code.
EXTERNAL_DATA_LOADER_PREFIX
To register a new external data loader, simply add an executable in your $PATH whose name starts with this prefix.
SUPPORTED_IMAGE_EXTENSIONS
SUPPORTED_MESH_EXTENSIONS
SUPPORTED_POINT_CLOUD_EXTENSIONS
SUPPORTED_RERUN_EXTENSIONS
SUPPORTED_TEXT_EXTENSIONS
SUPPORTED_VIDEO_EXTENSIONS
Experimental video support!

Traits§

DataLoader
A DataLoader loads data from a file path and/or a file’s contents.

Functions§

is_supported_file_extension
Is this a supported file extension by any of our builtin DataLoaders?
iter_external_loaders
Iterator over all registered external crate::DataLoaders.
iter_loaders
Iterator over all registered DataLoaders.
load_from_file_contents
Loads the given contents using all crate::DataLoaders available.
load_from_path
Loads the given path using all crate::DataLoaders available.
register_custom_data_loader
Register a custom DataLoader.
supported_extensions
All file extension supported by our builtin DataLoaders.

Type Aliases§

DataLoaderName