|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::IO::save_spatial_snapshot | ( | const std::string & | path_pattern, |
| const std::vector< SpatialCaptureSource > & | sources | ||
| ) |
Open a fresh SpatialCache, write every source once, then close it.
Splices a millisecond timestamp into path_pattern the same way save_mesh_snapshot does, so repeated calls never collide. A single time sample rather than a recording: useful for an ad hoc "what does this look
like right now" export.
Definition at line 218 of file SpatialTransfer.cpp.
References MayaFlux::IO::SpatialCache::close(), MayaFlux::Journal::FileIO, MayaFlux::IO::SpatialCache::get_last_error(), MayaFlux::Journal::IO, MF_ERROR, MayaFlux::IO::SpatialCache::open(), and resolve_sequence_path().
Referenced by MayaFlux::IO::IOManager::save_spatial_snapshot().
Here is the call graph for this function:
Here is the caller graph for this function: