|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API bool MayaFlux::save_volume | ( | const std::shared_ptr< Buffers::VolumeGridBuffer > & | volume, |
| const std::string & | suggested_name = "output.vdb" |
||
| ) |
Present a native save-file dialog filtered to volume formats and save volume to the chosen path via IOManager::save_volume().
Blocks until the user confirms or cancels. The download and encode task are queued asynchronously; this function returns once the path is chosen and the task is enqueued. Returns false on cancellation, backend error, or if Portal::System is not initialized.
| volume | Source VolumeGridBuffer to download and encode. |
| suggested_name | Filename pre-filled in the dialog name field. |
Definition at line 346 of file Depot.cpp.
References MayaFlux::Journal::API, get_io_manager(), MF_ERROR, and MayaFlux::Journal::Runtime.
Here is the call graph for this function: